Back to LanguageTool Homepage - Privacy - Imprint

Check for only grammar mistakes


(sahar) #1

Hi,
I am new here. I have some text from web and I want to filter and only receive "good sentences". by "good sentences" I mean sentences that are grammatically correct. So I guess, I can use this tool since if there is any error in the syntax of a sentence it will inform me. Am I correct?

if yes, now I only need a small adjustment to the code. because for example I don't care about small grammatical errors. for example I don't want to detect an error if the names or sentences are not started with capital letter.

how can I ignore those rules?

thank you so much


(sahar) #2

I just test some examples and found LT does not check the grammar of the sentence. Any library or something which I can add and does this for me?

Thanks!


(Daniel Naber) #3

On Fr 03.05.2013, 10:01:22 you wrote:

I am new here. I have some text from web and I want to filter and only
receive "good sentences". by "good sentences" I mean sentences that are
grammatically correct. So I guess, I can use this tool since if there is
any error in the syntax of a sentence it will inform me. Am I correct?

Basically yes... only that LanguageTool cannot detect all kinds of errors,
only those for which an error rule exists.

if yes, now I only need a small adjustment to the code. because for
example I don't care about small grammatical errors. for example I don't
want to detect an error if the names or sentences are not started with
capital letter.

If you're using the command line version, you can use option -d (or
--disable) to turn off rules.

Regards
Daniel

--
http://www.danielnaber.de


(Daniel Naber) #4

On Fr 03.05.2013, 11:59:41 you wrote:

I just test some examples and found LT does not check the grammar of the
sentence. Any library or something which I can add and does this for me?

What sentence did you test? Does it work with the example sentence we use
on http://www.languagetool.org/?

Regards
Daniel

--
http://www.danielnaber.de