Packages

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)

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( ... ) @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 finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def generate(sentence: TaggedSentence, withEmbeddings: WordpieceEmbeddingsSentence, metadata: DatasetMetadata): Instance
  17. def generate(taggedSentence: TaggedSentence, wordpieceEmbeddingsSentence: WordpieceEmbeddingsSentence): TextSentenceAttrs
  18. def generateDataset(sentences: TraversableOnce[(TextSentenceLabels, TaggedSentence, WordpieceEmbeddingsSentence)]): CrfDataset
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def getName(source: String, idx1: Int, idx2: Int): String
  21. def getName(source: String, idx: Int): String
  22. def getPrefix(token: String, size: Int, default: String = ""): String
  23. def getShape(token: String): String
  24. def getSuffix(token: String, size: Int, default: String = ""): String
  25. def getType(token: String): Int
  26. def isAllSymbols(token: String): Boolean
  27. def isDigitOrPredicate(token: String, predicate: Function[Char, Boolean]): Boolean
  28. def isInRange(idx: Int, size: Int): Boolean
  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. def isShort(token: String): Boolean
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. val pairs: Array[String]
  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(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  41. val window: Int
  42. object TokenType extends Enumeration

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped