apertium / apertium/apertium-init

Read Monolingual modes.xml

Open
#129 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
9
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Every bilingual option except which transfer system to use can be derived from the monolingual `modes.xml`, so why not have a `--with-lang1` and `--with-lang2` that figures it out? This could also then support creating translators for languages with variants or multiple orthographies.

Some specific notes:
- if there's a mode matching `*-lexc` or `*-lexd`, we need HFST trimming
- are all preference files present in monolingual modes, or should we add an option for that?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the command-line option handling and the code that reads monolingual modes.xml. Determine how existing bilingual setup identifies transfer systems, handles *-lexc or *-lexd modes and HFST trimming, and checks preference files. Done should include working --with-lang1 and --with-lang2 support for variants or multiple orthographies, with the preference-file behavior resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.