Skip to content

Commit

Permalink
调整默认参数hankcs#183
Browse files Browse the repository at this point in the history
  • Loading branch information
hankcs committed Apr 11, 2016
1 parent fbf8309 commit ea4cb0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public class PersonDictionary
*/
public static AhoCorasickDoubleArrayTrie<NRPattern> trie;

public static final CoreDictionary.Attribute ATTRIBUTE = new CoreDictionary.Attribute(Nature.nr, 1);
public static final CoreDictionary.Attribute ATTRIBUTE = new CoreDictionary.Attribute(Nature.nr, 100);

static
{
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/hankcs/test/seg/TestSegment.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public void testSeg() throws Exception
HanLP.Config.enableDebug();
Segment segment = new DijkstraSegment();
System.out.println(segment.seg(
"我个人认为三个人的力量大于1个人,所以个人应该服从集体"
"张三是我哥哥"
));
}

Expand Down

0 comments on commit ea4cb0f

Please sign in to comment.