org.allenai.nlpstack.parse.poly.polyparser

ParseFile

Related Doc: package polyparser

object ParseFile

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ParseFile
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val defaultOracleNbest: Int

  7. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  9. def evaluateParserOnTestSet(parser: TransitionParser, parseSource: PolytreeParseSource): Unit

    Re-parses a sequence of parses, and compares the results to the gold standard.

    Re-parses a sequence of parses, and compares the results to the gold standard.

    parser

    the parser we want to use to parse the sentences

    parseSource

    the parses we want to evaluate against

  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fullParseEvaluation(parser: TransitionParser, testFiles: String, testFileFormat: PolytreeParseFileFormat, dataSource: String, oracleNbestSize: Int): Unit

    Convenience method for doing a full evaluation of a parsing model on a set of test parses.

    Convenience method for doing a full evaluation of a parsing model on a set of test parses.

    parser

    the parser to use

    testFiles

    (comma-separated) filenames of the gold parse files to test the parser on

    testFileFormat

    file format of the gold parse files

    dataSource

    where to find the files (i.e. "datastore" or "local")

    oracleNbestSize

    size of the n-best lists to generate for oracle scoring

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

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

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

    Definition Classes
    Any
  15. def main(args: Array[String]): Unit

    Command-line for parsing a test set in CoNLL format.

    Command-line for parsing a test set in CoNLL format.

    Usage: ParseFile [options]

    -c <file> | --config <file> the file containing the JSON configuration for the parser -t <file> | --test <file> the file containing the test parses to parse and compare against (CoNLL-X format) -d <file> | --datasource <file> the location of the data ('datastore','local')

    args

    see above

  16. def nbestParseTestSet(parser: TransitionParser, sentenceSource: SentenceSource, nbestSize: Int): Iterator[ParsePool]

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

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

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

    Definition Classes
    AnyRef
  20. def oracleParseTestSet(parser: TransitionParser, parseSource: PolytreeParseSource, oracleNbestSize: Int): Unit

    Determines the oracle score for n-best parsing a sequence of parses.

    Determines the oracle score for n-best parsing a sequence of parses.

    parser

    the parser to use

    parseSource

    data source for the gold parses to check against

    oracleNbestSize

    size of the n-best lists generated by the parser

  21. def parseTestSet(parser: TransitionParser, sentenceSource: SentenceSource): Iterator[Option[PolytreeParse]]

    Parses a sequence of sentences.

    Parses a sequence of sentences.

    parser

    the parser we want to use to parse the sentences

    sentenceSource

    the sentences to parse

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

    Definition Classes
    AnyRef
  23. def toString(): String

    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped