epic.sequences

Gazetteer

trait Gazetteer[+L, W] extends SurfaceFeaturizer[W] with WordFeaturizer[W]

A Gazeteer is a map from IndexedSeq[W]->L. That is, it maps strings of words to a label that we've seen before. For example, you might use a list of countries. These are very useful for named entity recognition.

Linear Supertypes
WordFeaturizer[W], SurfaceFeaturizer[W], Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Gazetteer
  2. WordFeaturizer
  3. SurfaceFeaturizer
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def lookupSpan(w: IndexedSeq[W]): Option[L]

  2. abstract def lookupWord(w: W): IndexedSeq[L]

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def *(other: WordFeaturizer[W]): ProductWordFeaturizer[W]

    Definition Classes
    WordFeaturizer
  5. def *(other: SurfaceFeaturizer[W]): ProductSurfaceFeaturizer[W]

    Definition Classes
    SurfaceFeaturizer
  6. def +(other: WordFeaturizer[W]): WordFeaturizer[W]

    Definition Classes
    WordFeaturizer
  7. def +(other: SurfaceFeaturizer[W]): SurfaceFeaturizer[W]

    Definition Classes
    SurfaceFeaturizer
  8. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  10. def anchor(w: IndexedSeq[W]): SurfaceFeatureAnchoring[W] with WordFeatureAnchoring[W]

    Definition Classes
    GazetteerWordFeaturizerSurfaceFeaturizer
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. def offset(i: Int): OffsetWordFeaturizer[W]

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

    Definition Classes
    AnyRef
  24. def toString(): String

    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from WordFeaturizer[W]

Inherited from SurfaceFeaturizer[W]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped