cc.factorie.app.nlp.ner

ConllChainNer

class ConllChainNer extends DocumentAnnotator

A finite-state named entity recognizer, trained on CoNLL 2003 data. Features include context aggregation and lexicons. Trained by online stochastic gradient ascent with an L1 prior that leads to ~90% sparsity. Inference by Viterbi. Achieves ~91% field F1 on CoNLL 2003 dev set.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ConllChainNer
  2. DocumentAnnotator
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConllChainNer(url: URL)

  2. new ConllChainNer(file: File)

  3. new ConllChainNer(stream: InputStream)

  4. new ConllChainNer()

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

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

    Definition Classes
    Any
  6. object Demonyms extends PhraseLexicon

  7. object FeaturesDomain extends CategoricalVectorDomain[String]

  8. def addFeatures(document: Document): Unit

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def deserialize(stream: InputStream): Unit

  12. def deserialize(file: File): Unit

  13. def documentAnnotationString(document: Document): String

    How the annotation of this DocumentAnnotator should be printed as extra information after a one-word-per-line (OWPL) format.

    How the annotation of this DocumentAnnotator should be printed as extra information after a one-word-per-line (OWPL) format. If there is no document annotation, return the empty string. Used in Document.owplString.

    Definition Classes
    DocumentAnnotator
  14. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Definition Classes
    Any
  20. def loadDocuments(files: Iterable[File]): Seq[Document]

  21. def mentionAnnotationString(mention: Mention): String

    Definition Classes
    DocumentAnnotator
  22. val model: NER1Model

  23. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  26. val objective: HammingTemplate[LabeledBilouConllNerTag]

  27. def phraseAnnotationString(phrase: Phrase): String

    Definition Classes
    DocumentAnnotator
  28. def postAttrs: Iterable[Class[_]]

    Definition Classes
    ConllChainNerDocumentAnnotator
  29. def prereqAttrs: Iterable[Class[_]]

    Definition Classes
    ConllChainNerDocumentAnnotator
  30. def process(document: Document): Document

    Definition Classes
    ConllChainNerDocumentAnnotator
  31. def processParallel(documents: Iterable[Document], nThreads: Int = ...): Iterable[Document]

    Definition Classes
    DocumentAnnotator
  32. def processSequential(documents: Iterable[Document]): Iterable[Document]

    Definition Classes
    DocumentAnnotator
  33. def sampleOutputString(tokens: Iterable[Token]): String

  34. def serialize(stream: OutputStream): Unit

  35. def serialize(filename: String): Unit

  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def toString(): String

    Definition Classes
    AnyRef → Any
  38. def tokenAnnotationString(token: Token): String

    How the annotation of this DocumentAnnotator should be printed in one-word-per-line (OWPL) format.

    How the annotation of this DocumentAnnotator should be printed in one-word-per-line (OWPL) format. If there is no per-token annotation, return null. Used in Document.owplString.

    Definition Classes
    ConllChainNerDocumentAnnotator
  39. def tokenFeaturesString(tokens: Iterable[Token]): String

  40. def train(trainDocs: Iterable[Document], testDocs: Iterable[Document], l1Factor: Double = 0.02, l2Factor: Double = 0.000001, lr: Double = 1.0)(implicit random: Random): Double

  41. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DocumentAnnotator

Inherited from AnyRef

Inherited from Any

Ungrouped