-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/giellalt/lang-crk into d…
…evelop
- Loading branch information
Showing
113 changed files
with
6,787 additions
and
22,394 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
name: "Build FSTs for ALTLab (University of Alberta) and friends" | ||
on: | ||
push: | ||
tags: | ||
# Occurs on tags matching fst-v* like fst-v2020.10.07-alpha.0 | ||
# Why not v*? like ordinary semver. Because it breaks something... | ||
# somewhere. Pester @bbqsrc (Brendan) about it | ||
- 'fst-v*' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
name: Build FSTs | ||
steps: | ||
- name: Get the version | ||
id: get_version | ||
# Stolen from: https://github.community/t/how-to-get-just-the-tag-name/16241/6 | ||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} | ||
- uses: actions/checkout@v2 | ||
with: | ||
repository: giellalt/giella-core | ||
path: giella-core | ||
- uses: actions/checkout@v2 | ||
with: | ||
repository: giellalt/giella-shared | ||
path: giella-shared | ||
- uses: actions/checkout@v2 | ||
with: | ||
path: lang | ||
# We have this directory structure now: | ||
# ${GITHUB_WORKSPACE}/ | ||
# ├── giella-core/ | ||
# ├── giella-shared/ | ||
# └── lang/ | ||
# └── src/ | ||
# └── quick.mk | ||
- name: Install dev dependencies | ||
uses: divvun/actions/lang/install-deps@master | ||
with: | ||
sudo: true | ||
- name: Build giella-core/giella-shared | ||
uses: divvun/actions/lang/build@master | ||
with: | ||
spellers: false | ||
fst: hfst | ||
- name: Use quick.mk (custom Makefile) to generate FSTs | ||
run: make -C lang/src -f quick.mk -j4 fsts.zip | ||
- name: Create a release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: Release ${{ github.ref }} | ||
body: "Automatic release ${{ steps.get_version.outputs.VERSION }}" | ||
draft: false | ||
prerelease: false | ||
- name: Attach FSTs to the release | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./lang/src/fsts.zip | ||
asset_name: plains-cree-fsts-${{ steps.get_version.outputs.VERSION }}.zip | ||
asset_content_type: application/zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,88 @@ | ||
/configure | ||
/aclocal.m4 | ||
/build-aux | ||
/autom4te.cache | ||
bygg | ||
build | ||
Makefile.in | ||
Makefile | ||
.DS_Store | ||
*.*fst | ||
*.hfstol | ||
*.foma | ||
*.bin | ||
*.att.gz | ||
*.bcg3 | ||
*.bin | ||
*.foma | ||
*.hfstol | ||
*.oxt | ||
*.pmhfst | ||
*.service | ||
*.tmp | ||
*.xpi | ||
*.zcheck | ||
*.zhfst | ||
*.zip | ||
*.service | ||
/src/fst/generated_files/* | ||
/src/fst/url.lexc | ||
/src/fst/*.tmp.* | ||
/src/fst/lexicon* | ||
*.zpipe | ||
.DS_Store | ||
/aclocal.m4 | ||
/autom4te.cache | ||
/build-aux | ||
/config.log | ||
/config.status | ||
/configure | ||
/devtools/check_analysis_regressions.sh | ||
/devtools/test_grammar_checker.sh | ||
/devtools/test_ospell-office_suggestions.sh | ||
/devtools/test_voikkospell_suggestions.sh | ||
/giella-*.pc | ||
/misc/* | ||
/src/cg3/dependency.cg3 | ||
/src/cg3/disambiguator.cg3 | ||
/src/cg3/functions.cg3 | ||
/src/cg3/korp.cg3 | ||
/tools/grammarcheckers/*.pmhfst | ||
/tools/grammarcheckers/*.cg3 | ||
/tools/grammarcheckers/*.zhfst | ||
/tools/grammarcheckers/*.zcheck | ||
/tools/grammarcheckers/modes | ||
/tools/grammarcheckers/errors.xml | ||
/tools/grammarcheckers/schemas.xml | ||
/tools/grammarcheckers/pipespec.xml | ||
/tools/analysers/*.pmhfst | ||
/src/filters/remove-all*.regex | ||
/src/filters/remove-homonymy-tags.regex | ||
/src/fst/*.tmp.* | ||
/src/fst/generated_files/*.lexc | ||
/src/fst/lexicon* | ||
/src/fst/url.lexc | ||
/test/run-morph-tester.sh | ||
/test/run-yaml-testcases.sh | ||
/test/src/morphology/analysed*.txt | ||
/test/src/morphology/filtered* | ||
/test/src/morphology/generate-*-lemmas.sh | ||
/test/src/morphology/generated*.txt | ||
/test/src/morphology/missing_*.txt | ||
/test/src/phonology/negative-*.txt | ||
/test/src/phonology/pair-*.txt | ||
/test/src/phonology/pair-test-*.sh | ||
/test/src/phonology/positive-*.txt | ||
/test/src/phonology/twolcscript.sh | ||
/test/tools/spellcheckers/fstbased/desktop/hfst/accept-all-lemmas.sh | ||
/test/tools/spellcheckers/fstbased/desktop/hfst/test-zhfst-basic-sugg-speed.sh | ||
/test/tools/spellcheckers/test-zhfst-file.sh | ||
/tools/analysers/*.cg3 | ||
/tools/analysers/*.pmhfst | ||
/tools/analysers/*.zcheck | ||
/tools/analysers/modes | ||
/tools/grammarcheckers/pipespec.xml | ||
/config.log | ||
/config.status | ||
/giella-*.pc | ||
/devtools/test_voikkospell_suggestions.sh | ||
/devtools/test_ospell-office_suggestions.sh | ||
/devtools/test_grammar_checker.sh | ||
/devtools/check_analysis_regressions.sh | ||
/tools/analysers/pipespec.xml | ||
/tools/grammarcheckers/*.cg3 | ||
/tools/grammarcheckers/errors.xml | ||
/tools/grammarcheckers/filters/make-*-CG-tags.regex | ||
/tools/grammarcheckers/freecorpus.err | ||
/tools/grammarcheckers/modes | ||
/tools/grammarcheckers/pipespec.xml | ||
/tools/grammarcheckers/schemas.xml | ||
/tools/hyphenators/all_tags.txt | ||
/tools/mt/apertium/*.cg3 | ||
/tools/mt/apertium/tagsets/apertium.relabel | ||
/tools/mt/apertium/tagsets/apertiumtags.txt | ||
/tools/mt/apertium/tagsets/mt-tags.txt | ||
/tools/spellcheckers/filters/rename-POS_before_Der-tags.regex | ||
/tools/shellscripts/u*-gt.sh | ||
/test/run-morph-tester.sh | ||
/test/run-yaml-testcases.sh | ||
/test/src/morphology/generate-noun-lemmas.sh | ||
/test/src/morphology/generate-propernoun-lemmas.sh | ||
/test/src/morphology/generate-adjective-lemmas.sh | ||
/test/src/morphology/generate-verb-lemmas.sh | ||
/test/src/phonology/pair-test-positive.sh | ||
/test/src/phonology/pair-test-negative.sh | ||
/test/src/phonology/pair-test-hfst.sh | ||
/test/tools/spellcheckers/test-zhfst-file.sh | ||
/test/tools/spellcheckers/fstbased/desktop/hfst/test-zhfst-basic-sugg-speed.sh | ||
/test/tools/spellcheckers/fstbased/desktop/hfst/accept-all-lemmas.sh | ||
/tools/spellcheckers/easteregg.* | ||
/tools/spellcheckers/editdist.default.regex | ||
/tools/spellcheckers/filters/remove-word-boundary.regex | ||
/tools/spellcheckers/filters/block-illegal_compound-strings.regex | ||
/tools/spellcheckers/filters/convert_to_flags-CmpNP-tags.regex | ||
/tools/spellcheckers/filters/insert-default-compounding-tags.regex | ||
/tools/spellcheckers/filters/insert-default_left_compounding-tags.regex | ||
/tools/spellcheckers/filters/remove-derivation-position-tags.regex | ||
/tools/spellcheckers/filters/remove-illegal-derivation-strings-flagbased.regex | ||
/tools/spellcheckers/filters/remove-usage-tags.regex | ||
/tools/spellcheckers/filters/remove-word-boundary.regex | ||
/tools/spellcheckers/filters/split-CmpN-tags.regex | ||
/tools/spellcheckers/filters/split-CmpNP-tags.regex | ||
/tools/spellcheckers/*spellercorpus.*.txt | ||
/tools/spellcheckers/weights/*.clean.txt | ||
/tools/spellcheckers/easteregg.* | ||
Makefile | ||
Makefile.in | ||
build | ||
bygg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
README.markdown |
Oops, something went wrong.