Packages

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

Generates features for CrfBasedNer

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

Instance Constructors

  1. new FeatureGenerator(dictFeatures: DictionaryFeatures)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  6. def containsDigit(token: String): Boolean
  7. def containsLetter(token: String): Boolean
  8. def containsLower(token: String): Boolean
  9. def containsSymbol(token: String): Boolean
  10. def containsUpper(token: String): Boolean
  11. val dictFeatures: DictionaryFeatures
  12. val digitDelims: Seq[Char]
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def fillFeatures(token: String): Map[String, String]
  15. def generate(sentence: TaggedSentence, withEmbeddings: WordpieceEmbeddingsSentence, metadata: DatasetMetadata): Instance
  16. def generate(taggedSentence: TaggedSentence, wordpieceEmbeddingsSentence: WordpieceEmbeddingsSentence): TextSentenceAttrs
  17. def generateDataset(sentences: TraversableOnce[(TextSentenceLabels, TaggedSentence, WordpieceEmbeddingsSentence)]): CrfDataset
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  19. def getName(source: String, idx1: Int, idx2: Int): String
  20. def getName(source: String, idx: Int): String
  21. def getPrefix(token: String, size: Int, default: String = ""): String
  22. def getShape(token: String): String
  23. def getSuffix(token: String, size: Int, default: String = ""): String
  24. def getType(token: String): Int
  25. def isAllSymbols(token: String): Boolean
  26. def isDigitOrPredicate(token: String, predicate: Function[Char, Boolean]): Boolean
  27. def isInRange(idx: Int, size: Int): Boolean
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. def isShort(token: String): Boolean
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  33. val pairs: Array[String]
  34. def productElementNames: Iterator[String]
    Definition Classes
    Product
  35. val shapeEncoding: Map[Char, Char]
  36. def shrink(str: String): String
  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. val window: Int
  42. object TokenType extends Enumeration

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped