Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dhowe committed Feb 1, 2022
1 parent b2446b8 commit e8fe93a
Show file tree
Hide file tree
Showing 3 changed files with 115 additions and 95 deletions.
6 changes: 3 additions & 3 deletions src/lexicon.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class Lexicon {
return false;
}

findStem(word) {
/*findStem(word) { // JC: what is this function doing?
let part = word;
let dict = this._dict(true);
Expand All @@ -68,7 +68,7 @@ class Lexicon {
}
return undefined;
}
}*/

alliterations(theWord, opts = {}) {

Expand Down Expand Up @@ -302,7 +302,7 @@ class Lexicon {

similarByType(theWord, opts) { // slow as we need to iterate through all

this.parseArgs(opts);
this.parseArgs(opts); // TODO: add minLimit (minResultCount) ?

const dict = this._dict(true);
const input = theWord.toLowerCase();
Expand Down
Loading

0 comments on commit e8fe93a

Please sign in to comment.