class IndexedLexFeaturizer[L, L2, W] extends RefinedFeaturizer[L, W, Feature] with Serializable
Indexes and caches features for more efficient access. Two kinds of features: features we observed in a gold tree (true Features), and features we haven't. The latter are binned by hashcode into the higher-end of the feature index
- L
Label
- W
Word
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- IndexedLexFeaturizer
- Serializable
- Serializable
- RefinedFeaturizer
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
IndexedLexFeaturizer(grammar: RuleTopology[L], rawLabelFeatures: Array[Array[Int]], rawDirFeatures: Array[Array[Int]], ruleFeaturizer: RefinedFeaturizer[L, W, Feature], wordFeaturizer: IndexedWordFeaturizer[W], unaryFeaturizer: IndexedWordFeaturizer[W], bilexFeaturizer: IndexedBilexicalFeaturizer[W], splitSpanFeaturizer: Option[IndexedSplitSpanFeaturizer[W]], refinements: GrammarRefinements[L, L2], useBilexRuleFeatures: Boolean, wordFeatureIndex: CrossProductIndex[Feature, Feature], unaryFeatureIndex: CrossProductIndex[Feature, Feature], bilexFeatureIndex: CrossProductIndex[Feature, Feature], splitSpanFeatureIndex: CrossProductIndex[Feature, Feature])
- ruleFeaturizer
base featurizer
Type Members
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
-
def
anchor(datum: IndexedSeq[W]): Spec
- Definition Classes
- IndexedLexFeaturizer → RefinedFeaturizer
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
forTesting: RefinedFeaturizer[L, W, Feature]
- Definition Classes
- RefinedFeaturizer
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
val
index: SegmentedIndex[Feature, CrossProductIndex[Feature, Feature]]
- Definition Classes
- IndexedLexFeaturizer → RefinedFeaturizer
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def joinTagRef(head: Int, ref: Int, length: Int): Int
-
def
lock: IndexedLexFeaturizer[L, L2, W]
- Definition Classes
- IndexedLexFeaturizer → RefinedFeaturizer
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- val refinements: GrammarRefinements[L, L2]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- val useBilexRuleFeatures: Boolean
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )