Skip to content

Commit

Permalink
Add TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
PJ-Finlay committed Nov 9, 2023
1 parent 8ba3183 commit 547b7bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion argostranslate/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
### JSON
# ~/.config/argos-translate/settings.json
# $HOME/.config/argos-translate/settings.json
```
{
"ARGOS_DEBUG": "0",
Expand Down
2 changes: 2 additions & 0 deletions argostranslate/translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def get_translation(self, to: Language) -> ITranslation | None:

# Pivot through intermediate languages to add translations
# that don't already exist
# TODO
"""
for language in languages:
keep_adding_translations = True
Expand Down Expand Up @@ -264,6 +265,7 @@ def get_chunk_package(from_code):


def chunk(from_text, from_code):
# TODO Support Stanza and spacy
if argostranslate.settings.chunk_type == argostranslate.settings.ChunkType.NONE:
return [from_text]
elif (
Expand Down

0 comments on commit 547b7bd

Please sign in to comment.