Skip to content

Commit

Permalink
增加词性展示与否的配置选项 优化CRF分词 微调词典
Browse files Browse the repository at this point in the history
  • Loading branch information
hankcs committed Apr 15, 2015
1 parent 90480d8 commit bc9ac9f
Show file tree
Hide file tree
Showing 12 changed files with 97 additions and 47 deletions.
3 changes: 1 addition & 2 deletions data/dictionary/CoreNatureDictionary.ngram.txt
14 changes: 2 additions & 12 deletions data/dictionary/custom/CustomDictionary.txt
11 changes: 0 additions & 11 deletions data/dictionary/custom/全国地名大全.txt
2 changes: 2 additions & 0 deletions data/dictionary/person/nr.txt
5 changes: 5 additions & 0 deletions src/main/java/com/hankcs/hanlp/HanLP.java
20 changes: 7 additions & 13 deletions src/main/java/com/hankcs/hanlp/seg/CRF/CRFSegment.java
5 changes: 4 additions & 1 deletion src/main/java/com/hankcs/hanlp/seg/common/Term.java
2 changes: 1 addition & 1 deletion src/main/java/com/hankcs/hanlp/utility/Predefine.java
4 changes: 3 additions & 1 deletion src/test/java/com/hankcs/demo/DemoCRFSegment.java
70 changes: 68 additions & 2 deletions src/test/java/com/hankcs/test/model/TestCRF.java
4 changes: 2 additions & 2 deletions src/test/java/com/hankcs/test/seg/TestSegment.java

0 comments on commit bc9ac9f

Please sign in to comment.