Skip to content

Commit

Permalink
Fix doc: language in getURI method is optional parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Mar 21, 2016
1 parent c6819ef commit 85bce20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/index.js
Expand Up @@ -134,11 +134,11 @@ ConceptNet.prototype.lookup = function() {


/**
* FUNCTION: getURI( text, language, callback )
* FUNCTION: getURI( text[, language], callback )
* Finds the ConceptNet URI for a given text, applying steps such as reducing English words to their root form.
*
* @param {String} text - input text
* @param {String} language - language code
* @param {String} [language] - language code
* @param {Function} callback - callback function
* @returns {String} corresponding ConceptNet URI
*/
Expand Down

0 comments on commit 85bce20

Please sign in to comment.