Class

com.johnsnowlabs.nlp.annotators.ner.crf

FeatureGenerator

Related Doc: package crf

Permalink

case class FeatureGenerator(dictFeatures: DictionaryFeatures) extends Product with Serializable

Generates features for CrfBasedNer

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

Instance Constructors

  1. new FeatureGenerator(dictFeatures: DictionaryFeatures)

    Permalink

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. object TokenType extends Enumeration

    Permalink
  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def containsDigit(token: String): Boolean

    Permalink
  8. def containsLetter(token: String): Boolean

    Permalink
  9. def containsLower(token: String): Boolean

    Permalink
  10. def containsSymbol(token: String): Boolean

    Permalink
  11. def containsUpper(token: String): Boolean

    Permalink
  12. val dictFeatures: DictionaryFeatures

    Permalink
  13. val digitDelims: Seq[Char]

    Permalink
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def fillFeatures(token: String): Map[String, String]

    Permalink
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def generate(sentence: TaggedSentence, withEmbeddings: WordpieceEmbeddingsSentence, metadata: DatasetMetadata): Instance

    Permalink
  18. def generate(taggedSentence: TaggedSentence, wordpieceEmbeddingsSentence: WordpieceEmbeddingsSentence): TextSentenceAttrs

    Permalink
  19. def generateDataset(sentences: TraversableOnce[(TextSentenceLabels, TaggedSentence, WordpieceEmbeddingsSentence)]): CrfDataset

    Permalink
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def getName(source: String, idx1: Int, idx2: Int): String

    Permalink
  22. def getName(source: String, idx: Int): String

    Permalink
  23. def getPrefix(token: String, size: Int, default: String = ""): String

    Permalink
  24. def getShape(token: String): String

    Permalink
  25. def getSuffix(token: String, size: Int, default: String = ""): String

    Permalink
  26. def getType(token: String): Int

    Permalink
  27. def isAllSymbols(token: String): Boolean

    Permalink
  28. def isDigitOrPredicate(token: String, predicate: Function[Char, Boolean]): Boolean

    Permalink
  29. def isInRange(idx: Int, size: Int): Boolean

    Permalink
  30. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  31. def isShort(token: String): Boolean

    Permalink
  32. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  35. val pairs: Array[String]

    Permalink
  36. val shapeEncoding: Map[Char, Char]

    Permalink
  37. def shrink(str: String): String

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

    Permalink
    Definition Classes
    AnyRef
  39. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. val window: Int

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped