Giter VIP home page Giter VIP logo

Comments (3)

sylvainhalle avatar sylvainhalle commented on July 30, 2024

This is a problem caused by the LanguageTool JAR file that comes with TeXtidote. I'll try to create a new JAR file and see if that solves the problem.

from textidote.

sylvainhalle avatar sylvainhalle commented on July 30, 2024

The problem was exactly what I thought. The next release of TeXtidote will used a fixed version of the LanguageTool JAR bundle that will solve this problem.

from textidote.

ashwinvis avatar ashwinvis commented on July 30, 2024

Regression?

❯ textidote --check en paper1/article.tex
TeXtidote v0.8 - A linter for LaTeX documents and others
(C) 2018-2019 Sylvain Hallé - All rights reserved

Exception in thread "main" java.lang.ExceptionInInitializerError
	at org.languagetool.language.English.getRelevantRules(English.java:201)
	at org.languagetool.language.AmericanEnglish.getRelevantRules(AmericanEnglish.java:51)
	at org.languagetool.JLanguageTool.getAllBuiltinRules(JLanguageTool.java:390)
	at org.languagetool.JLanguageTool.<init>(JLanguageTool.java:276)
	at org.languagetool.JLanguageTool.<init>(JLanguageTool.java:305)
	at org.languagetool.MultiThreadedJLanguageTool.<init>(MultiThreadedJLanguageTool.java:86)
	at org.languagetool.MultiThreadedJLanguageTool.<init>(MultiThreadedJLanguageTool.java:67)
	at org.languagetool.MultiThreadedJLanguageTool.<init>(MultiThreadedJLanguageTool.java:51)
	at ca.uqac.lif.textidote.rules.CheckLanguage.<init>(CheckLanguage.java:86)
	at ca.uqac.lif.textidote.Main.mainLoop(Main.java:584)
	at ca.uqac.lif.textidote.Main.mainLoop(Main.java:126)
	at ca.uqac.lif.textidote.Main.main(Main.java:112)
Caused by: java.lang.IllegalArgumentException: 'en' is not a language code known to LanguageTool. Supported language codes are: zh-CN. The list of languages is read from META-INF/org/languagetool/language-module.properties in the Java classpath. See http://wiki.languagetool.org/java-api for details.
	at org.languagetool.Languages.getLanguageForShortCode(Languages.java:237)
	at org.languagetool.Languages.getLanguageForShortCode(Languages.java:214)
	at org.languagetool.rules.en.EnglishDashRule.<clinit>(EnglishDashRule.java:37)
	... 12 more

from textidote.

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.