object StopWordsRemover extends DefaultParamsReadable[StopWordsRemover] with Serializable
- Annotations
- @Since( "1.6.0" )
- Source
- StopWordsRemover.scala
- Alphabetic
- By Inheritance
- StopWordsRemover
- Serializable
- Serializable
- DefaultParamsReadable
- MLReadable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
load(path: String): StopWordsRemover
Reads an ML instance from the input path, a shortcut of
read.load(path)
.Reads an ML instance from the input path, a shortcut of
read.load(path)
.- Definition Classes
- StopWordsRemover → MLReadable
- Annotations
- @Since( "1.6.0" )
- Note
Implementing classes should override this to be Java-friendly.
-
def
loadDefaultStopWords(language: String): Array[String]
Loads the default stop words for the given language.
Loads the default stop words for the given language. Supported languages: danish, dutch, english, finnish, french, german, hungarian, italian, norwegian, portuguese, russian, spanish, swedish, turkish
- Annotations
- @Since( "2.0.0" )
- See also
-
def
read: MLReader[StopWordsRemover]
Returns an
MLReader
instance for this class.Returns an
MLReader
instance for this class.- Definition Classes
- DefaultParamsReadable → MLReadable