StephanAkkerman / FluentAI

Automating language learning with the power of Artificial Intelligence. This repository presents FluentAI, a tool that combines Fluent Forever techniques with AI-driven automation. It streamlines the process of creating Anki flashcards, making language acquisition faster and more efficient.
https://akkerman.ai/FluentAI/
MIT License
9 stars 1 forks source link

Check if the language is supported in code #48

Closed StephanAkkerman closed 2 weeks ago

StephanAkkerman commented 3 weeks ago
  1. Description:

    • Problem: Currently the supported languages are only written down in a markdown file. We should have this somewhere in the code as a check for later.

    • Solution: When #42 is done, check which languages can be tranlsated + transliterated. Update the markdown file to show clear what is possible for each language: G2p model leading + translation & transliteration For googletrans package we can simply import the supported language dictionary, for g2p we need to manually write it ourselves probably

    • Prerequisites: [List any requirements or dependencies needed before starting.]

  2. Tasks:

    • Make a list of supported languages in code
    • Update the markdown
  3. Additional context Add any other context or screenshots about the feature request here.

StephanAkkerman commented 3 weeks ago

Translate langs: https://py-googletrans.readthedocs.io/en/latest/#googletrans-languages

StephanAkkerman commented 3 weeks ago

Translation is necessary for the semantic sim. Transliteration is necessary for the orthographic sim.

StephanAkkerman commented 3 weeks ago

If the languages for translation are too little we can use this instead: https://pypi.org/project/deep-translator/#check-supported-languages Plan:

StephanAkkerman commented 3 weeks ago

Use our own branch for the most support for languages: https://github.com/StephanAkkerman/py-googletrans/tree/master