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
Copy file name to clipboardExpand all lines: README.md
+16-11Lines changed: 16 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,16 +15,18 @@ cleanup work for all clones/forks with unmerged changes.
15
15
## Installation
16
16
17
17
1. Clone repo from Github
18
-
1.`cd AWE_LanguageTool`
19
-
1.`pip install -e .`
20
-
1. NOTE: should this just be included in AWE Components? That's what we use to interface with the other NLP stuff
18
+
2.`cd AWE_LanguageTool`
19
+
3.`pip install -e .`
21
20
22
-
## Running
21
+
## LanguageTool Configuration & Running
23
22
24
-
The system is ran using a client-server model.
25
-
The server runs the relevant Java command to start the `languagetool-server.jar` file.
26
-
This files comes from directly from the original Language Tool.
27
-
The client handles wrapping the output and adding in additional error classification categories.
23
+
The system is run using a client-server model. The server runs the relevant Java command to start the `languagetool-server.jar` file (which comes from LanaguageTool). The client handles wrapping the output and adding in additional error classification categories.
24
+
25
+
Before running LanguageTool, *you must first copy/write a server config file into*`awe_languagetool/LanguageTool5_5/`. We've provided a sample config file called `languagetool.tmp.cfg`. If you copy this file, you must rename it to `languagetool.cfg`.
26
+
27
+
By default, LT runs pretty slow with too many incoming requests; you can modify the server settings for LT in `awe_languagetool/LanguageTool5_5/languagetool.cfg`. See [this forum post](https://forum.languagetool.org/t/too-many-parallel-requests/8290/3) on a decent server config file. For a full description of all server config options, see [LT5.5 Source Code](https://github.com/languagetool-org/languagetool/blob/c6321ab5837a9e1ae5501d746f947f5706b4b274/languagetool-server/src/main/java/org/languagetool/server/HTTPServerConfig.java).
28
+
29
+
With the python LT wrapper, this can be run from anywhere in the project. However, if you decide to run the java command directly (see below), this needs to be run within the `awe_languagetool/LanguageTool5_5/` directory.
I do not believe that censorship should be an option for people that find a book, magazine, or movie offensive. I believe that if a person decides to take a book off the shelf because he/she is offended, they are obviously paranoid. If a few cuss words are found in a book and a person doesn't want their children to read that book, then don't allow them to get it. Don't make all of the other people suffer. Censorship is an unnecessary solution to something that isn't even a problem. You know what they say, 'If it ain't broken, don't fix it.'
2
+
3
+
First of all, people have a variety of opinions. Some people think that violence is ok and some people don't think it's ok. If one person decides to put a book off the shelf because they find it offensive, what will the next person think? They may find violence perfectly acceptable and they might allow their kids to read the book. Then it would create a big conflict.
4
+
5
+
Lastly, parents need to allow their kids to grow up and mature. They also need their kids to know the difference between right and wrong. If they don't read books or movies with violence or cuss words when they're young, what will they do when they discover it when they're older? As a child, it is a time to learn life lessons and begin to form clear distinctions between right and wrong. Shielding your children from it will only hinder their progress in figuring things out and learning to think for themselves as adults (Paterson, 2009).
6
+
7
+
Censorship is the same thing that Hitler did to prevent people to think for themselves and discover that his tactics were a great evil to society. In other words, censorship is part of fascism and should not even be considered in American society. The citizens of the U.S. have the responsibility of exposing the truth and teaching our children the differences between right and wrong. It's one of the ideals that help make this country great
0 commit comments