giellalt / lang-crk

Finite state and Constraint Grammar based analysers and proofing tools, and language resources for the Plains Cree language
https://giellalt.uit.no
Other
14 stars 1 forks source link

The macron variant is no longer included in the LO crk spell-checker OXT package #5

Open aarppe opened 4 years ago

aarppe commented 4 years ago

The LibreOffice OXT extension for crk no longer includes the macron variant. While being the less used SRO variant in comparison to the SRO circumflex one, we do have some super-users (e.g. AEW) who'd prefer to use the macron variant.

EDIT: the macron variant is not included in: crk_LO-voikko-5.0.oxt, but can be installed with crk-x-macron_LO-voikko-5.0.oxt. It used to be that one got both circumflex and macron SRO variants with crk_LO-voikko-5.0.oxt, but that appears no longer to be the case. Is that intentional?

flammie commented 4 years ago

Hi, I was just debugging this and it seems that the alt orthographies and writing systems aren't included in a fresh build but will, probably unintentionally, go into the oxt if not cleaned between builds. I can add the alternates to the default build for now since it seems to work with LO-5, maybe we'll have more fine-grained control over it at some point?

aarppe commented 4 years ago

At least until now I've found it practical that all the orthographical variants are included in the OXT for a particular language code, such as crk. And that used to be the case, and it seemed like a good default solution - of course, we can always decide to change, if we need to conserve space or for other reasons.

snomos commented 4 years ago

It is a bug that not all variants are included in the oxt - no need to have different oxt's for the different spellers for the same language. We'll fix this.

aarppe commented 4 years ago

Ok, good. Out of interest, where are the contents (i.e. various variants) included in the crk OXT speller defined?

snomos commented 4 years ago
giella-core/am-shared/tools-spellcheckers-fstbased-desktop-hfst-dir-include.am
giella-core/am-shared/tools-spellcheckers-fstbased-desktop-hfst_alt_orth-dir-include.am
giella-core/am-shared/tools-spellcheckers-fstbased-desktop-hfst_alt_ws-dir-include.am
giella-core/am-shared/tools-spellcheckers-fstbased-desktop-hfst_area-dir-include.am
giella-core/am-shared/tools-spellcheckers-fstbased-desktop-hfst_prods_n_upload-dir-include.am
flammie commented 4 years ago

I think the default speller (e.g. crk_LO-voikko-5.0.oxt) should already include all orths and writing systems more consistently. The previous build had an odd race or so where first build (fresh or after make clean) had different files there than otherwise. This is after updating giella-core.

snomos commented 1 year ago

It is included, but there are other issues with the CRK spellers in LO. I'll keep this open for now.