MCP server · Tools
Word-by-word analysis
The stored word-by-word analysis of a text: for every word its lemma, dictionary entry, part of speech, Universal Dependencies features, head and relation, and meaning in that sentence, plus an English translation of each sentence.
TOOL
get_analysisRead onlyIdempotentStored only, never generated: a sentence nobody has opened in Interlinea yet comes back with words: null. Graded passages are fully analysed. Give sentence (0-based) for just one.
Input
| Name | Description |
|---|---|
refstring | RequiredWhat to read: an Interlinea URL (https://interlinea.aeterna-institute.org/library/latin/virgil/aeneid/1.46, or /read/latin/virgil-aeneid for a graded passage), a CTS URN (urn:cts:latinLit:phi0690.phi003.perseus-lat2:1.46) or a citation ("Virgil, Aeneid 1.46", "Iliad 1.1"). Up to 500 characters. |
sentenceinteger | OptionalOnly this sentence, counting from 0. |
Output
structuredContent has these fields, and content repeats the same JSON as one text item.
| Name | Description | ||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
kindstring | One of | ||||||||||||||||||||||||||||||||||
langstring | Language code: la (Latin) or grc (Ancient Greek). One of | ||||||||||||||||||||||||||||||||||
languagestring | |||||||||||||||||||||||||||||||||||
citationstring | |||||||||||||||||||||||||||||||||||
urnstring or null | CTS URN, e.g. urn:cts:latinLit:phi0690.phi003.perseus-lat2:1.1-1.11. Null when the edition has none (The Latin Library's own numbering). | ||||||||||||||||||||||||||||||||||
urlstring | Absolute URL. | ||||||||||||||||||||||||||||||||||
apistring | Absolute URL. | ||||||||||||||||||||||||||||||||||
prevobject or null | 4 fields
| ||||||||||||||||||||||||||||||||||
nextobject or null | 4 fields
| ||||||||||||||||||||||||||||||||||
creditobject | 5 fields
| ||||||||||||||||||||||||||||||||||
analysedinteger | Sentences with a stored analysis. | ||||||||||||||||||||||||||||||||||
totalinteger | Sentences in the text. | ||||||||||||||||||||||||||||||||||
licensestring | The analyses adapt CC BY-SA text, so they are share-alike. Always | ||||||||||||||||||||||||||||||||||
notestring | |||||||||||||||||||||||||||||||||||
sentencesarray of object | 4 fields
|
The same reads as GET /api/v1/analysis, with the same shape.