Skip to content

Commit 1eefc74

Browse files
committed
Update docs
1 parent 4981aeb commit 1eefc74

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/classifier.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ Return an array of one or more Prediction instances
4545
| --- | --- | --- | --- |
4646
| input | <code>string</code> | | Input string to make a prediction from |
4747
| [maxMatches] | <code>int</code> | <code>1</code> | Maximum number of predictions to return |
48-
| [minimumConfidence] | <code>float</code> | <code></code> | Minimum confidence required to include a prediction |
48+
| [minimumConfidence] | <code>float</code> | <code>null</code> | Minimum confidence required to include a prediction |

src/classifier.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ class Classifier {
9393
* Return an array of one or more Prediction instances
9494
*
9595
* @param {string} input - Input string to make a prediction from
96-
* @param {int} [maxMatches] Maximum number of predictions to return
97-
* @param {float} [minimumConfidence] Minimum confidence required to include a prediction
96+
* @param {int} [maxMatches=1] Maximum number of predictions to return
97+
* @param {float} [minimumConfidence=null] Minimum confidence required to include a prediction
9898
* @return {Array}
9999
*/
100100
predict(input, maxMatches = 1, minimumConfidence = null) {

0 commit comments

Comments
 (0)