case class FeatureGenerator(dictFeatures: DictionaryFeatures) extends Product with Serializable
Generates features for CrfBasedNer
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FeatureGenerator
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new FeatureGenerator(dictFeatures: DictionaryFeatures)
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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def containsDigit(token: String): Boolean
- def containsLetter(token: String): Boolean
- def containsLower(token: String): Boolean
- def containsSymbol(token: String): Boolean
- def containsUpper(token: String): Boolean
- val dictFeatures: DictionaryFeatures
- val digitDelims: Seq[Char]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def fillFeatures(token: String): Map[String, String]
- def generate(sentence: TaggedSentence, withEmbeddings: WordpieceEmbeddingsSentence, metadata: DatasetMetadata): Instance
- def generate(taggedSentence: TaggedSentence, wordpieceEmbeddingsSentence: WordpieceEmbeddingsSentence): TextSentenceAttrs
- def generateDataset(sentences: TraversableOnce[(TextSentenceLabels, TaggedSentence, WordpieceEmbeddingsSentence)]): CrfDataset
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def getName(source: String, idx1: Int, idx2: Int): String
- def getName(source: String, idx: Int): String
- def getPrefix(token: String, size: Int, default: String = ""): String
- def getShape(token: String): String
- def getSuffix(token: String, size: Int, default: String = ""): String
- def getType(token: String): Int
- def isAllSymbols(token: String): Boolean
- def isDigitOrPredicate(token: String, predicate: Function[Char, Boolean]): Boolean
- def isInRange(idx: Int, size: Int): Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isShort(token: String): Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val pairs: Array[String]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val shapeEncoding: Map[Char, Char]
- def shrink(str: String): String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- val window: Int
- object TokenType extends Enumeration
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)