Skip to content

Commit

Permalink
Merge pull request lucene-gosen#27 from socar-kong/issue_typo
Browse files Browse the repository at this point in the history
Issue lucene-gosen#28 Corrected mistyped words

Closes lucene-gosen#28
  • Loading branch information
johtani authored Nov 2, 2018
2 parents 4c9c8bd + 3836b51 commit b14c701
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/main/java/net/java/sen/StringTagger.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import net.java.sen.filter.StreamFilter;

/**
* Tokenizes strings
* Tokenized strings
*
* <p>See examples.StringTaggerDemo in the Sen source for an example of how to
* use this class
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/java/sen/dictionary/Morpheme.java
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ public String toString() {
/**
* Builds a lazy proxy onto a part-of-speech stored in a Dictionary
*
* @param dictionary The dicationary to proxy upon
* @param dictionary The dictionary to proxy upon
* @param partOfSpeechIndex The index into the part-of-speech file
*/
public Morpheme(Dictionary dictionary, int partOfSpeechIndex) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/java/sen/dictionary/Sentence.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/**
* A Sentence represents a character array to be morphologically analysed. It
* supports breaking ignore spans, which prevent certain characters from being
* considered for tokenisation, and reading constraints which restrict the
* considered for tokenization, and reading constraints which restrict the
* returned morphemes at a certain position to those with the given reading.
*/
public class Sentence {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/java/sen/filter/ReadingFilter.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public interface ReadingFilter {
/**
* Resets any sentence specific state held by the filter. The implementing
* filter decides exactly what state is affected, and may choose, for
* instance, to exclude state relating to global or persistant settings
* instance, to exclude state relating to global or persistent settings
*/
public void reset();
}
4 changes: 2 additions & 2 deletions src/test/java/net/java/sen/CompositeTokenFilterTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,12 @@ public void testCompositeFilter3() throws IOException {
}

/**
* UnkownPOS composite
* UnknownPOS composite
*
* @throws IOException
*/
@Test
public void testUnkownWordCompositeFilter() throws IOException {
public void testUnknownWordCompositeFilter() throws IOException {
String testString = "ニンテンドーDSi";

Token[] testTokens = new Token[] {
Expand Down

0 comments on commit b14c701

Please sign in to comment.