Class FieldPhraseList


  • public class FieldPhraseList
    extends java.lang.Object
    FieldPhraseList has a list of WeightedPhraseInfo that is used by FragListBuilder to create a FieldFragList object.
    • Constructor Detail

      • FieldPhraseList

        public FieldPhraseList​(FieldTermStack fieldTermStack,
                               FieldQuery fieldQuery)
        create a FieldPhraseList that has no limit on the number of phrases to analyze
        Parameters:
        fieldTermStack - FieldTermStack object
        fieldQuery - FieldQuery object
      • FieldPhraseList

        public FieldPhraseList​(FieldTermStack fieldTermStack,
                               FieldQuery fieldQuery,
                               int phraseLimit)
        a constructor.
        Parameters:
        fieldTermStack - FieldTermStack object
        fieldQuery - FieldQuery object
        phraseLimit - maximum size of phraseList
      • FieldPhraseList

        public FieldPhraseList​(FieldPhraseList[] toMerge)
        Merging constructor.
        Parameters:
        toMerge - FieldPhraseLists to merge to build this one