Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rm-hull committed Oct 19, 2015
1 parent 54bb5de commit 4b1120b
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ This stemming module for Node.js provides stemming capability for a variety of l
That allow you to get from a word a reduced, inflected (or sometimes derived) word from the original word stem, base or root.

Examples:
> A stemmer for English, for example, should identify the string "cats" (and possibly "catlike", "catty" etc.) as based on the root "cat", and "stemmer", "stemming", "stemmed" as based on "stem". A stemming algorithm reduces the words "fishing", "fished", and "fisher" to the root word, "fish". On the other hand, "argue", "argued", "argues", "arguing", and "argus" reduce to the stem "argu" (illustrating the case where the stem is not itself a word or root) but "argument" and "arguments" reduce to the stem "argument".
> A stemmer for English, for example, should identify the string "cats" (and possibly "catlike", "catty" etc.)
> as based on the root "cat", and "stemmer", "stemming", "stemmed" as based on "stem". A stemming algorithm
> reduces the words "fishing", "fished", and "fisher" to the root word, "fish". On the other hand, "argue",
> "argued", "argues", "arguing", and "argus" reduce to the stem "argu" (illustrating the case where the stem
> is not itself a word or root) but "argument" and "arguments" reduce to the stem "argument".
This library is using bindings to the [libstemmer](http://snowball.tartarus.org/download.php) C library.
It's support
It's support

More about Stemming:
- [Stemming wikipedia](http://en.wikipedia.org/wiki/Stemming)
Expand Down Expand Up @@ -43,10 +47,10 @@ snowball.stemword(['continuation', 'contrainte'], 'french'); // ['continu', 'con

``` javascript
snowball.stemword(
word || words, // The word or group of words that you need the stemming from
language, // The language (optional, default is "english")
encoding // The text encoding (optional, default is "UTF-8")
);
word || words, // The word or group of words that you need the stemming from
language, // The language (optional, default is "english")
encoding // The text encoding (optional, default is "UTF-8")
);
```

### Supported language second argument:
Expand Down

0 comments on commit 4b1120b

Please sign in to comment.