Aragonese and Catalan

                            apertium-arg-cat
===============================================================================

This is an Apertium language pair for translating between Aragonese and
Catalan. What you can use this language package for:

* Translating between Aragonese and Catalan
* Morphological analysis of Aragonese and Catalan
* Part-of-speech tagging of Aragonese and Catalan

For information on the latter two points, see subheading "For more
information" below

Requirements
===============================================================================

You will need the following software installed:

* lttoolbox (>= 3.3.0)
* apertium (>= 3.3.0)
* vislcg3 (>= 0.9.9.10297)
* apertium-arg
* apertium-cat

If this does not make any sense, we recommend you look at: apertium.org

Compiling
===============================================================================

Given the requirements being installed, you should be able to just run:

$ ./configure
$ make
# make install

You can use ./autogen.sh instead of ./configure you're compiling from
SVN. If you installed any prerequisite language packages using a --prefix
to ./configure, make sure to give the same --prefix to ./configure here.

Testing
===============================================================================

If you are in the source directory after running make, the following
commands should work:

$  echo "TODO test sentence 1" | apertium -d . arg-cat
TODO test translated sentence 1

$ echo "TODO test sentence 2" | apertium -d . cat-arg
TODO test translated sentence 2

After installing somewhere in $PATH, you should be able to do e.g.

$  echo "TODO test sentence 1" | apertium arg-cat
TODO test translated sentence 1

Files and data
===============================================================================

* apertium-arg-cat.arg-cat.dix  - Bilingual dictionary
* apertium-arg-cat.arg-cat.t1x  - Chunking rules for translating into Catalan
* apertium-arg-cat.cat-arg.t1x  - Chunking rules for translating into Aragonese
* apertium-arg-cat.arg-cat.t2x  - Interchunk rules for translating into Catalan
* apertium-arg-cat.cat-arg.t2x  - Interchunk rules for translating into Aragonese
* apertium-arg-cat.arg-cat.t3x  - Postchunk rules for translating into Catalan
* apertium-arg-cat.cat-arg.t3x  - Postchunk rules for translating into Aragonese
* apertium-arg-cat.arg-cat.lrx  - Lexical selection rules for translating into Catalan
* apertium-arg-cat.cat-arg.lrx  - Lexical selection rules for translating into Aragonese
* modes.xml                     - Translation modes

For more information
===============================================================================

* https://wiki.apertium.org/wiki/Installation
* https://wiki.apertium.org/wiki/apertium-arg-cat
* https://wiki.apertium.org/wiki/Using_an_lttoolbox_dictionary

Help and support
===============================================================================

If you need help using this language pair or data, you can contact:

* Mailing list: apertium-stuff@lists.sourceforge.net
* IRC: #apertium on irc.oftc.net

See also the file AUTHORS included in this distribution.

## 0.4.0 release preparation — 1 December 2026

Expanded reviewed bilingual vocabulary and directional preferences. Improved
contextual lexical selection, pair-local disambiguation and transfer, including
bien/ben, adubir constructions, malas que, proper names and non-finite verbs.
Superlatives use molt/muit plus an adjective when an appropriate synthetic
form cannot be generated.

Dictionary snapshot: 24,826 active XML section entries, including 6,966 proper-name entries; 6 disabled section entries excluded. These are XML counts, not
counts of distinct words, generated forms or translations.

Aragonese generation supports nine optional preferences: y/e,
-ato/-ata/-ito/-ita participial and related nominal endings, per/por, mas/mes,
nos/mos, tos/vos, periphrastic past, short gerunds (-and/-end/-ind), and short
first-person plural forms. Defaults are preserved unless an option is enabled.

### Corpus coverage (%)

| Corpus | Pair direction | Full analysis | Trimmed analysis | Final output |
| --- | --- | ---: | ---: | ---: |
| Common Voice | ARG→CAT | 95.29 | 91.15 | 91.22 |
| Wikipedia (AAL) | ARG→CAT | 91.31 | 86.56 | 86.59 |
| Literature/press (AAL) | ARG→CAT | 96.15 | 90.70 | 90.96 |
| ca.crp.txt | CAT→ARG | 94.53 | 87.75 | 87.75 |
| ca_test.txt (subset) | CAT→ARG | 94.38 | 87.83 | 87.83 |
| FLORES dev | ARG→CAT | 95.73 | 91.83 | 91.99 |
| FLORES dev | CAT→ARG | 97.84 | 92.11 | 92.11 |
| FLORES devtest | ARG→CAT | 96.15 | 92.43 | 92.56 |
| FLORES devtest | CAT→ARG | 98.01 | 92.49 | 92.50 |

Coverage was measured on 1 December 2026 with default preferences. Full and
trimmed analysis count native lexical units containing letters with at least one
analysis; final-output coverage counts orthographic word tokens without *, @ or #.
The three measures have different denominators. Coverage is not translation
accuracy. The non-FLORES corpora have also been used during development.

The owner reports that the Aragonese corpus copies are adapted to AAL, possibly
without a thorough revision. No spelling conversions or content filtering were
performed for this evaluation. Wikipedia includes foreign text and markup residue.
ca_test is a subset of ca.crp.txt and is not an independent corpus.

### FLORES reference evaluation

| Direction | Split | BLEU | chrF2 | WER (%) | PER (%) |
| --- | --- | ---: | ---: | ---: | ---: |
| ARG→CAT | dev | 21.93 | 53.84 | 66.65 | 52.48 |
| ARG→CAT | devtest | 24.67 | 56.01 | 62.97 | 49.42 |
| CAT→ARG | dev | 20.03 | 51.56 | 64.94 | 51.53 |
| CAT→ARG | devtest | 22.61 | 53.97 | 61.84 | 49.42 |

997 dev and 1,012 devtest segments; native unmarked output (-u), default
preferences. SacreBLEU 2.4.3: case-sensitive BLEU/13a and chrF2 (character order
6, word order 0, beta 2); WER/PER use NFC and case-sensitive 13a tokenization,
micro-averaged over segments. Lower WER/PER is better.
Note that FLORES corpus sentences are not always direct translations.

### Testvoc

Testvoc OK with trimmed dictionaries and default preferences: ARG→CAT 141,181, CAT→ARG 135,833.
Zero @ and zero # in this finite lexical test. Enclitic combinations and
regex-only entries are outside its scope; see dev/ for the runner and summaries.
