This is an automated email from the ASF dual-hosted git repository.
rawkintrevo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mahout.git
The following commit(s) were added to refs/heads/master by this push:
new 7fccb78 Fixes MAHOUT-2106
new ae6acff Merge pull request #397 from rawkintrevo/MAHOUT-2106
7fccb78 is described below
commit 7fccb7886d12bce4ad44e78d03bfe6dbb3b76449
Author: Trevor a.k.a @rawkintrevo <[email protected]>
AuthorDate: Mon Jun 8 14:58:31 2020 -0500
Fixes MAHOUT-2106
---
.../apache/mahout/utils/nlp/collocations/llr/BloomTokenFilter.java | 4 ++--
.../mahout/utils/nlp/collocations/llr/BloomTokenFilterTest.java | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git
a/community/mahout-mr/integration/src/main/java/org/apache/mahout/utils/nlp/collocations/llr/BloomTokenFilter.java
b/community/mahout-mr/integration/src/main/java/org/apache/mahout/utils/nlp/collocations/llr/BloomTokenFilter.java
index 964c8cc..7fcc066 100644
---
a/community/mahout-mr/integration/src/main/java/org/apache/mahout/utils/nlp/collocations/llr/BloomTokenFilter.java
+++
b/community/mahout-mr/integration/src/main/java/org/apache/mahout/utils/nlp/collocations/llr/BloomTokenFilter.java
@@ -46,8 +46,8 @@ public final class BloomTokenFilter extends TokenFilter {
/**
* @param filter tokens will be checked for membership in this bloom filter
* @param in the tokenstream to read.
- * @param keepMembers keep memoers of the bloom filter? If true works like
- * a whitelist and members found in the list are kept and all others are
+ * @param keepMembers keep members of the bloom filter? If true works like
+ * a list and members found in the list are kept and all others are
* dropped. If false works like a stoplist and members found in the
* filter are dropped all others are kept.
*/
diff --git
a/community/mahout-mr/integration/src/test/java/org/apache/mahout/utils/nlp/collocations/llr/BloomTokenFilterTest.java
b/community/mahout-mr/integration/src/test/java/org/apache/mahout/utils/nlp/collocations/llr/BloomTokenFilterTest.java
index 4fdbbbc..96a86c6 100644
---
a/community/mahout-mr/integration/src/test/java/org/apache/mahout/utils/nlp/collocations/llr/BloomTokenFilterTest.java
+++
b/community/mahout-mr/integration/src/test/java/org/apache/mahout/utils/nlp/collocations/llr/BloomTokenFilterTest.java
@@ -112,7 +112,7 @@ public final class BloomTokenFilterTest extends
MahoutTestCase {
ts.close();
}
- /** shingles, keep those matching whitelist */
+ /** shingles, keep those matching list */
@Test
public void testShingleFilteredAnalyzer() throws IOException {
Reader reader = new StringReader(input);