Class/Object

org.clulab.odin.impl

RuleReader

Related Docs: object RuleReader | package impl

Permalink

class RuleReader extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RuleReader
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RuleReader(actions: Actions, charset: Charset)

    Permalink

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. val actions: Actions

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val charset: Charset

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. implicit val codec: Codec

    Permalink
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def exportExtractionSchemas(rules: Seq[Rule], outname: String): Unit

    Permalink

    Autogenerate markdown documentation for a grammar, aggregating by _Type_ (i.e., the Label from the internal Taxonomy).

    Autogenerate markdown documentation for a grammar, aggregating by _Type_ (i.e., the Label from the internal Taxonomy). This view of the grammar tells consumers what they can expect to see (or what they _could_ expect to see) in an Extraction/Mention of a given Type (or Label).

    rules

    grammar Rules

    outname

    output markdown file

  12. def exportExtractionSchemasFromMaster(input: String, outname: String): Unit

    Permalink

    Autogenerate markdown documentation for a grammar, aggregating by _Type_ (i.e., the Label from the internal Taxonomy).

    Autogenerate markdown documentation for a grammar, aggregating by _Type_ (i.e., the Label from the internal Taxonomy). This view of the grammar tells consumers what they can expect to see (or what they _could_ expect to see) in an Extraction/Mention of a given Type (or Label).

    input

    the String content of the Master yaml file

    outname

    output markdown file

  13. def exportExtractionSchemasFromSimple(input: String, outname: String): Unit

    Permalink

    Autogenerate markdown documentation for a grammar, aggregating by _Type_ (i.e., the Label from the internal Taxonomy).

    Autogenerate markdown documentation for a grammar, aggregating by _Type_ (i.e., the Label from the internal Taxonomy). This view of the grammar tells consumers what they can expect to see (or what they _could_ expect to see) in an Extraction/Mention of a given Type (or Label).

    input

    the String content of the simple yaml file

    outname

    output markdown file

  14. def exportRuleSchemas(rules: Seq[Rule], outname: String): Unit

    Permalink

    Autogenerate markdown file that shows the metadata for each rule in the grammar.

    Autogenerate markdown file that shows the metadata for each rule in the grammar. This is useful for those who have a harder time sifting through the yaml files which may be quite nested. One md block per rule, sorted alphabetically.

    rules

    Rules in the grammar

    outname

    the path to the output md file

  15. def exportRuleSchemasFromMaster(input: String, outname: String): Unit

    Permalink

    Autogenerate markdown file that shows the metadata for each rule in the grammar using a Master file.

    Autogenerate markdown file that shows the metadata for each rule in the grammar using a Master file. This is useful for those who have a harder time sifting through the yaml files which may be quite nested. One md block per rule, sorted alphabetically.

    input

    yaml rule string

    outname

    the path to the output md file

  16. def exportRuleSchemasFromSimple(input: String, outname: String): Unit

    Permalink

    Autogenerate markdown file that shows the metadata for each rule in the grammar using a Simple file.

    Autogenerate markdown file that shows the metadata for each rule in the grammar using a Simple file. This is useful for those who have a harder time sifting through the yaml files which may be quite nested. One md block per rule, sorted alphabetically.

    input

    yaml rule string

    outname

    the path to the output md file

  17. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. def getGraph(data: Map[String, Any], default: String = OdinConfig.DEFAULT_GRAPH): String

    Permalink
  20. def getVars(data: Map[String, Any]): Map[String, String]

    Permalink

    gets the master file as a Map and returns the declared variables, if any

  21. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  23. def mkExtractors(rules: Seq[Rule]): Vector[Extractor]

    Permalink
  24. def mkRule(data: Map[String, Any], expand: (String) ⇒ Seq[String], template: (Any) ⇒ String, config: OdinConfig): Rule

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

    Permalink
    Definition Classes
    AnyRef
  26. def newCrossSentenceExtractor(name: String, labels: Seq[String], priority: Priority, keep: Boolean, action: Action, leftWindow: Int, rightWindow: Int, anchorPattern: TokenExtractor, neighborPattern: TokenExtractor, anchorRole: String, neighborRole: String): CrossSentenceExtractor

    Permalink
    Attributes
    protected
  27. def newGraphExtractor(name: String, labels: Seq[String], priority: Priority, keep: Boolean, action: Action, pattern: GraphPattern, config: OdinConfig): GraphExtractor

    Permalink
    Attributes
    protected
  28. def newTokenExtractor(name: String, labels: Seq[String], priority: Priority, keep: Boolean, action: Action, pattern: TokenPattern): TokenExtractor

    Permalink
    Attributes
    protected
  29. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  31. def read(input: String): Vector[Extractor]

    Permalink
  32. def readMasterFile(input: String): Vector[Extractor]

    Permalink
  33. def readOrImportVars(data: Any): Map[String, String]

    Permalink

    Reads the variables declared directly or imports them from a file

  34. def readSimpleFile(input: String): Vector[Extractor]

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

    Permalink
    Definition Classes
    AnyRef
  36. def toString(): String

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped