Class KeywordsExtractor

    • Field Detail

      • seg

        protected ISegment seg
        the ISegment object
    • Constructor Detail

      • KeywordsExtractor

        public KeywordsExtractor​(ISegment seg)
        construct method
        Parameters:
        seg -
    • Method Detail

      • filter

        protected boolean filter​(IWord word)
        word item filter
        Parameters:
        word -
      • getKeywordsFromString

        public List<String> getKeywordsFromString​(String doc)
                                           throws IOException
        get the keywords list from a string
        Parameters:
        doc -
        Returns:
        List[]
        Throws:
        IOException
      • setSeg

        public void setSeg​(ISegment seg)