Skip to content

Commit

Permalink
docs(*): complete JSDoc for composeCorpus, sentences & stem
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjayaksaxena committed Oct 12, 2017
1 parent 2b1b333 commit 81d063c
Show file tree
Hide file tree
Showing 7 changed files with 477 additions and 41 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var nlp = require( 'wink-nlp-utils' );
// Extract person's name from a string:
var name = nlp.string.extractPersonsName( 'Dr. Sarah Connor M. Tech., PhD. - AI' );
console.log( name );
// name -> 'Sarah Connor'
// -> 'Sarah Connor'

// Compose all possible sentences from a string:
var str = '[I] [am having|have] [a] [problem|question]';
Expand Down
5 changes: 4 additions & 1 deletion docs-toc.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
toc:
- name: string
- string.bong
- string.amplifyNotElision
- string.bong
- string.composeCorpus
- string.extractPersonsName
- string.extractRunOfCapitalWords
- string.lowerCase
Expand All @@ -13,9 +14,11 @@ toc:
- string.removePunctuations
- string.removeSplChars
- string.retainAlphaNums
- string.sentences
- string.soc
- string.song
- string.splitElisions
- string.stem
- string.trim
- string.upperCase
- name: helper
Expand Down
Loading

0 comments on commit 81d063c

Please sign in to comment.