public void seg(String text){
        segmentation.seg(text).parallelStream().forEach(word -> {
            //停用词过滤
            if(isRemoveStopWord() && StopWord.is(word.getText())){
                return;
            }
            statistics(word, 1, statisticsMap);
        });
    }
public void seg ( String text ) { segmentation . seg ( text ) . parallelStream ( ) . forEach ( word -> { if ( isRemoveStopWord ( ) && StopWord . is ( word . getText ( ) ) ) { return ; } statistics ( word , 1 , statisticsMap ) ; } ) ; }
对文本进行分词
@param text 文本