Class StopwordsIso
- java.lang.Object
-
- io.annot8.components.stopwords.resources.StopwordsIso
-
- All Implemented Interfaces:
io.annot8.api.components.Annot8Component,io.annot8.api.components.Resource,Stopwords,AutoCloseable
public class StopwordsIso extends Object implements Stopwords
-
-
Field Summary
Fields Modifier and Type Field Description static List<String>SUPPORTED_LANGUAGES
-
Constructor Summary
Constructors Constructor Description StopwordsIso()StopwordsIso(String language)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLanguage()Return the language for this resource, e.g.booleanisStopword(String word)Returns true if a word is a stopword, or false otherwise
-
-
-
Constructor Detail
-
StopwordsIso
public StopwordsIso()
-
StopwordsIso
public StopwordsIso(String language)
-
-
Method Detail
-
getLanguage
public String getLanguage()
Description copied from interface:StopwordsReturn the language for this resource, e.g. en- Specified by:
getLanguagein interfaceStopwords
-
isStopword
public boolean isStopword(String word)
Description copied from interface:StopwordsReturns true if a word is a stopword, or false otherwise- Specified by:
isStopwordin interfaceStopwords
-
-