languagetool

Python 2.7 - grammar-check 1.3.1 library: HTTP Error 400: Bad Request

梦想与她 提交于 2021-02-08 10:42:21
问题 I am trying to use the grammar-check 1.3.1 library for Python I have installed it using the pip commands $ pip install --upgrade 3to2 $ pip install --upgrade language-check I also unzipped the LanguageTool file from this link and moved it to C:\Users\me\AppData\Roaming\Python\Python27\site-packages\grammar_check Then I tried to run a test program import grammar_check tool = grammar_check.LanguageTool('en-GB') text = 'This are bad.' matches = tool.check(text) len(matches) But I got this error:

谷歌插件

只谈情不闲聊 提交于 2020-05-02 10:09:31
前言 出来工作几年了,平时在工作中主要使用谷歌浏览器,调试页面,查询资料,很难离得开这家伙。如何高效的使用谷歌浏览器?这是大多数人都希望知道,但是却很少做得到的一个事情。其实很不难,借助一套谷歌插件和养成使用习惯(认知度和熟悉度)便可。 在工作和平时使用电脑的过程中,有空的时候,喜欢搜索谷歌浏览器插件,有的插件安装了删了又安装,有的删除了永远不想找回来,有的安装了永远不敢删。折腾来折腾去就整了一套插件。一开始搜索折腾插件确实消耗我的时间,最后一整套插件出来,我对这些插件的使用习惯形成,大大提高(不只是工作)效率和上网的体验。 搜索篇 记得2年前我在阮大哥的博客看了一个话:软件是时间黑洞,它可以吞噬大量时间。我高度认同这个话,一个人的时间很有限,禁不起风吹雨打。网页上面的那些广告,美图(特别是美女图片),夸大的标题等等,很容易吸引个人去点击,浏览,时间一分一秒就过去,大多数情况下,这些内容毫无意义,没有营养,这就是吞噬时间。 再说个人时间和精力有限,不要在无用的信息上浪费。现在处于信息爆发时代,一个人随便发个微博,文章,是一个信息。这么多的用户,每天产生多少条信息,这个数量是很可怕的。其中,垃圾信息是占多数的。所以用好浏览器,躲开这些坑,很有必要。 最近发现,其实有种简单的模式使用浏览器,简单高效率。搜索过程分为2个页面:一个是搜索列表页面,例如国内的百度,必应,国外的谷歌

How do I get the Suggested Sentence in a string as output in LanguageTool?

不想你离开。 提交于 2019-12-25 09:05:08
问题 I am using LanguageTool along with Eclipse. The API can be accessed using the link: Click here. I am able to get the text output from it which shows that certain columns have misspelled words but I am not able to get the output which is the corrected string version of the misspelled string given as the input. Here is my code: JLanguageTool langTool = new JLanguageTool(new BritishEnglish()); List<RuleMatch> matches = langTool.check("A sentence with a error in the Hitchhiker's Guide tot he

Open source spell check

China☆狼群 提交于 2019-12-09 14:42:48
问题 Was evaluating adding spell check to a product I own. As per my research the major decisions that need to be made: The library to use. Dictionary( this can be region specific, British english, American etc). Exclusion lists. Anytime a typo is detected its possible that its not a typo but is verbiage specific to the user. At this point the users should be given the ability to add this to his custom exclusion list. Besides a per user custom list also a list of exclusion based on the user space

In LanguageTool, how do you create a dictionary and use it for spell checking?

空扰寡人 提交于 2019-12-07 11:27:29
问题 How do you create a dictionary for spell checking with Language Tool? I'm not a Java programmer and it was the first time I saw LT. 回答1: Hello this is my experience in creating a dictionary for spell checking with Language Tool ! Hope you enjoy it. Part 1: How to create the dictionary You need: • A .txt file with the dictionary inside • An .info file specifying the info on how to set LT output file (It is already present in LT directory). • LanguageTool standalone version • Java 8 At the end

In LanguageTool, how do you create a dictionary and use it for spell checking?

不问归期 提交于 2019-12-05 14:29:20
How do you create a dictionary for spell checking with Language Tool? I'm not a Java programmer and it was the first time I saw LT. Hello this is my experience in creating a dictionary for spell checking with Language Tool ! Hope you enjoy it. Part 1: How to create the dictionary You need: • A .txt file with the dictionary inside • An .info file specifying the info on how to set LT output file (It is already present in LT directory). • LanguageTool standalone version • Java 8 At the end of this section, you will have: • a .dict file i.e. the file with your dictionary in a readable form for LT

Open source spell check

我与影子孤独终老i 提交于 2019-12-04 00:38:28
Was evaluating adding spell check to a product I own. As per my research the major decisions that need to be made: The library to use. Dictionary( this can be region specific, British english, American etc). Exclusion lists. Anytime a typo is detected its possible that its not a typo but is verbiage specific to the user. At this point the users should be given the ability to add this to his custom exclusion list. Besides a per user custom list also a list of exclusion based on the user space of the clients of the tool. That is terms/acronyms in the users work domain. For example FX will not be

Looking for Java spell checker library [closed]

风流意气都作罢 提交于 2019-11-26 05:21:37
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . I am looking for an open source Java spell checking library which has dictionaries for at least the following languages: French,