Skip to content

Commit

Permalink
Merge pull request #302 from axa-group/feature/fix_stemmers
Browse files Browse the repository at this point in the history
fix: some stemmers have a duplicated stem method
  • Loading branch information
Jesús Seijas authored Oct 20, 2019
2 parents f99df5c + 6d8c8f5 commit 39fc714
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 28 deletions.
7 changes: 0 additions & 7 deletions lib/nlp/stemmers/armenian-stemmer.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,13 +225,6 @@ class ArmenianStemmer extends BaseStemmer {
this.cursor = this.limit_backward;
return true;
}
stem(...args) {
switch (args.length) {
case 0:
return this.stem(...args);
}
return super.stem(...args);
}
}

ArmenianStemmer.a_0 = [
Expand Down
7 changes: 0 additions & 7 deletions lib/nlp/stemmers/irish-stemmer.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,13 +339,6 @@ class IrishStemmer extends BaseStemmer {
this.cursor = this.limit_backward;
return true;
}
stem(...args) {
switch (args.length) {
case 0:
return this.stem(...args);
}
return super.stem(...args);
}
}

IrishStemmer.a_0 = [
Expand Down
7 changes: 0 additions & 7 deletions lib/nlp/stemmers/slovene-stemmer.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,13 +212,6 @@ class SloveneStemmer extends BaseStemmer {
this.cursor = this.limit_backward;
return true;
}
stem(...args) {
switch (args.length) {
case 0:
return this.stem(...args);
}
return super.stem(...args);
}
}

SloveneStemmer.a_0 = [
Expand Down
7 changes: 0 additions & 7 deletions lib/nlp/stemmers/tamil-stemmer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1703,13 +1703,6 @@ class TamilStemmer extends BaseStemmer {
this.cursor = v_10;
return true;
}
stem(...args) {
switch (args.length) {
case 0:
return this.stem(...args);
}
return super.stem(...args);
}
}

TamilStemmer.a_0 = [
Expand Down

0 comments on commit 39fc714

Please # to comment.