Class

org.mitre.jcarafe.maxent

FileBasedMaxEntDecodeSeqGen

Related Doc: package maxent

Permalink

class FileBasedMaxEntDecodeSeqGen extends DecodingSeqGen[List[(FeatureId, Double)]] with MaxEntSeqGenAttVal with MaxEntSeqGenAttValFromFileProcessor

Linear Supertypes
MaxEntSeqGenAttValFromFileProcessor, MaxEntSeqGenAttVal, MaxEntSeqGen[List[(FeatureId, Double)]], MaxEntSeqGenCore[List[(FeatureId, Double)]], DecodingSeqGen[List[(FeatureId, Double)]], SeqGen[List[(FeatureId, Double)]], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FileBasedMaxEntDecodeSeqGen
  2. MaxEntSeqGenAttValFromFileProcessor
  3. MaxEntSeqGenAttVal
  4. MaxEntSeqGen
  5. MaxEntSeqGenCore
  6. DecodingSeqGen
  7. SeqGen
  8. Serializable
  9. Serializable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FileBasedMaxEntDecodeSeqGen(m: MaxEntModel, opts: Options)

    Permalink

Type Members

  1. type DeserializationT = MaxEntDeserialization

    Permalink
    Definition Classes
    MaxEntSeqGenCoreSeqGen
  2. type FRepT = MEFRep[List[(FeatureId, Double)]]

    Permalink
    Definition Classes
    MaxEntSeqGenSeqGen
  3. type Seqs = IndexedSeq[SourceSequence[List[(FeatureId, Double)]]]

    Permalink
    Definition Classes
    SeqGen
  4. type Src = ObsSource[List[(FeatureId, Double)]]

    Permalink
    Definition Classes
    SeqGen

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. var addBeginStates: Boolean

    Permalink
    Definition Classes
    SeqGen
  5. def addInFeatures(inst: MaxEntInstance, src: ObsSource[List[(FeatureId, Double)]]): Unit

    Permalink
    Definition Classes
    MaxEntSeqGen
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val boundaries: Tagset

    Permalink
    Definition Classes
    DecodingSeqGenSeqGen
  8. def buildInstance(l: String): Option[MaxEntInstance]

    Permalink
    Attributes
    protected
    Definition Classes
    MaxEntSeqGenAttVal
  9. def buildInstanceUsingPosteriors(l: String): Option[MaxEntInstance]

    Permalink
    Attributes
    protected
    Definition Classes
    MaxEntSeqGenAttVal
  10. def cleanUp(): Unit

    Permalink
    Definition Classes
    SeqGen
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def closeFVecStream(): Unit

    Permalink
    Definition Classes
    MaxEntSeqGen
  13. var cnt: Int

    Permalink
  14. def countFeatureTypes(spSeqs: Seqs): Unit

    Permalink
    Definition Classes
    SeqGen
  15. def countFeatureTypes(src: SourceSequence[List[(FeatureId, Double)]]): Unit

    Permalink
    Definition Classes
    SeqGen
  16. def countFeatureTypesFromFiles: Unit

    Permalink
    Definition Classes
    SeqGen
  17. def createDistributionalSource(dist: List[(AbstractLabel, Double)], obs: List[(FeatureId, Double)], beg: Boolean, i: Map[String, String]): ObsSource[List[(FeatureId, Double)]]

    Permalink
    Definition Classes
    SeqGen
  18. def createInstancesDirectly: IndexedSeq[InstanceSequence]

    Permalink
    Attributes
    protected
    Definition Classes
    MaxEntSeqGen
  19. def createInstancesFromFiles: IndexedSeq[InstanceSequence]

    Permalink
    Definition Classes
    SeqGen
  20. def createInstancesOnDisk: Unit

    Permalink
  21. def createSeqsFromFiles: IndexedSeq[InstanceSequence]

    Permalink
  22. def createSeqsWithInput(dseq: IndexedSeq[DeserializationT]): IndexedSeq[InstanceSequence]

    Permalink
    Definition Classes
    SeqGen
  23. def createSeqsWithInput(d: DeserializationT): IndexedSeq[InstanceSequence]

    Permalink
    Definition Classes
    SeqGen
  24. def createSource(o: List[(FeatureId, Double)], i: Map[String, String]): ObsSource[List[(FeatureId, Double)]]

    Permalink
    Definition Classes
    SeqGen
  25. def createSource(l: AbstractLabel, o: List[(FeatureId, Double)], i: Map[String, String]): ObsSource[List[(FeatureId, Double)]]

    Permalink
    Definition Classes
    SeqGen
  26. def createSource(l: AbstractLabel, o: List[(FeatureId, Double)], beg: Boolean, i: Map[String, String]): ObsSource[List[(FeatureId, Double)]]

    Permalink
    Definition Classes
    SeqGen
  27. def createSource(l: AbstractLabel, o: List[(FeatureId, Double)]): ObsSource[List[(FeatureId, Double)]]

    Permalink
    Definition Classes
    SeqGen
  28. def createSource(l: AbstractLabel, o: List[(FeatureId, Double)], beg: Boolean): ObsSource[List[(FeatureId, Double)]]

    Permalink
    Definition Classes
    SeqGen
  29. def createSourceI(i: Int, o: List[(FeatureId, Double)], b: Boolean, m: Option[Map[String, String]]): ObsSource[List[(FeatureId, Double)]]

    Permalink
    Attributes
    protected
    Definition Classes
    SeqGen
  30. def createSourceSequence(ss: Seq[ObsSource[String]], st: Int, en: Int): SourceSequence[String]

    Permalink
    Definition Classes
    SeqGen
  31. def createSourceSequence(ss: Seq[ObsSource[String]]): SourceSequence[String]

    Permalink

    Creates a source sequence.

    Creates a source sequence. Subclasses can over-ride this to add additional infor regarding sequences

    returns

    SourceSequence[Obs] - observation sequence

    Definition Classes
    SeqGen
  32. def createSourcesFromFiles: IndexedSeq[Seqs]

    Permalink
  33. val decodingOpts: Options

    Permalink
    Definition Classes
    DecodingSeqGen
  34. def deserializeFromFile(file: String): DeserializationT

    Permalink

    Create a deserialization from a file path provided as a String

    Create a deserialization from a file path provided as a String

    file

    File path as a string

    returns

    A deserialized object

    Definition Classes
    MaxEntSeqGenCoreSeqGen
  35. def deserializeFromFile(file: File): DeserializationT

    Permalink

    Create a deserialization from a File object

    Create a deserialization from a File object

    file

    File object

    returns

    A deserialized object

    Definition Classes
    SeqGen
  36. def deserializeFromRawString(string: String): DeserializationT

    Permalink
    Definition Classes
    MaxEntSeqGenCore
  37. def deserializeFromString(s: String): DeserializationT

    Permalink

    Create a deserialized object from a string containing a serialized representation

    Create a deserialized object from a string containing a serialized representation

    returns

    A deserialized object

    Definition Classes
    MaxEntSeqGenCoreSeqGen
  38. def deserializeFromTokenSeq(seq: Seq[String]): DeserializationT

    Permalink

    Create a deserialized object from a list of tokens

    Create a deserialized object from a list of tokens

    returns

    A deserialized object

    Definition Classes
    MaxEntSeqGenCoreSeqGen
  39. var dumpFVecStream: Option[OutputStreamWriter]

    Permalink
    Definition Classes
    MaxEntSeqGen
  40. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  42. def evaluateSequences(seqs: Seq[InstanceSequence]): Unit

    Permalink
    Definition Classes
    SeqGen
  43. def extractFeatures(dseq: SourceSequence[List[(FeatureId, Double)]]): InstanceSequence

    Permalink
    Definition Classes
    MaxEntSeqGenAttValSeqGen
  44. def extractFeatures(obs: ObsSource[List[(FeatureId, Double)]]): AbstractInstance

    Permalink
    Definition Classes
    MaxEntSeqGenAttVal
  45. def extractFeatures(sourcePairSeqs: Seqs): IndexedSeq[InstanceSequence]

    Permalink
    Definition Classes
    MaxEntSeqGenAttValSeqGen
  46. def extractFeaturesSeq(sourcePairSeqsSeq: IndexedSeq[Seqs]): IndexedSeq[InstanceSequence]

    Permalink
    Definition Classes
    SeqGen
  47. def filterAndNormalizeFeatures(insts: Seq[MaxEntInstance]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    MaxEntSeqGenAttVal
  48. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  49. val frep: MEFRep[List[(FeatureId, Double)]]

    Permalink
    Definition Classes
    FileBasedMaxEntDecodeSeqGenSeqGen
  50. def gatherFeatureTables(d: DeserializationT): Unit

    Permalink
    Definition Classes
    SeqGen
  51. def gatherFeatures(seqs: Seq[InstanceSequence]): Map[String, Double]

    Permalink
  52. def getAccuracy: Double

    Permalink
    Definition Classes
    SeqGen
  53. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  54. def getIndex(l: AbstractLabel): Int

    Permalink
    Attributes
    protected
    Definition Classes
    SeqGen
  55. def getInducedFeatureMap: Option[InducedFeatureMap]

    Permalink

    Return the lexicon used by the feature manager

    Return the lexicon used by the feature manager

    returns

    An optional lexicon

    Definition Classes
    SeqGen
  56. def getLAlphabet: Alphabet[AbstractLabel]

    Permalink

    Return the label Alphabet to use.

    Return the label Alphabet to use. Should be overrided with a different alphabet when doing recoding, for example.

    returns

    A label alphabet to pass to the trainer/decoder

    Definition Classes
    SeqGen
  57. def getLexicon: Option[BloomLexicon]

    Permalink

    Return the lexicon used by the feature manager

    Return the lexicon used by the feature manager

    returns

    An optional lexicon

    Definition Classes
    SeqGen
  58. def getMaxSegmentSize: Int

    Permalink
    Definition Classes
    SeqGen
  59. def getModelName: String

    Permalink

    Return the name of the feature manager instance (i.e.

    Return the name of the feature manager instance (i.e. feature set name)

    returns

    A feature set name String

    Definition Classes
    SeqGen
  60. def getNumberOfFeatures: Int

    Permalink
    Definition Classes
    FileBasedMaxEntDecodeSeqGenSeqGen
  61. def getNumberOfNeuralFeatures: Int

    Permalink
    Definition Classes
    SeqGen
  62. def getNumberOfStates: Int

    Permalink

    Return the number of states in the model (when the size is fixed across the dataset)

    Return the number of states in the model (when the size is fixed across the dataset)

    returns

    Number of states in the model

    Definition Classes
    SeqGen
  63. def getState(l: AbstractLabel, b: Boolean): AbstractLabel

    Permalink
    Definition Classes
    SeqGen
  64. def getWordProps: Option[WordProperties]

    Permalink

    Return the lexicon used by the feature manager

    Return the lexicon used by the feature manager

    returns

    An optional lexicon

    Definition Classes
    SeqGen
  65. def getWordScores: Option[WordScores]

    Permalink

    Return the lexicon used by the feature manager

    Return the lexicon used by the feature manager

    returns

    An optional lexicon

    Definition Classes
    SeqGen
  66. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  67. def initialize(): Unit

    Permalink
    Definition Classes
    MaxEntSeqGenCore
  68. lazy val invLa: Map[Int, AbstractLabel]

    Permalink
    Definition Classes
    SeqGen
  69. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  70. val lAlphabet: Alphabet[AbstractLabel]

    Permalink
    Definition Classes
    DecodingSeqGenSeqGen
  71. def mapToMaxEntInstance(lab: String, fs: Seq[InstanceSequence], fileName: String): MaxEntInstance

    Permalink
  72. def mapToMaxEntSource(lab: String, fs: Seq[InstanceSequence]): ObsSource[List[(FeatureId, Double)]]

    Permalink
  73. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  74. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  75. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  76. val numReg: Regex

    Permalink
    Definition Classes
    MaxEntSeqGenAttVal
  77. val opts: Options

    Permalink

    A set of command-line options passed in by user

    A set of command-line options passed in by user

    Definition Classes
    SeqGen
  78. def otherIndex: Option[Int]

    Permalink
    Definition Classes
    SeqGen
  79. val printExistingTags: Boolean

    Permalink
    Definition Classes
    SeqGen
  80. def processSupportingFeatures(dseq: SourceSequence[List[(FeatureId, Double)]]): InstanceSequence

    Permalink
    Definition Classes
    MaxEntSeqGenAttValSeqGen
  81. val recode: Boolean

    Permalink
    Definition Classes
    SeqGen
  82. val recodeAlphabet: Alphabet[AbstractLabel]

    Permalink
    Definition Classes
    DecodingSeqGenSeqGen
  83. def reset(): Unit

    Permalink
    Definition Classes
    SeqGen
  84. val selfCode: Long

    Permalink
    Definition Classes
    MaxEntSeqGen
  85. def seqsToAnnotations(d: DeserializationT, seqs: Seq[InstanceSequence]): Map[AbstractLabel, ListBuffer[Annotation]]

    Permalink
    Definition Classes
    MaxEntSeqGenCore
  86. def seqsToDeserialized(d: DeserializationT, seqs: Seq[InstanceSequence]): DeserializationT

    Permalink
    Definition Classes
    MaxEntSeqGenCore
  87. def seqsToFile(d: DeserializationT, seqs: Seq[InstanceSequence], f: File): Unit

    Permalink
    Definition Classes
    MaxEntSeqGenCore
  88. def seqsToFile(d: DeserializationT, seqs: Seq[InstanceSequence], f: String): Unit

    Permalink
    Definition Classes
    DecodingSeqGen
  89. def seqsToString(d: DeserializationT, seqs: Seq[InstanceSequence]): String

    Permalink
    Definition Classes
    MaxEntSeqGenCore
  90. def seqsToWriter(d: DeserializationT, seqs: Seq[InstanceSequence], os: OutputStreamWriter, close: Boolean = true): Unit

    Permalink
    Definition Classes
    MaxEntSeqGenCore
  91. def setBegin(): Unit

    Permalink
    Definition Classes
    DecodingSeqGen
  92. def setFVecStream(f: File): Unit

    Permalink
    Definition Classes
    MaxEntSeqGen
  93. val subSeqGen: TrainingSeqGen[String] with TextSeqGen

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

    Permalink
    Definition Classes
    AnyRef
  95. def toAbstractInstance(s: String): AbstractInstance

    Permalink
    Definition Classes
    MaxEntSeqGenAttVal
  96. def toAbstractInstanceSeq(inReader: DeserializationT, quiet: Boolean = false): IndexedSeq[AbstractInstance]

    Permalink
    Definition Classes
    MaxEntSeqGenAttVal
  97. def toInstances(inReader: DeserializationT): InstanceSequence

    Permalink
    Definition Classes
    MaxEntSeqGenAttValMaxEntSeqGen
  98. def toSources(d: DeserializationT): Seqs

    Permalink

    Computes a sequence of sequences of ObsSource objects from a given deserialized object

    Computes a sequence of sequences of ObsSource objects from a given deserialized object

    returns

    A sequence of sequences of ObsSource objects

    Definition Classes
    MaxEntSeqGenAttValSeqGen
  99. def toSources(file: File): Seqs

    Permalink
    Definition Classes
    SeqGen
  100. def toSources(file: String): Seqs

    Permalink

    Takes a file path (as string) and converts it to a sequence of sequences of ObsSource objects

    Takes a file path (as string) and converts it to a sequence of sequences of ObsSource objects

    file

    A file path as a string

    returns

    A sequence of sequences of ObsSource objects that represent observations and auxiliary information.

    Definition Classes
    SeqGen
  101. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  102. var totalIncorrectTok: Int

    Permalink
    Definition Classes
    SeqGen
  103. var totalTokCnt: Int

    Permalink
    Definition Classes
    SeqGen
  104. var ufset: Set[Long]

    Permalink
    Definition Classes
    MaxEntSeqGen
  105. val unkCode: Long

    Permalink
    Definition Classes
    MaxEntSeqGen
  106. val unrecodeAlphabet: Alphabet[AbstractLabel]

    Permalink
    Definition Classes
    SeqGen
  107. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MaxEntSeqGenAttVal

Inherited from MaxEntSeqGen[List[(FeatureId, Double)]]

Inherited from MaxEntSeqGenCore[List[(FeatureId, Double)]]

Inherited from DecodingSeqGen[List[(FeatureId, Double)]]

Inherited from SeqGen[List[(FeatureId, Double)]]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped