Class

com.salesforce.op.utils.text

LuceneRegexTextAnalyzer

Related Doc: package text

Permalink

class LuceneRegexTextAnalyzer extends LuceneTextAnalyzer

Text analyzer implementation using a Lucene analyzer with Pattern Tokenizer matching

Linear Supertypes
LuceneTextAnalyzer, TextAnalyzer, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LuceneRegexTextAnalyzer
  2. LuceneTextAnalyzer
  3. TextAnalyzer
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LuceneRegexTextAnalyzer(pattern: String, group: Int = 1)

    Permalink

    pattern

    is the regular expression

    group

    selects the matching group as the token (default: -1, which is equivalent to "split".

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def analyze(s: String, language: Language): Seq[String]

    Permalink

    Analyze a text and produce tokens

    Analyze a text and produce tokens

    s

    input text

    language

    assumed text language

    returns

    sequence of tokens

    Definition Classes
    LuceneTextAnalyzerTextAnalyzer
  5. def analyzers(lang: Language): Analyzer

    Permalink

    Lucene analyzer factory to use (defaults to LuceneTextAnalyzer)

    Lucene analyzer factory to use (defaults to LuceneTextAnalyzer)

    lang

    desired language

    returns

    language specific language analyzer

    Definition Classes
    LuceneRegexTextAnalyzerLuceneTextAnalyzer
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. val group: Int

    Permalink

    selects the matching group as the token (default: -1, which is equivalent to "split".

  13. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. val pattern: String

    Permalink

    is the regular expression

  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LuceneTextAnalyzer

Inherited from TextAnalyzer

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped