Class FieldFragList

    • Constructor Detail

      • FieldFragList

        public FieldFragList(int fragCharSize)
        a constructor.
        fragCharSize - the length (number of chars) of a fragment
    • Method Detail

      • add

        public abstract void add(int startOffset,
                                 int endOffset,
                                 List<FieldPhraseList.WeightedPhraseInfo> phraseInfoList)
        convert the list of WeightedPhraseInfo to WeightedFragInfo, then add it to the fragInfos
        startOffset - start offset of the fragment
        endOffset - end offset of the fragment
        phraseInfoList - list of WeightedPhraseInfo objects