cc.factorie.app.nlp.ner

StackedChainNer

class StackedChainNer[L <: NerTag] extends DocumentAnnotator

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StackedChainNer
  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 StackedChainNer(labelDomain: CategoricalDomain[String], newLabel: (Token, String) ⇒ L, labelToToken: (L) ⇒ Token, embeddingMap: SkipGramEmbedding, embeddingDim: Int, scale: Double, useOffsetEmbedding: Boolean, url: URL = null)(implicit m: Manifest[L])

Type Members

  1. class ChainNer2Features extends BinaryFeatureVectorVariable[String]

  2. class ChainNerFeatures extends BinaryFeatureVectorVariable[String]

  3. class EmbeddingVariable extends VectorVariable

  4. class EmbeddingVariable2 extends VectorVariable

  5. class StackedChainNereModel[Features <: CategoricalVectorVar[String]] extends ChainModel[L, Features, Token] with 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 ChainNer2FeaturesDomain extends CategoricalVectorDomain[String]

  7. object ChainNerFeaturesDomain extends CategoricalVectorDomain[String]

  8. object Demonyms extends PhraseLexicon

  9. object EmbeddingDomain extends variable.DiscreteDomain

  10. object EmbeddingDomain2 extends variable.DiscreteDomain

  11. object NERModelOpts

  12. def addContextFeatures[A <: Observation[A]](t: Token, from: Token, vf: (Token) ⇒ CategoricalVectorVar[String]): Unit

  13. var aggregate: Boolean

  14. def aggregateContext[A <: Observation[A]](token: Token, vf: (Token) ⇒ CategoricalVectorVar[String]): Unit

  15. def allSubstrings(seq: TokenSequence[L], length: Int): List[String]

  16. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  17. var bP: Boolean

  18. def clone(): AnyRef

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

  20. var count: Int

  21. def deSerialize(stream: InputStream): Unit

  22. var didagg: Boolean

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

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

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

  27. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  29. def getSequences(document: Document): List[TokenSequence[L]]

  30. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  31. def history(list: List[String], category: String): String

  32. def initFeatures(document: Document, vf: (Token) ⇒ CategoricalVectorVar[String]): Unit

  33. def initSecondaryFeatures(document: Document, extraFeatures: Boolean = false): Unit

  34. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  35. def mentionAnnotationString(mention: Mention): String

    Definition Classes
    DocumentAnnotator
  36. def mode(list: List[String]): String

  37. val model: StackedChainNereModel[ChainNerFeatures]

  38. val model2: StackedChainNereModel[ChainNer2Features]

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

    Definition Classes
    AnyRef
  40. def nextWindowNum(t: Token, n: Int): IndexedSeq[(Int, Token)]

  41. final def notify(): Unit

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

    Definition Classes
    AnyRef
  43. val objective: HammingObjective.type

  44. def phraseAnnotationString(phrase: Phrase): String

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

    Definition Classes
    StackedChainNerDocumentAnnotator
  46. def prefix(prefixSize: Int, cluster: String): String

  47. def prereqAttrs: Seq[Class[_ >: PennPosTag with Sentence <: MutableVar { ... /* 2 definitions in type refinement */ }]]

    Definition Classes
    StackedChainNerDocumentAnnotator
  48. def prevWindowNum(t: Token, n: Int): IndexedSeq[(Int, Token)]

  49. def printEvaluation(trainDocuments: Iterable[Document], testDocuments: Iterable[Document], iteration: String): Double

  50. def printEvaluation(testDocuments: Iterable[Document]): Double

  51. def process(document: Document, useModel2: Boolean): Unit

  52. def process(document: Document): Document

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

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

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

  56. var ss: Double

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

    Definition Classes
    AnyRef
  58. def test(testDocs: Seq[Document]): (Double, Double, Double)

  59. def toString(): String

    Definition Classes
    AnyRef → Any
  60. 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
    StackedChainNerDocumentAnnotator
  61. def train(trainDocuments: Seq[Document], testDocuments: Seq[Document], rate: Double, delta: Double): Double

  62. var twoStage: Boolean

  63. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DocumentAnnotator

Inherited from AnyRef

Inherited from Any

Ungrouped