代码拉取完成,页面将自动刷新
期待分词为: iphone4s or iphone / 4s。
有个疑问,这样的分词结果是怎么产生的呢?
部分配置如下,
# Jcseg function
#maximum match length. (5-7)
jcseg.maxlen=5
#recognized the chinese name.(1 to open and 0 to close it)
jcseg.icnname=1
#maximum chinese word number of english chinese mixed word.
jcseg.mixcnlen=2
#maximum length for pair punctuation text.
jcseg.pptmaxlen=15
#maximum length for chinese last name andron.
jcseg.cnmaxlnadron=1
#Wether to clear the stopwords.(set 1 to clear stopwords and 0 to close it)
jcseg.clearstopword=0
#Wether to convert the chinese numeric to arabic number. (set to 1 open it and 0 to close it)
# like '\u4E09\u4E07' to 30000.
jcseg.cnnumtoarabic=0
#Wether to convert the chinese fraction to arabic fraction.
jcseg.cnfratoarabic=0
#Wether to keep the unrecognized word. (set 1 to keep unrecognized word and 0 to clear it)
jcseg.keepunregword=1
#Wether to start the secondary segmentation for the complex english words.
jcseg.ensencondseg = 1
#min length of the secondary simple token. (better larger than 1)
jcseg.stokenminlen = 2
#thrshold for chinese name recognize.
# better not change it before you know what you are doing.
jcseg.nsthreshold=1000000
#The punctuations that will be keep in an token.(Not the end of the token).
jcseg.keeppunctuations=@%.&+