Class CollectionStopwords

  • All Implemented Interfaces:
    io.annot8.api.components.Annot8Component, io.annot8.api.components.Resource, Stopwords, AutoCloseable

    public class CollectionStopwords
    extends Object
    implements Stopwords
    • Constructor Detail

    • Method Detail

      • getLanguage

        public String getLanguage()
        Description copied from interface: Stopwords
        Return the language for this resource, e.g. en
        Specified by:
        getLanguage in interface Stopwords
      • isStopword

        public boolean isStopword​(String word)
        Description copied from interface: Stopwords
        Returns true if a word is a stopword, or false otherwise
        Specified by:
        isStopword in interface Stopwords