NU
IT
Northwestern University Information Technology |
MorphAdorner V2.0 | Site Map |
Service name: | spellingstandardizer |
Service description: | Find standard spelling for a word. |
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 |
|
corpusConfig | Corpus configuration name. In the standard distribution these are ece, eme, and ncf. |
media | Result format. One of json, xml, html, text . |
spelling | Spelling of a word. |
wordClass | Primary word class. One of adjective, adverb, compound, conjunction, infinitive-to, noun, noun-possessive, preposition, pronoun, pronoun-possessive, pronoun-possessive-determiner, verb . |
wordClass2 | Secondary word class. One of adjective, adverb, compound, conjunction, infinitive-to, noun, noun-possessive, preposition, pronoun, pronoun-possessive, pronoun-possessive-determiner, verb . |
extendedSearch | Perform an extended search for standard spellings. Allowed values are true to perform an extended search, false to not perform an extended search. |
<form accept-charset="UTF-8" method="post" action="spellingstandardizer" target="_blank" name="standardizer"> <table cellpadding="0" cellspacing="5"> <tr> <td><strong>Spelling:</strong></td> <td><input type="text" name="spelling" size="20" value="" /></td> </tr> <tr> <td><strong>Primary word class:</strong></td> <td> <select name="wordClass"> <option value="" selected="selected"></option> <option value="adjective">adjective</option> <option value="adverb">adverb</option> <option value="compound">compound</option> <option value="conjunction">conjunction</option> <option value="infinitive-to">infinitive-to</option> <option value="noun">noun</option> <option value="noun-possessive">noun-possessive</option> <option value="preposition">preposition</option> <option value="pronoun">pronoun</option> <option value="pronoun-possessive">pronoun-possessive</option> <option value="pronoun-possessive-determiner">pronoun-possessive-determiner</option> <option value="verb">verb</option> </select> </td> </tr> <tr> <td><strong>Secondary word class:</strong></td> <td> <select name="wordClass2"> <option value="" selected="selected"></option> <option value="adjective">adjective</option> <option value="adverb">adverb</option> <option value="compound">compound</option> <option value="conjunction">conjunction</option> <option value="infinitive-to">infinitive-to</option> <option value="noun">noun</option> <option value="noun-possessive">noun-possessive</option> <option value="preposition">preposition</option> <option value="pronoun">pronoun</option> <option value="pronoun-possessive">pronoun-possessive</option> <option value="pronoun-possessive-determiner">pronoun-possessive-determiner</option> <option value="verb">verb</option> </select> </td> </tr> <tr> <td valign="top"> <strong> Lexicon:</strong> </td> <td> <input type="radio" name="corpusConfig" value="eme">Early Modern English</input><br /> <input type="radio" name="corpusConfig" value="ece">Eighteen Century English</input><br /> <input type="radio" name="corpusConfig" value="ncf" checked="checked">Nineteenth Century Fiction</input> </td> </tr> <tr> <td> </td> <td><input type="checkbox" name="extendedSearch" value="true" />Perform extended search for suggested 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="standardize" value="Standardize" /> </td> </tr> </table> </form>
Here is sample output for spelling strykynge, using the eme (early modern English) corpus configuration. We supply verb as the primary word class.
The JSON and XML formats echo the input spelling, the corpusConfig, and the primary and secondary word classes wordClass and wordClass2 respectively. The resulting standard spelling striking is emitted as standardSpelling. The input query parameter field values are not emitted for the HTML or plain text output formats which are suitable for display.
{ "SpellingStandardizerResult": { "spelling": "strykynge", "standardSpelling": "striking", "corpusConfig": "eme", "wordClass": "verb", "wordClass2": "" } }
<SpellingStandardizerResult> <spelling>strykynge</spelling> <standardSpelling>striking</standardSpelling> <corpusConfig>eme</corpusConfig> <wordClass>verb</wordClass> <wordClass2/> </SpellingStandardizerResult><
<h3>Spelling Standardizer Results</h3> <table border="0"> <tr> <td valign="top" align="left"><strong>Standard spelling:</strong></td> <td valign="top" align="left">striking</td> </tr> </table>
Standard spelling: | striking |
Spelling Standardizer Results Standard spelling: striking
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.
|