final class AnalyzerBuilder extends AnyRef
Build an Analyzer or tokenizer function
- Self Type
- AnalyzerBuilder
- Source
- AnalyzerBuilder.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AnalyzerBuilder
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def build[F[_]](implicit F: Sync[F]): Resource[F, Analyzer]
Build the Analyzer wrapped inside a Resource.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val foldASCII: Boolean
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lowerCase: Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val stemmer: Boolean
- val stopWords: Set[String]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def tokenizer[F[_]](implicit F: Sync[F]): Resource[F, (String) => F[Vector[String]]]
Directly construct a tokenizing function
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withASCIIFolding: AnalyzerBuilder
Adds an ASCII folding stage to the analyzer pipeline ASCII folding converts alphanumeric and symbolic Unicode characters into their ASCII equivalents, if one exists.
- def withLowerCasing: AnalyzerBuilder
Adds a lowercasing stage to the analyzer pipeline
- def withPorterStemmer: AnalyzerBuilder
Adds the Porter Stemmer to the end of the analyzer pipeline and enables lowercasing.
Adds the Porter Stemmer to the end of the analyzer pipeline and enables lowercasing. Stemming reduces words like
jumping
andjumps
to their root wordjump
. NOTE: Lowercasing is forced as it is required for the Lucene PorterStemFilter. - def withStopWords(words: Set[String]): AnalyzerBuilder
Adds a stop filter stage to analyzer pipeline for non-empty sets.