Skip to content

Commit e2765b2

Browse files
committed
Fix lint errors
1 parent df0ce73 commit e2765b2

4 files changed

Lines changed: 7 additions & 2 deletions

File tree

lib/node_modules/@stdlib/nlp/expand-contractions/lib/expand_contractions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ var CONTRACTIONS = require( './contractions.json' );
4343
* // returns 'I will not be able to get you all out of this one.'
4444
*
4545
* @example
46-
* var str = 'It oughtn't to be my fault, because, you know, I didn't know';
46+
* var str = 'It oughtn\'t to be my fault, because, you know, I didn\'t know';
4747
* var out = expandContractions( str );
4848
* // returns 'It ought not to be my fault, because, you know, I did not know'
4949
*/

lib/node_modules/@stdlib/nlp/lda/lib/lda.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ function lda( documents, K, options ) {
168168
/**
169169
* Get top terms for the specified topic.
170170
*
171+
* @private
171172
* @param {NonNegativeInteger} k - topic
172173
* @param {PositiveInteger} [no=10] - number of terms
173174
* @returns {Array} word probability array

lib/node_modules/@stdlib/nlp/lda/lib/matrix.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ function matrix() {
8383
/**
8484
* Returns a matrix element based on the provided row and column indices.
8585
*
86+
* @private
8687
* @param {integer} i - row index
8788
* @param {integer} j - column index
8889
* @returns {(number|undefined)} matrix element
@@ -96,6 +97,7 @@ function matrix() {
9697
/**
9798
* Sets a matrix element based on the provided row and column indices.
9899
*
100+
* @private
99101
* @param {integer} i - row index
100102
* @param {integer} j - column index
101103
* @param {number} v - value to set

lib/node_modules/@stdlib/nlp/tokenize/lib/tokenize.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,14 @@ var REGEXP_SUFFIXES = /([,.!?%*>:;"'”`)\]}])$/gi;
3939
/**
4040
* Extends an array by the elements of another array.
4141
*
42+
* @private
4243
* @param {Array} arr - input array
4344
* @param {Array} ext - array to extend `arr` with
4445
* @returns {Array} mutated input array
4546
*
4647
* @example
4748
* var arr = [ 1, 2, 3 ];
48-
* var out = extends( arr, [ 4, 5 ] );
49+
* var out = extend( arr, [ 4, 5 ] );
4950
* // returns [ 1, 2, 3, 4, 5 ]
5051
*/
5152
function extend( arr, ext ) {
@@ -59,6 +60,7 @@ function extend( arr, ext ) {
5960
/**
6061
* Tokenizes a substring.
6162
*
63+
* @private
6264
* @param {string} substr - input string
6365
* @returns {Array} token array
6466
*

0 commit comments

Comments
 (0)