cc.factorie.app.nlp.ner

BasicOntonotesNER

class BasicOntonotesNER extends DocumentAnnotator

A simple named entity recognizer, trained on Ontonotes data. It does not have sufficient features to be state-of-the-art.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BasicOntonotesNER
  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 BasicOntonotesNER(url: URL)

  2. new BasicOntonotesNER()

Type Members

  1. class FeaturesVariable extends BinaryFeatureVectorVariable[String]

  2. class HashedTokenQueue extends Queue[Token]

    A queue of tokens, FILO, that will dequeue to maintain size less than maxSize, and which also has efficient acess to its elements keyed by Token.

  3. class Model1 extends model.TemplateModel with model.Parameters

  4. class Model2 extends model.TemplateModel with model.Parameters

  5. class Model3 extends model.TemplateModel with model.Parameters

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 FeaturesDomain extends CategoricalVectorDomain[String]

  7. def addFeatures(document: Document): Unit

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def bpPredictDocument(document: Document): Unit

  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. def forwardPredictDocument(document: Document): Unit

  18. def forwardPredictToken(token: Token): Unit

  19. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  21. def indepedentPredictDocument(document: Document): Unit

  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. var mainModel: model.Model

  24. def mentionAnnotationString(mention: Mention): String

    Definition Classes
    DocumentAnnotator
  25. object model1 extends Model1

  26. object model2 extends Model2

  27. object model3 extends Model3

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

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

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

    Definition Classes
    AnyRef
  31. val objective: HammingObjective.type

  32. def phraseAnnotationString(phrase: Phrase): String

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

    Definition Classes
    BasicOntonotesNERDocumentAnnotator
  34. val predictionHistory: HashedTokenQueue

  35. def prereqAttrs: Iterable[Class[_]]

    Definition Classes
    BasicOntonotesNERDocumentAnnotator
  36. def process(document: Document): Document

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

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

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

  40. def segmentEvaluationString(labels: IndexedSeq[LabeledBilouOntonotesNerTag]): String

  41. def serialize(stream: OutputStream): Unit

  42. def serialize(filename: String): Unit

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

    Definition Classes
    AnyRef
  44. def toString(): String

    Definition Classes
    AnyRef → Any
  45. 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
    BasicOntonotesNERDocumentAnnotator
  46. def tokenFeaturesString(tokens: Iterable[Token]): String

  47. def train(trainFilename: String, testFilename: String)(implicit random: Random): Unit

  48. def trainModel1(trainDocs: Iterable[Document], testDocs: Iterable[Document])(implicit random: Random): Unit

  49. def trainModel2(trainDocs: Iterable[Document], testDocs: Iterable[Document])(implicit random: Random): Unit

  50. def trainModel3(trainDocs: Iterable[Document], testDocs: Iterable[Document])(implicit random: Random): Unit

  51. def trainPrep(trainDocs: Iterable[Document], testDocs: Iterable[Document]): Unit

  52. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DocumentAnnotator

Inherited from AnyRef

Inherited from Any

Ungrouped