class Segment extends AbstractTextMatch<TokenType> {

    Segment(String name, SegmentFilter segmentFilter, AbstractTextMatch<TokenType> asciiAnalyzer,
            CjkAnalyzer cjkAnalyzer, NumQuantifierMerge numQuantifierMerge) {
        this.name = name;
        this.segmentFilter = segmentFilter;
        this.asciiAnalyzer = asciiAnalyzer;
        this.cjkAnalyzer = cjkAnalyzer;
        this.numQuantifierMerge = numQuantifierMerge;
    }

      Segment(String name, SegmentFilter segmentFilter, AbstractTextMatch<TokenType> asciiAnalyzer,
            CjkAnalyzer cjkAnalyzer, NumQuantifierMerge numQuantifierMerge);

}