Skip to content

v1.2.2并行化分词

Compare
Choose a tag to compare
@hankcs hankcs released this 11 May 06:11
· 1541 commits to master since this release

1.分词器全面支持并行化分词:

segment.enableMultithreading(true); // 或者 segment.enableMultithreading(4);

2.修复JDK7下TextRankKeyword可能触发的issue #11
3.数据包小幅调整,修复了CRF标点黏着的问题:data-for-1.2.2.zip
4.Portable同步升级到v1.2.2,Maven:

        <dependency>
            <groupId>com.hankcs</groupId>
            <artifactId>hanlp</artifactId>
            <version>portable-1.2.2</version>
        </dependency>