pyhanlp如何使用其他方式分词

@hankcs,hanlp支持5种分词方式(最短路分词、N-最短路分词、感知机分词、CRF分词、极速词典分词)
而在pyhanlp的例子中,只有HanLP.segment(text)这一个例子,如何使用pyhanlp使用上述5种分词方式呢?

from pyhanlp import *
HanLP.Config.enableDebug(True)
CRFSegmenter = JClass('com.hankcs.hanlp.model.crf.CRFSegmenter')
segmenter = CRFSegmenter()
tokens = segmenter.segment("贵州省六盘水市钟山区")
print(tokens)
>> [贵州省, 六盘水市, 钟山区]

建议熟读readme

There are examples at web sites.

如何用python自定义分词呢,比如我想以空格作为分词标准