Skip to content

Commit af10e6c

Browse files
committed
fixed a few misspelled words in the documentation
1 parent 3b3f866 commit af10e6c

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

lbjava/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ leaving him to reason more directly about his application.
1111
Visit each link for its content
1212
1. [Introduction](doc/INTRO.md)
1313
2. [Basics and definitions](doc/DEFINITIONS.md)
14-
3. [A working example: classifiying newsgroup documents into topics](doc/20NEWSGROUP.md)
14+
3. [A working example: classifying newsgroup documents into topics](doc/20NEWSGROUP.md)
1515
4. [Syntax of LBJava](doc/LBJLANGUAGE.md)
1616
5. [LBJava library](doc/LBJLIBRARY.md)
1717
6. [A working example: regression](doc/REGRESSION.md)
@@ -80,7 +80,7 @@ NB: If you need to run `mvn clean` at any point, make sure to create `target/cla
8080
running `mvn compile/install` since it is required for the java-source compilation process.
8181

8282
## Using ILP inference
83-
LBJava uses the the solvers included in [illinois-inference](https://gitlab-beta.engr.illinois.edu/cogcomp/inference/) for
83+
LBJava uses the solvers included in [illinois-inference](https://gitlab-beta.engr.illinois.edu/cogcomp/inference/) for
8484
inference. We refer the interested reader to the aforementioned library,
8585
for more details and instructions on how to install these libraries.
8686

lbjava/doc/20NEWSGROUP.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ in the following snippet, simply extends it to
7474
take advantage of that functionality; it won't be necessary to override `reset()`
7575
or `close()`. `NewsgroupParser` takes as input a file
7676
containing the names of other files, assuming that each of those files
77-
represents a single newgroup post. For brevity, we have hidden in `Post`'s
77+
represents a single newsgroup post. For brevity, we have hidden in `Post`'s
7878
constructor the code that actually does the work of filling the fields
7979
of a `Post` object.
8080

@@ -540,7 +540,7 @@ At the bottom of the table will always be the overall accuracy of the classifier
540540
<img width="503" alt="screen shot 2015-11-17 at 3 46 18 am" src="https://cloud.githubusercontent.com/assets/2441454/11207928/d9eb9f3a-8cdd-11e5-8f34-989f3ddebd78.png">
541541

542542
The `TestDiscrete` class also supports the notion of a null label, which is a label intended to
543-
represent the absense of a prediction. The 20 Newsgroups task doesn’t make use of this concept,
543+
represent the absence of a prediction. The 20 Newsgroups task doesn’t make use of this concept,
544544
but if our task were, e.g., named entity classification in which every phrase is potentially a named
545545
entity, then the classifier will likely output a prediction we interpret as meaning “this phrase is
546546
not a named entity.” In that case, we will also be interested in overall precision, recall, and F1

lbjava/doc/LBJLANGUAGE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ classifier expressions, the cast propagates down to those classifier expressions
225225
A conjunction is written with the double ampersand operator (`&&`) in between two classifier
226226
expressions (see Figure 4.1 for an example). The conjunction of two classifiers results in a new
227227
classifier that combines the values of the features returned by its argument classifiers. The nature
228-
of the combination depends on the feature return types of the argument classifiers. Table bellow
228+
of the combination depends on the feature return types of the argument classifiers. Table below
229229
enumerates all possibilities and gives the feature return type of the resulting conjunctive classifier.
230230

231231

@@ -324,7 +324,7 @@ subsets (folds). If the `split-strategy` argument is not provided, the default v
324324
i.e. `[ — 1 — | — 2 — | ... | — K — ]`
325325

326326
- `kth` - The `kth` split strategy also attempts to partition the set of examples in to `K` equally
327-
sized subsets with a round-robin style assignement scheme. The `x`’th example encountered
327+
sized subsets with a round-robin style assignment scheme. The `x`’th example encountered
328328
is assigned to the `(x%K)`’th subset.
329329
i.e. `[ 1 2 3 4 ... K 1 2 3 4 ... K ... ]`
330330

@@ -738,4 +738,4 @@ p.thinkness = {{ 1 -> 3 : 0.5}};
738738
Cross validation is useful, and essential to avoid overfitting problem. For k-fold cross validation, the syntax is:
739739
```
740740
cval k "random"
741-
```
741+
```

lbjava/doc/LBJLIBRARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ as an interface between learning classifiers defined in an source file and appl
174174
make on-line use of their learning capabilities. The class generated by the compiler when
175175
translating a learning classifier expression will always indirectly extend this class.
176176

177-
In addition to the methods inherited from `Classifier`, this class defines the following nonstatic,
177+
In addition to the methods inherited from `Classifier`, this class defines the following non-static,
178178
learning related methods. These are not the only methods defined in class `Learner`, and
179179
advanced users may be interested in perusing the Javadoc for descriptions of other methods.
180180

lbjava/doc/REGRESSION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: REGRESSION
44

55
# 6. A working example: Regression
66

7-
As mentioned in [Section 2 Basics and definitions](DEFINITION.md#feature), there are two feature types in LBJava: `discrete` and `real`. In machine learning, classification refers to the problem of predicting the class of unlabeled data for which the output type is `discrete`. On the hther hand, regression refers to the problem that the desired output is continuous or `real`. [Section 3 A working example: classifying newsgroup documents into topics](20NEWSGROUP.md) gives an example of how to use LBJava for `discrete` type and this tutorial is dedicated to `real` type.
7+
As mentioned in [Section 2 Basics and definitions](DEFINITION.md#feature), there are two feature types in LBJava: `discrete` and `real`. In machine learning, classification refers to the problem of predicting the class of unlabeled data for which the output type is `discrete`. On the other hand, regression refers to the problem that the desired output is continuous or `real`. [Section 3 A working example: classifying newsgroup documents into topics](20NEWSGROUP.md) gives an example of how to use LBJava for `discrete` type and this tutorial is dedicated to `real` type.
88

99
## 6.1 Setting Up
1010

0 commit comments

Comments
 (0)