NU IT
Northwestern University Information Technology
MorphAdorner Northwestern
 
MorphAdorner Server Services: Verb Conjugator Service

Service name: verbconjugator
Service description: Conjugate an English verb.
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 conjugated verbs. Allowed values are true to display American spellings, false for British spellings.
    infinitive Infinitive of an English verb. The leading "to" is not specified.
    media Result format. One of json, xml, html, text .
    verbTense English verb tense for which to provide conjugation. Available values are present, presentParticiple, past, and pastParticiple.

Sample POST form

<form accept-charset="UTF-8" method="post" action="verbconjugator"
      name="conjugator">
<table cellpadding="0" cellspacing="5">
<tr>
<td><strong>Infinitive:</strong></td>
<td><input type="text" name="infinitive" size="20" value="" /></td>
</tr>
<tr>
<td><strong>Verb tense:</strong></td>
<td>
<select name="verbTense">
<option value="present" selected="selected">present</option>
<option value="presentParticiple">present participle</option>
<option value="past">past</option>
<option value="pastParticiple">past participle</option>
</select>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>
<input type="checkbox" name="american" value="true" />
American spellings
</td>
</tr>
<tr>
<td>
&nbsp;
</td>
<td>
&nbsp;
</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>
&nbsp;
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td>
<input type="submit" name="conjugate" value="Conjugate" />
</td>
</tr>
</table>
</form>

Output

Here is sample verb conjugation output for the present tense of the verb "to be". Note that only "be" is entered as the infinitive value; the "to" need not be specified.

JSON output

{
  "VerbConjugatorResult": {
    "infinitive": "be",
    "verbTense": "present",
    "american": false,
    "firstPersonSingular": "am",
    "secondPersonSingular": "are",
    "thirdPersonSingular": "is",
    "firstPersonPlural": "are",
    "secondPersonPlural": "are",
    "thirdPersonPlural": "are"
  }
}

XML output

<VerbConjugatorResult>
    <infinitive>be</infinitive>
    <verbTense>present</verbTense>
    <american>false</american>
    <firstPersonSingular>am</firstPersonSingular>
    <secondPersonSingular>are</secondPersonSingular>
    <thirdPersonSingular>is</thirdPersonSingular>
    <firstPersonPlural>are</firstPersonPlural>
    <secondPersonPlural>are</secondPersonPlural>
    <thirdPersonPlural>are</thirdPersonPlural>
</VerbConjugatorResult>

HTML output (source)

<h3>Conjugation of present tense for infinitive "to be"</h3>
<table border="0">
<tr>
<td valign="top" align="left"><strong>First person singular:</strong></td>
<td valign="top" align="left">am</td>
</tr>
<tr>
<td valign="top" align="left"><strong>Second person singular:</strong></td>
<td valign="top" align="left">are</td>
</tr>
<tr>
<td valign="top" align="left"><strong>Third person singular:</strong></td>
<td valign="top" align="left">is</td>
</tr>
<tr>
<td valign="top" align="left"><strong>First person plural:</strong></td>
<td valign="top" align="left">are</td>
</tr>
<tr>
<td valign="top" align="left"><strong>Second person plural:</strong></td>
<td valign="top" align="left">are</td>
</tr>
<tr>
<td valign="top" align="left"><strong>Third person plural:</strong></td>
<td valign="top" align="left">are</td>
</tr>
</table>

HTML output (display)

Conjugation of present tense for infinitive "to be"

First person singular: am
Second person singular: are
Third person singular: is
First person plural: are
Second person plural: are
Third person plural: are

Text output

Conjugation of present tense for infinitive "to be"
First person singular:	am
Second person singular:	are
Third person singular:	is
First person plural:	are
Second person plural:	are
Third person plural:	are
Home
 
Announcements and News
 
Documentation
 
Download MorphAdorner
 
Glossary
 
Helpful References
 
Licenses
 
Server
 
Talks
 
Tech Talk