Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fbanados authored Jun 26, 2024
1 parent 10d9281 commit 8f7ac74
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions src/CreeDictionary/phrase_translate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,9 @@ The process to update the auto-translated phrases is as follows:

3. Run the unit tests: `pipenv run pytest CreeDictionary`

4. Run the translation script in jsonl-only mode to get a file containing
all the translations for review:

pipenv run ./crkeng-manage translatewordforms --jsonl-only translations.jsonl

You will need to run this against a database that has had the full
dictionary imported for this to be very useful.

5. Commit and make a pull request

6. After the pull request passes tests, is reviewed, merged, and
auto-deployed to `itw.altlab.dev`, SSH there and run

cd /opt/docker-compose/itwewina/morphodict/docker \
&& docker-compose exec itwewina ./crkeng-manage translatewordforms
4. The english phrase FSTs are used:
- By by the `importjsondict` django command, which populates the auto definitions
for every inflected wordform when passed the `--translate-wordforms` flag (which is the default). **There is no separate command to populate translated wordforms since 2022**.
- During search, when building a `PhraseAnalyzedQuery` or an `AnalyzedQuery`
- In the fst_tool admin interface

0 comments on commit 8f7ac74

Please sign in to comment.