Skip to content

Commit

Permalink
Mention plural and singular methods
Browse files Browse the repository at this point in the history
  • Loading branch information
DivineOmega committed Feb 12, 2018
1 parent d577725 commit a580d04
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ $word = new Word('cat');

$rhymes = $word->rhymes();
$halfRhymes = $word->halfRhymes();
$numberOfSyllables = $word->syllables(); // Returns an integer
$isOffensive = $word->offensive(); // Returns true/false
$portmanteaus = $word->portmanteaus();
$numberOfSyllables = $word->syllables(); // Returns an integer
$isOffensive = $word->offensive(); // Returns true/false
$plural = $word->plural(); // Returns `Word` object
$singular = $word->singular; // Returns `Word` object
```

Most methods will return an array of `Word` objects, unless specified otherwise.

0 comments on commit a580d04

Please sign in to comment.