Skip to content

Commit

Permalink
Get most speller info from configure.ac
Browse files Browse the repository at this point in the history
  • Loading branch information
snomos committed Jan 29, 2024
1 parent 264b109 commit d9d48c2
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 30 deletions.
12 changes: 12 additions & 0 deletions manifest.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
name = "Plains Cree"
version = "0.1.1"

# Name of the speller package in various languages.
# The default is English + autonym:
[speller.name]
en = "Plains Cree spellchecker"
crk = "Autonym spellchecker"

# Description of the speller package in various languages.
# The default is English + autonym:
[speller.description]
en = "A spellchecker for Plains Cree, made by members of the language community, and by the Divvun and Giellatekno groups at UiT The Arctic University of Norway"
crk = "TRANSLATE: A spellchecker for Plains Cree, made by members of the language community, and by the Divvun and Giellatekno groups at UiT The Arctic University of Norway"

[macos]
system_pkg_id = "no.divvun.MacDivvun.crk"

Expand Down
24 changes: 9 additions & 15 deletions tools/spellcheckers/index.Cans.xml.in
Original file line number Diff line number Diff line change
@@ -1,28 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<hfstspeller dtdversion="1.0" hfstversion="3">
<info>
<locale>crk-Cans</locale>
<title>UofAlberta/GT/Divvun/UiT speller for Syllabic Plains Cree.</title>
<description>This is an fst-based speller for Plains Cree using the Canadian
syllabic script. It is based
on the normative subset of the morphological analyser for Plains Cree.
The source code can be found at:
https://victorio.uit.no/langtech/trunk/langs/crk/
License: GPL3+.</description>
<version vcsrev="GT_REVISION">GT_VERSION</version>
<locale>@GLANG2@-Cans</locale>
<title>@SPELLER_NAME_ENG@, Canadian Aboriginal Syllabics</title>
<description>@SPELLER_DESC_ENG@, using the Canadian
Aboriginal Syllabics.</description>
<version>@SPELLERVERSION@</version>
<date>DATE</date>
<producer>UofAlberta/Giellatekno/Divvun/UiT contributors</producer>
<contact email="[email protected]" website="http://divvun.no"/>
</info>
<acceptor type="general" id="acceptor.default.hfst">
<title>UofAlberta/Giellatekno/Divvun/UiT dictionary Plains Cree</title>
<description>UofAlberta/Giellatekno/Divvun/UiT dictionary for
syllabic-scripted Plains Cree compiled for HFST.</description>
<title>@GLANGUAGE@ speller lexicon, Canadian Aboriginal Syllabics</title>
<description>@GLANGUAGE@ speller lexicon compiled with HFST.</description>
</acceptor>
<errmodel id="errmodel.default.hfst">
<title>Levenshtein edit distance transducer</title>
<description>Correction model for keyboard misstrokes, at most 2 per
word.</description>
<title>@GLANGUAGE@ error model, Canadian Aboriginal Syllabics</title>
<description>Error model for @GLANGUAGE@.</description>
<type type="default"/>
<model>errormodel.default.hfst</model>
</errmodel>
Expand Down
24 changes: 9 additions & 15 deletions tools/spellcheckers/index.macron.xml.in
Original file line number Diff line number Diff line change
@@ -1,28 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<hfstspeller dtdversion="1.0" hfstversion="3">
<info>
<locale>crk-x-macron</locale>
<title>UofAlberta/GT/Divvun/UiT speller for Plains Cree macron SRO.</title>
<description>This is an fst-based speller for Plains Cree using SRO
with macrons for marking long vowels. It is based
on the normative subset of the morphological analyser for Plains Cree.
The source code can be found at:
https://victorio.uit.no/langtech/trunk/langs/crk/
License: GPL3+.</description>
<version vcsrev="GT_REVISION">GT_VERSION</version>
<locale>@GLANG2@-x-macron</locale>
<title>@SPELLER_NAME_ENG@, macron SRO.</title>
<description>@SPELLER_DESC_ENG@. This version uses SRO
with macrons for marking long vowels.</description>
<version>@SPELLERVERSION@</version>
<date>DATE</date>
<producer>UofAlberta/Giellatekno/Divvun/UiT contributors</producer>
<contact email="[email protected]" website="http://divvun.no"/>
</info>
<acceptor type="general" id="acceptor.default.hfst">
<title>UofAlberta/Giellatekno/Divvun/UiT dictionary Plains Cree</title>
<description>UofAlberta/Giellatekno/Divvun/UiT dictionary for
syllabic-scripted Plains Cree compiled for HFST.</description>
<title>@GLANGUAGE@ speller lexicon, macron SRO</title>
<description>@GLANGUAGE@ speller lexicon compiled with HFST.</description>
</acceptor>
<errmodel id="errmodel.default.hfst">
<title>Levenshtein edit distance transducer</title>
<description>Correction model for keyboard misstrokes, two errors per
word plus one error in endings.</description>
<title>@GLANGUAGE@ error model, macron SRO</title>
<description>Error model for @GLANGUAGE@.</description>
<type type="default"/>
<model>errormodel.default.hfst</model>
</errmodel>
Expand Down

0 comments on commit d9d48c2

Please sign in to comment.