cc.factorie.app.nlp.ner

ConllChainNer

class ConllChainNer extends ChainNer[BilouConllNerTag]

NER tagger for the CoNLL 2003 corpus

Training time: ~3 minutes (on blake, 30 Oct. 4:00pm) tokens per second: 8431.02310444517 docs per second: 48.24287793720109 (avg doc length = 200 tokens)

CoNLL 2003 dev set (eng.testa) OVERALL f1=0.933593 p=0.939802 r=0.927465 (tp=5511 fp=353 fn=431 true=5942 pred=5864) acc=0.985865 (50636/51362) LOC f1=0.965931 p=0.967249 r=0.964616 (tp=1772 fp=60 fn=65 true=1837 pred=1832) MISC f1=0.876404 p=0.909091 r=0.845987 (tp=780 fp=78 fn=142 true=922 pred=858) ORG f1=0.892065 p=0.899848 r=0.884415 (tp=1186 fp=132 fn=155 true=1341 pred=1318) PER f1=0.958897 p=0.955280 r=0.962541 (tp=1773 fp=83 fn=69 true=1842 pred=1856)

CoNLL 2003 test set (eng.testb) OVERALL f1=0.885633 p=0.888315 r=0.882967 (tp=4987 fp=627 fn=661 true=5648 pred=5614) acc=0.973253 (45193/46435) LOC f1=0.915375 p=0.909953 r=0.920863 (tp=1536 fp=152 fn=132 true=1668 pred=1688) MISC f1=0.791034 p=0.803231 r=0.779202 (tp=547 fp=134 fn=155 true=702 pred=681) ORG f1=0.842767 p=0.838498 r=0.847080 (tp=1407 fp=271 fn=254 true=1661 pred=1678) PER f1=0.940327 p=0.955329 r=0.925788 (tp=1497 fp=70 fn=120 true=1617 pred=1567)

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

Instance Constructors

  1. new ConllChainNer(url: URL = null)

Type Members

  1. class ChainNERFeatures extends BinaryFeatureVectorVariable[String]

    Definition Classes
    ChainNer
  2. class ChainNERModel[Features <: CategoricalVectorVar[String]] extends ChainModel[L, Features, Token]

    Definition Classes
    ChainNer

Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. object ChainNERFeaturesDomain extends CategoricalVectorDomain[String]

    Definition Classes
    ChainNer
  5. object Demonyms extends PhraseLexicon

    Definition Classes
    ChainNer
  6. def addFeatures(document: Document, vf: (Token) ⇒ CategoricalVectorVar[String]): Unit

    Definition Classes
    ChainNer
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val clusters: Map[String, String]

    Definition Classes
    ChainNer
  10. def deserialize(stream: InputStream): Unit

    Definition Classes
    ChainNer
  11. 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
  12. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  14. def evaluationString(documents: Iterable[Document]): Double

    Definition Classes
    ChainNer
  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. def loadDocs(fileName: String): Seq[Document]

  20. def mentionAnnotationString(mention: Mention): String

    Definition Classes
    DocumentAnnotator
  21. val model: ChainNERModel[ChainNERFeatures]

    Definition Classes
    ChainNer
  22. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  25. val objective: HammingObjective.type

    Definition Classes
    ChainNer
  26. def phraseAnnotationString(phrase: Phrase): String

    Definition Classes
    DocumentAnnotator
  27. def postAttrs: Seq[Class[_]]

    Definition Classes
    ChainNerDocumentAnnotator
  28. def prefix(prefixSize: Int, cluster: String): String

    Definition Classes
    ChainNer
  29. def prereqAttrs: Seq[Class[Sentence]]

    Definition Classes
    ChainNerDocumentAnnotator
  30. def printEvaluation(trainDocs: Iterable[Document], testDocs: Iterable[Document], iteration: String): Double

    Definition Classes
    ChainNer
  31. def process(document: Document): Document

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

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

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

    Definition Classes
    ChainNer
  35. def serialize(stream: OutputStream): Unit

    Definition Classes
    ChainNer
  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
    ChainNerDocumentAnnotator
  39. def train(trainDocs: Seq[Document], testDocs: Seq[Document], rate: Double = 0.18, delta: Double = 0.066)(implicit random: Random): Double

    Definition Classes
    ChainNer
  40. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ChainNer[BilouConllNerTag]

Inherited from DocumentAnnotator

Inherited from AnyRef

Inherited from Any

Ungrouped