GithubHelp home page GithubHelp logo

Comments (2)

argosopentech avatar argosopentech commented on September 28, 2024

Thanks for the detailed report. I just tested Stanza version 1.8.1 for Albanian myself and it is broken.

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
2024-03-17 07:26:29 WARNING: Language en package default expects mwt, which has been added
2024-03-17 07:26:33 WARNING: Language en package default expects mwt, which has been added
('No translation available for this language pair',)
2024-03-17 07:27:18 WARNING: Language en package default expects mwt, which has been added
('No translation available for this language pair',)
2024-03-17 07:27:42 WARNING: Unsupported language: sq.
Traceback (most recent call last):
  File "/home/pj/Downloads/env/lib/python3.10/site-packages/argostranslategui/gui.py", line 39, in run
    translated_text = self.translation_function()
  File "/home/pj/Downloads/env/lib/python3.10/site-packages/argostranslate/translate.py", line 63, in translate
    return self.hypotheses(input_text, num_hypotheses=1)[0].value
  File "/home/pj/Downloads/env/lib/python3.10/site-packages/argostranslate/translate.py", line 296, in hypotheses
    translated_paragraph = self.underlying.hypotheses(
  File "/home/pj/Downloads/env/lib/python3.10/site-packages/argostranslate/translate.py", line 173, in hypotheses
    apply_packaged_translation(
  File "/home/pj/Downloads/env/lib/python3.10/site-packages/argostranslate/translate.py", line 418, in apply_packaged_translation
    stanza_pipeline = stanza.Pipeline(
  File "/home/pj/Downloads/env/lib/python3.10/site-packages/stanza/pipeline/core.py", line 264, in __init__
    raise ValueError(f'No processors to load for language {lang}.  Language {lang} is currently unsupported')
ValueError: No processors to load for language sq.  Language sq is currently unsupported
Aborted (core dumped)

from argos-translate.

argosopentech avatar argosopentech commented on September 28, 2024

I just released Argos Translate v1.9.3 which pins the Stanza version at 1.1.1.

from argos-translate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.