Skip to content

Commit

Permalink
Merge pull request #309 from KesharwaniArpita/AK-Remove-Translations
Browse files Browse the repository at this point in the history
Remove current Scribe-Data translations process
  • Loading branch information
andrewtavis authored Oct 12, 2024
2 parents 22313ed + 228bf9a commit 8a91f61
Show file tree
Hide file tree
Showing 21 changed files with 3 additions and 1,027 deletions.
7 changes: 1 addition & 6 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,12 @@
"langcodes",
"mwparserfromhell",
"pandas",
"pyarrow",
"PyICU",
"pytest",
"pytest-cov",
"ruff",
"sentencepiece",
"SPARQLWrapper",
"tabulate",
"torch",
"tqdm",
"transformers",
"tqdm"
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
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

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 8a91f61

Please sign in to comment.