cc.factorie.app.nlp.pos

OntonotesForwardPosTagger

class OntonotesForwardPosTagger extends ForwardPosTagger

The default part-of-speech tagger, trained on all Ontonotes training data (including Wall Street Journal), with parameters loaded from resources in the classpath.

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

Type Members

  1. class FeatureVariable extends BinaryFeatureVectorVariable[String]

    Definition Classes
    ForwardPosTagger
  2. class Lemmas extends IndexedSeq[String]

    A special IndexedSeq[String] that will return "null" for indices out of bounds, rather than throwing an error

  3. class SentenceClassifierExample extends optimize.Example

    Definition Classes
    ForwardPosTagger

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

    Definition Classes
    ForwardPosTagger
  7. object WordData

    Infrastructure for building and remembering a list of training data words that nearly always have the same POS tag.

  8. def accuracy(sentences: Iterable[Sentence]): (Double, Double, Double, Double)

    Definition Classes
    ForwardPosTagger
  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

    Definition Classes
    ForwardPosTagger
  12. def deserialize(file: File): Unit

    Definition Classes
    ForwardPosTagger
  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. var exampleSetsToPrediction: Boolean

    Definition Classes
    ForwardPosTagger
  17. def features(tokens: Seq[Token]): Seq[SparseBinaryTensor1]

    Definition Classes
    ForwardPosTagger
  18. def features(token: Token, lemmaIndex: Int, lemmas: Lemmas): SparseBinaryTensor1

    Definition Classes
    ForwardPosTagger
  19. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  23. def lemmas(tokens: Seq[Token]): Lemmas

    Attributes
    protected
    Definition Classes
    ForwardPosTagger
  24. def lemmatize(string: String): String

    Local lemmatizer used for POS features.

    Local lemmatizer used for POS features.

    Attributes
    protected
    Definition Classes
    ForwardPosTagger
  25. def mentionAnnotationString(mention: Mention): String

    Definition Classes
    DocumentAnnotator
  26. lazy val model: LinearMulticlassClassifier

    Definition Classes
    ForwardPosTagger
  27. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  30. def phraseAnnotationString(phrase: Phrase): String

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

    Definition Classes
    ForwardPosTaggerDocumentAnnotator
  32. def predict(document: Document): Unit

    Definition Classes
    ForwardPosTagger
  33. def predict(span: TokenSpan): Unit

    Definition Classes
    ForwardPosTagger
  34. def predict(tokens: Seq[Token]): Unit

    Definition Classes
    ForwardPosTagger
  35. def prereqAttrs: Iterable[Class[_]]

    Definition Classes
    ForwardPosTaggerDocumentAnnotator
  36. def printAccuracy(sentences: Iterable[Sentence], extraText: String): Unit

    Definition Classes
    ForwardPosTagger
  37. def process(s: Sentence): Sentence

    Definition Classes
    ForwardPosTagger
  38. def process(d: Document): Document

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

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

    Definition Classes
    DocumentAnnotator
  41. def serialize(stream: OutputStream): Unit

    Definition Classes
    ForwardPosTagger
  42. def serialize(filename: String): Unit

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

    Definition Classes
    AnyRef
  44. def test(sentences: Iterable[Sentence]): Unit

    Definition Classes
    ForwardPosTagger
  45. def toString(): String

    Definition Classes
    AnyRef → Any
  46. 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
    ForwardPosTaggerDocumentAnnotator
  47. def train(trainSentences: Seq[Sentence], testSentences: Seq[Sentence], lrate: Double = 0.1, decay: Double = 0.01, cutoff: Int = 2, doBootstrap: Boolean = true, useHingeLoss: Boolean = false, numIterations: Int = 5, l1Factor: Double = 0.000001, l2Factor: Double = 0.000001)(implicit random: Random): Unit

    Definition Classes
    ForwardPosTagger
  48. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ForwardPosTagger

Inherited from DocumentAnnotator

Inherited from AnyRef

Inherited from Any

Ungrouped