lingua-cascade


License

License

GroupId

GroupId

org.gnieh
ArtifactId

ArtifactId

lingua-cascade_2.12
Last Version

Last Version

0.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

lingua-cascade
lingua-cascade
Project Organization

Project Organization

org.gnieh
Source Code Management

Source Code Management

https://github.com/satabin/lingua

Download lingua-cascade_2.12

How to add to project

<!-- https://jarcasting.com/artifacts/org.gnieh/lingua-cascade_2.12/ -->
<dependency>
    <groupId>org.gnieh</groupId>
    <artifactId>lingua-cascade_2.12</artifactId>
    <version>0.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.gnieh/lingua-cascade_2.12/
implementation 'org.gnieh:lingua-cascade_2.12:0.1.1'
// https://jarcasting.com/artifacts/org.gnieh/lingua-cascade_2.12/
implementation ("org.gnieh:lingua-cascade_2.12:0.1.1")
'org.gnieh:lingua-cascade_2.12:jar:0.1.1'
<dependency org="org.gnieh" name="lingua-cascade_2.12" rev="0.1.1">
  <artifact name="lingua-cascade_2.12" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.gnieh', module='lingua-cascade_2.12', version='0.1.1')
)
libraryDependencies += "org.gnieh" % "lingua-cascade_2.12" % "0.1.1"
[org.gnieh/lingua-cascade_2.12 "0.1.1"]

Dependencies

compile (1)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.12.4

Project Modules

There are no modules declared in this project.

Lingua Codacy Badge

Lingua is a set of linguistic tools written in Scala. It is divided in several modules.

Module lexikon

The lexikon module provides tools to generate morphological lexica out of a dedicated description language. For example dictionaries, see the resources directory and have a look at .dico files.

To run the lexicon genrator:

$ sbt
> project lexikon
> runMain lingua.lexikon.DikoMain compile lexikon/src/main/resources/français.dico -N /tmp/nfst.dot -F /tmp/fst.dot

Then you can render the generated (N)Fst by using graphviz tools.

This command produces a compiled version of the dictionary in a file named dikput.diko. This compiled version can be queried as follows (from the same sbt session)

> runMain lingua.lexikon.DikoMain query dikoput.diko -q mange

Which will return

Set(DikoEntry(manger,Set(+Sg, @V, +3ème, +G1, +Prés, +Ind)), DikoEntry(manger,Set(+Sg, +1ère, @V, +G1, +Prés, +Ind)))

This means that according to this dictionary, mange stems to manger which is a verb (@V category) conjugated at the first person singular of the indicative present, or at the third person of the indicative present.

For more details on available options, run this main class with option -h

Module fst

This module is a generic Fst module that can be used independently.

Versions

Version
0.1.1
0.1.0