Skip to content

Commit f722995

Browse files
Copilotjosix
andcommitted
Remove extraction scripts, keep CSV dictionaries as requested
Co-authored-by: josix <[email protected]>
1 parent 516c417 commit f722995

File tree

4 files changed

+8
-531
lines changed

4 files changed

+8
-531
lines changed

.scripts/README.md

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,11 @@
22

33
Useful scripts for the translation.
44

5-
## Translation Dictionary Generation
5+
## Translation Dictionary
66

7-
Extract and build a translation dictionary for terminologies across different .po files to maintain consistency.
7+
The repository includes terminology dictionaries (`terminology_dictionary.csv` and `focused_terminology_dictionary.csv`) that provide standard translations for important Python terms to maintain consistency across documents. These dictionaries are maintained using LLM knowledge and can be referenced by translators.
88

9-
### extract_terminology.py
10-
Main script that processes all .po files and extracts terminology:
11-
12-
```sh
13-
python3 .scripts/extract_terminology.py
14-
```
15-
16-
Generates `terminology_dictionary.csv` with all extracted terms and their translations.
17-
18-
### create_focused_dictionary.py
19-
Creates a curated dictionary focusing on the most important Python terminology:
20-
21-
```sh
22-
python3 .scripts/create_focused_dictionary.py
23-
```
24-
25-
Generates `focused_terminology_dictionary.csv` with categorized high-priority terms.
26-
27-
See the terminology documentation for detailed usage and integration with translation workflow.
9+
See `TERMINOLOGY_DICTIONARY.md` for detailed usage and integration with translation workflow.
2810

2911
## From Google Translation
3012

.scripts/create_focused_dictionary.py

Lines changed: 0 additions & 140 deletions
This file was deleted.

0 commit comments

Comments
 (0)