Skip to content

Commit d6dcf17

Browse files
committed
Reorder
1 parent a54fe2d commit d6dcf17

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

‎README.rst‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,7 @@ results from the command-line.
1414
Example usage
1515
-------------
1616

17-
From the command line::
18-
19-
$ language-check example.txt
20-
foo.txt:1:17: Use 'an' instead of 'a' if the following word starts with a
21-
vowel sound, e.g. 'an article', 'an hour'; suggestions: an
22-
foo.txt:1:51: Did you mean 'to the'?; suggestions: to the
23-
24-
From the interpreter
17+
From the interpreter:
2518

2619
>>> import language_check
2720
>>> lang_check = language_check.LanguageTool("en-US")
@@ -54,6 +47,13 @@ Automatically apply suggestions to the text:
5447
>>> language_check.correct(text, matches)
5548
'A sentence with an error in the Hitchhiker’s Guide to the Galaxy'
5649

50+
From the command line::
51+
52+
$ language-check example.txt
53+
foo.txt:1:17: Use 'an' instead of 'a' if the following word starts with a
54+
vowel sound, e.g. 'an article', 'an hour'; suggestions: an
55+
foo.txt:1:51: Did you mean 'to the'?; suggestions: to the
56+
5757

5858
Installation
5959
------------

0 commit comments

Comments
 (0)