chalk.text.transform

StopWordFilter

case class StopWordFilter(language: String) extends Transformer with Product with Serializable

Filter that removes stop words. Use the two letter code. "en" or "fr" Syntax: words.filter(new RemoveStopwords)

Linear Supertypes
Product, Equals, Transformer, Serializable, Serializable, (Iterable[String]) ⇒ Iterable[String], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StopWordFilter
  2. Product
  3. Equals
  4. Transformer
  5. Serializable
  6. Serializable
  7. Function1
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StopWordFilter()

    Defaults to Default Locale's language.

  2. new StopWordFilter(locale: Locale)

    Defaults to locale's language.

  3. new StopWordFilter(language: String)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def andThen[A](g: (Iterable[String]) ⇒ A): (Iterable[String]) ⇒ A

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  7. def apply(s: String): Boolean

  8. def apply(doc: Iterable[String]): Iterable[String]

    Definition Classes
    StopWordFilter → Function1
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def compose[A](g: (A) ⇒ Iterable[String]): (A) ⇒ Iterable[String]

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. val language: String

  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

    Definition Classes
    Transformer → Function1 → AnyRef → Any
  22. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. val words: Set[String]

Inherited from Product

Inherited from Equals

Inherited from Transformer

Inherited from Serializable

Inherited from Serializable

Inherited from (Iterable[String]) ⇒ Iterable[String]

Inherited from AnyRef

Inherited from Any

Ungrouped