File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ for (let i = 0; i < langIDs.length; i++){
148148}
149149```
150150
151- Check [ More] ( #More ) section for more tutorials.
151+ Check [ More] ( #more ) section for more tutorials.
152152
153153## Community
154154
Original file line number Diff line number Diff line change 881881 */
882882 Me . gsents = function ( text ) {
883883 return text . split ( / [ . ? ! ] \s * / ) . filter ( Boolean ) ;
884- }
884+ } ;
885885
886886 /**
887887 * Tokenize a given text (mostly, a sentence)
890890 */
891891 Me . tokenize = function ( text ) {
892892 return text . split ( / \s + / ) ;
893- }
893+ } ;
894894
895895 /**
896896 * Delete stop words from a list of words
899899 */
900900 Me . filter = function ( words ) {
901901 return words ;
902- }
902+ } ;
903903
904904 //==========================================
905905 // HELPER FUNCTIONS
10131013 */
10141014 Me . splitToSentences = function ( text ) {
10151015 return this . gsents ( text ) ;
1016- }
1016+ } ;
10171017
10181018 /**
10191019 * Delete stop words from a list of words
10221022 */
10231023 Me . filterStopWords = function ( words ) {
10241024 return this . filter ( words ) ;
1025- }
1025+ } ;
10261026
10271027 /**
10281028 * Normalization method, used to delete non used chars or to replace some with others, etc.
10661066
10671067 Me . getStemmerDesc = function ( stemmerName ) {
10681068 return this . gstemdesc ( stemmerName ) ;
1069- }
1069+ } ;
10701070
10711071 Me . getFormDesc = function ( formName ) {
10721072 return this . gformdesc ( formName ) ;
1073- }
1073+ } ;
10741074
10751075 /**
10761076 * Convert a word: singular to plural; verb to noun; etc
11391139 * @return {String } the name of the tense in the selected language
11401140 */
11411141 Me . getTenseName = function ( tense ) {
1142- return this . gtensename ( ) ;
1142+ return this . gtensename ( tense ) ;
11431143 } ;
11441144
11451145 /**
You can’t perform that action at this time.
0 commit comments