Packages

o

edu.holycross.shot.tabulae.builder

AcceptorComposer

object AcceptorComposer

Factory object for composing and writing to a file the top-level acceptor transducer, acceptor.fst, in the root of the project FST build. It checks for every possible lexicon file, and includes acceptors for those kinds that are present in this given build.

The acceptor transducer is the final stage in the morphological pipeline. See documentation on the tabulae github repository for details.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AcceptorComposer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
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. def adjAcceptor(dir: File): String

    String defining final adjective acceptor transducer.

  5. def adjectiveAcceptor(dir: File): String

    String defining final noun acceptor transducer.

  6. def adverbAcceptor(dir: File): String

    String defining final noun acceptor transducer.

  7. def apply(parsers: File, corpusList: Vector[String]): Unit

    Compose acceptor.fst and the intermediate fst files it depends on for a named corpus.

    Compose acceptor.fst and the intermediate fst files it depends on for a named corpus. Note that this will only work if some lexica files have already been installed.

    parsers

    Root of working area for writing parsers.

    corpusList

    List of "corpora" names.

  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  10. def composeMainAcceptor(projectDir: File): Unit

    Write acceptor.fst, the final transducer in the the FST chain.

    Write acceptor.fst, the final transducer in the the FST chain. Should only include acceptors for components that actually appear in the project's data.

    projectDir

    The directory for the corpus-specific parser where acceptor.fst should be written.

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def gerundAcceptor(dir: File): String
  14. def gerundiveAcceptor(dir: File): String
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def includeAdjectives(dir: File): Boolean
  18. def includeAdverbs(dir: File): Boolean
  19. def includeGerundives(dir: File): Boolean
  20. def includeGerunds(dir: File): Boolean
  21. def includeIndecls(dir: File): Boolean

    True if parser lexica include data for indeclinables.

    True if parser lexica include data for indeclinables.

    dir

    Directory for corpus data set.

  22. def includeInfinitives(dir: File): Boolean
  23. def includeIrregAdjectives(dir: File): Boolean
  24. def includeIrregAdverbs(dir: File): Boolean
  25. def includeIrregGerundives(dir: File): Boolean
  26. def includeIrregGerunds(dir: File): Boolean
  27. def includeIrregInfinitives(dir: File): Boolean
  28. def includeIrregNouns(dir: File): Boolean
  29. def includeIrregParticiples(dir: File): Boolean
  30. def includeIrregPronouns(dir: File): Boolean
  31. def includeIrregSupines(dir: File): Boolean
  32. def includeIrregVerbs(dir: File): Boolean
  33. def includeNouns(dir: File): Boolean
  34. def includeParticiples(dir: File): Boolean
  35. def includeSupines(dir: File): Boolean
  36. def includeVerbs(dir: File): Boolean

    True if parser lexica include entries for verbs.

    True if parser lexica include entries for verbs.

    dir

    Root directory of work space (repo/parsers/CORPUS).

  37. def indeclAcceptor(dir: File): String

    String defining final acceptor transducer for indeclinable forms.

  38. def infinitiveAcceptor(dir: File): String

    String defining final noun acceptor transducer.

  39. def irregAdjectiveAcceptor(dir: File): String
  40. def irregAdverbAcceptor(dir: File): String
  41. def irregGerundAcceptor(dir: File): String
  42. def irregGerundiveAcceptor(dir: File): String
  43. def irregInfinitiveAcceptor(dir: File): String
  44. def irregNounAcceptor(dir: File): String
  45. def irregParticipleAcceptor(dir: File): String
  46. def irregPronounAcceptor(dir: File): String
  47. def irregSupineAcceptor(dir: File): String
  48. def irregVerbAcceptor(dir: File): String
  49. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  50. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  51. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  52. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  53. def nounAcceptor(dir: File): String

    String defining final noun acceptor transducer.

  54. def participleAcceptor(dir: File): String
  55. def rewriteFile(f: File, workDir: File): Unit

    Rewrite a single file by replacing all occurrences of the variable name @workdir@ with the string value for the work directory.

    Rewrite a single file by replacing all occurrences of the variable name @workdir@ with the string value for the work directory.

    f

    File to rewrite.

    workDir

    Actual directory where corpus-specific parser is to be built.

  56. def supineAcceptor(dir: File): String
  57. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  58. def toString(): String
    Definition Classes
    AnyRef → Any
  59. def topLevelAcceptor(dir: File): String

    String defining union of acceptors for each distinct analytical pattern, followed by a transducer removing all analysis-level symbols.

    String defining union of acceptors for each distinct analytical pattern, followed by a transducer removing all analysis-level symbols.

    dir

    Directory for corpus data set.

  60. def unionOfSquashers(dir: File): String

    Compose FST for union of transducers squashing URNs.

    Compose FST for union of transducers squashing URNs.

    dir

    Directory for corpus data set.

  61. def verbAcceptor(dir: File): String

    String defining verb acceptor.

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

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped