File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 55* [ Classifier] ( #Classifier )
66 * [ new Classifier([ model] )] ( #new_Classifier_new )
77 * [ .model] ( #Classifier+model ) : <code >Model</code >
8- * [ .train([ input] , label)] ( #Classifier+train ) ⇒ <code >this</code >
8+ * [ .train(input, label)] ( #Classifier+train ) ⇒ <code >this</code >
99 * [ .predict(input, [ maxMatches] , [ minimumConfidence] )] ( #Classifier+predict ) ⇒ <code >Array</code >
1010 * [ .splitWords(input)] ( #Classifier+splitWords ) ⇒ <code >Array</code >
1111 * [ .tokenize(input)] ( #Classifier+tokenize ) ⇒ <code >Object</code >
@@ -32,7 +32,7 @@ Model instance
3232
3333<a name =" Classifier+train " ></a >
3434
35- ### classifier.train([ input] , label) ⇒ ` this `
35+ ### classifier.train(input, label) ⇒ ` this `
3636Train the current model using an input string (or array of strings) and a corresponding label
3737
3838| Param | Type | Description |
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ class Classifier {
4040 /**
4141 * Train the current model using an input string (or array of strings) and a corresponding label
4242 *
43- * @param {(string|string[]) } [ input] - String, or an array of strings
43+ * @param {(string|string[]) } input - String, or an array of strings
4444 * @param {string } label - Corresponding label
4545 * @return {this }
4646 */
You can’t perform that action at this time.
0 commit comments