|
NU
IT
Northwestern University Information Technology |
| MorphAdorner V2.0 | Site Map |
| Service name: | pluralizer |
| Service description: | Find plural forms of nouns and pronouns. |
| HTTP methods allowed: | GET, POST, OPTIONS |
| POST accepts as input: | application/x-www-form-urlencoded |
| HTTP return codes: | 200: service succeeded 400: service failed with an error |
Query parameters |
|
| american | Display American (U.S.) spellings of plural forms. Allowed values are true to display American spellings, false for British spellings. |
| media | Result format. One of json, xml, html, text . |
| spelling | Spelling of a word. |
The pluralizer service accepts a singular noun or pronoun and returns the plural form. An option allows for returning American plural forms instead of British plurals.
<form accept-charset="UTF-8" method="post" action="pluralizer"
target="_blank"
name="pluralizer">
<table cellpadding="0" cellspacing="5">
<tr>
<td><strong>Singular Noun:</strong></td>
<td><input type="text" name="singular" size = "20" value="" /></td>
</tr>
<tr>
<td> </td>
<td>
<input type="checkbox" name="american" value="true" />
American spellings
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td valign="top">
<strong>Results format:</strong>
</td>
<td>
<input type="radio" name="media" value="json">JSON format</input><br />
<input type="radio" name="media" value="xml" checked="checked">XML format</input><br />
<input type="radio" name="media" value="html">HTML format</input><br />
<input type="radio" name="media" value="text">Text format</input>
</td>
</tr>
<tr>
<td>
<input type="submit" name="pluralize" value="Pluralize" />
</td>
</tr>
</table>
</form>
Here we use the pluralizer service to find the plural of the noun "mouse."
{
"PluralizerResult": {
"singular": "mouse",
"plural": "mice",
"american": false
}
}
<PluralizerResult>
<singular>mouse</singular>
<plural>mice</plural>
<american>false</american>
</PluralizerResult>
<h3>Pluralizer results</h3> <table border="0"> <tbody><tr> <td align="left" valign="top"><strong>Singular:</strong></td> <td align="left" valign="top">mouse</td> </tr> <tr> <td align="left" valign="top"><strong>Plural:</strong></td> <td align="left" valign="top">mice</td> </tr> <tr> <td align="left" valign="top"><strong>American:</strong></td> <td align="left" valign="top">false</td> </tr> </tbody> </table>
| Singular: | mouse |
| Plural: | mice |
| American: | false |
Pluralizer results Singular: mouse Plural: mice American: false
| Home | |
| Welcome | |
| Announcements and News | |
| Announcements and news about changes to MorphAdorner | |
| Documentation | |
| Documentation for using MorphAdorner | |
| Download MorphAdorner | |
| Downloading and installing the MorphAdorner client and server software | |
| Glossary | |
| Glossary of MorphAdorner terms | |
| Helpful References | |
| Natural language processing references | |
| Licenses | |
| Licenses for MorphAdorner and Associated Software | |
| Server | |
| Online examples of MorphAdorner Server facilities. | |
| Talks | |
| Slides from talks about MorphAdorner. | |
| Tech Talk | |
| Technical information for programmers using MorphAdorner |
|
Academic Technologies and Research Services,
NU Library 2East, 1970 Campus Drive Evanston, IL 60208. |
Contact Us.
|