Skip to content

Commit

Permalink
Full remove old translation process
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtavis committed Oct 12, 2024
1 parent ffcf567 commit 228bf9a
Show file tree
Hide file tree
Showing 11 changed files with 2 additions and 410 deletions.
11 changes: 0 additions & 11 deletions docs/source/scribe_data/translation/index.rst

This file was deleted.

34 changes: 0 additions & 34 deletions docs/source/scribe_data/translation/query_words_to_translate.rst

This file was deleted.

8 changes: 0 additions & 8 deletions docs/source/scribe_data/translation/translation_utils.rst

This file was deleted.

20 changes: 0 additions & 20 deletions docs/source/scribe_data/translation/update_words_to_translate.rst

This file was deleted.

9 changes: 2 additions & 7 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,11 @@ numpydoc>=1.6.0
packaging>=20.9
pandas>=1.5.3
pre-commit>=3.7.1
pyarrow>=15.0.0
pytest-cov>=3.0.0
questionary>=1.10.0
regex>=2023.3.23
rich>=10.0.0
ruff>=0.3.3
sentencepiece>=0.1.95
SPARQLWrapper>=2.0.0
sphinx-rtd-theme>=2.0.0
tabulate>=0.8.9
torch>=2.2.1
tqdm==4.66.4
transformers>=4.12
rich>=10.0.0
questionary>=1.10.0
16 changes: 0 additions & 16 deletions src/scribe_data/cli/get.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,22 +111,6 @@ def get_data(
["python", emoji_keyword_extraction_script]
)

# MARK: Translations

elif data_type == "translations":
for lang in languages:
translation_generation_script = (
Path(__file__).parent.parent
/ "language_data_extraction"
/ lang
/ "translations"
/ "translate_words.py"
)

subprocess_result = subprocess.run(
["python", translation_generation_script]
)

# MARK: Query Data

elif language or data_type:
Expand Down
Empty file.
30 changes: 0 additions & 30 deletions src/scribe_data/translation/query_words_to_translate.sparql

This file was deleted.

147 changes: 0 additions & 147 deletions src/scribe_data/translation/translation_utils.py

This file was deleted.

Loading

0 comments on commit 228bf9a

Please sign in to comment.