You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b57d33f
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,41 +10,41 @@ By default, `language_tool_python` will download a LanguageTool server `.jar` an
10
10
11
11
Local server is the default setting. To use this, just initialize a LanguageTool object:
12
12
13
-
> import language_tool_python
14
-
> tool = language_tool_python.LanguageTool('en-US') # use a local server (automatically set up), language English
13
+
import language_tool_python
14
+
tool = language_tool_python.LanguageTool('en-US') # use a local server (automatically set up), language English
15
15
16
16
### Using `language_tool_python` with the public LanguageTool remote server
17
17
18
18
There is also a built-in class for querying LanguageTool's public servers. Initialize it like this:
19
19
20
-
> import language_tool_python
21
-
> tool = language_tool_python.LanguageToolPublicAPI('es') # use the public API, language Spanish
20
+
import language_tool_python
21
+
tool = language_tool_python.LanguageToolPublicAPI('es') # use the public API, language Spanish
22
22
23
23
### Using `language_tool_python` with the another remote server
24
24
25
25
Finally, you're able to pass in your own remote server as an argument to the `LanguageTool` class:
26
26
27
-
> import language_tool_python
28
-
> tool = language_tool_python.LanguageTool('ca-ES', remote_server='https://language-tool-api.mywebsite.net') # use a remote server API, language Catalan
27
+
import language_tool_python
28
+
tool = language_tool_python.LanguageTool('ca-ES', remote_server='https://language-tool-api.mywebsite.net') # use a remote server API, language Catalan
0 commit comments