Class

epic.parser

ProductionFeaturizer

Related Doc: package parser

Permalink

class ProductionFeaturizer[L, L2, W] extends RefinedFeaturizer[L, W, Feature] with Serializable

A simple Featurizer that just counts lexical and rule productions that are used.

Annotations
@SerialVersionUID()
Linear Supertypes
Serializable, Serializable, RefinedFeaturizer[L, W, Feature], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProductionFeaturizer
  2. Serializable
  3. Serializable
  4. RefinedFeaturizer
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProductionFeaturizer(topology: RuleTopology[L], refinements: GrammarRefinements[L, L2], lGen: (L2) ⇒ Seq[Feature] = ..., rGen: (Rule[L2]) ⇒ Seq[Feature] = (x: Rule[L2]) => Seq(x), filterRedundantFeatures: Boolean = false)

    Permalink

Type Members

  1. trait Anchoring extends AnyRef

    Permalink
    Definition Classes
    RefinedFeaturizer

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. def anchor(w: IndexedSeq[W]): Anchoring { val words: IndexedSeq[W] }

    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. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def featuresFor(label: L2): Array[Int]

    Permalink
  10. def featuresFor(rule: Rule[L2]): Array[Int]

    Permalink
  11. def featuresForLabel(l: Int): Array[Int]

    Permalink
  12. def featuresForRule(r: Int): Array[Int]

    Permalink
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def forTesting: RefinedFeaturizer[L, W, Feature]

    Permalink
    Definition Classes
    RefinedFeaturizer
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. def index: Index[Feature]

    Permalink
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def lock: RefinedFeaturizer[L, W, Feature]

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

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

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

    Permalink
    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. val topology: RuleTopology[L]

    Permalink
  26. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from RefinedFeaturizer[L, W, Feature]

Inherited from AnyRef

Inherited from Any

Ungrouped