README ¶
dictserver
Dictionary library and API server based on data from the Project Gutenberg EBook of Webster's Unabridged Dictionary. See the dictionary folder for usage as a Go library and the parsing code.
Sample: https://dict.geek1011.net/word/example
{
"status": "success",
"result": {
"info": "Ex*am\"ple, n.",
"etymology": "[A later form for ensample, fr. L. exemplum, orig., what is taken out of a larger quantity, as a sample, from eximere to take out. See Exempt, and cf. Ensample, Sample.]",
"meanings": [
{
"text": "One or a portion taken to show the character or quality of the whole; a sample; a specimen.",
"referenced_words": null
},
{
"text": "That which is to be followed or imitated as a model; a pattern or copy.",
"example": "For I have given you an example, that ye should do as John xiii. 15. I gave, thou sayest, the example; I led the way. Milton.",
"referenced_words": null
},
{
"text": "That which resembles or corresponds with something else; a precedent; a model.",
"example": "Such temperate order in so fierce a cause Doth want example. Shak.",
"referenced_words": null
},
{
"text": "That which is to be avoided; one selected for punishment and to serve as a warning; a warning.",
"example": "Hang him; he'll be made an example. Shak. Now these things were our examples, to the intent that we should not lust after evil things, as they also lusted. 1 Cor. x. 6.",
"referenced_words": null
},
{
"text": "An instance serving for illustration of a rule or precept, especially a problem to be solved, or a case to be determined, as an exercise in the application of the rules of any study or branch of science; as, in trigonometry and grammar, the principles and rules are illustrated by examples.",
"referenced_words": null
}
],
"notes": [
"Precedent; case; instance. Example, Instance. The discrimination to be made between these two words relates to cases in which we give \"instances\" or \"examples\" of things done. An instance denotes the single case then \"standing\" before us; if there be others like it, the word does not express this fact. On the contrary, an example is one of an entire class of like things, and should be a true representative or sample of that class. Hence, an example proves a rule or regular course of things; an instance simply points out what may be true only in the case presented. A man's life may be filled up with examples of the self- command and kindness which marked his character, and may present only a solitary instance of haste or severity. Hence, the word \"example\" should never be used to describe what stands singly and alone. We do, however, sometimes apply the word instance to what is really an example, because we are not thinking of the latter under this aspect, but solely as a case which \"stands before us.\" See Precedent."
],
"credit": "Webster's Unabridged Dictionary (1913)",
"additional_words": [
{
"info": " Ex*am\"ple, v. t. [imp. & p. p. Exampled; p. pr. & vb. n. Exampling.]",
"meanings": [
{
"text": "To set an example for; to give a precedent for; to exemplify; to give an instance of; to instance. [Obs.] \"I may example my digression by some mighty precedent.\" Shak.",
"example": "Burke devoted himself to this duty with a fervid assiduity that has not often been exampled, and has never been surpassed. J. Morley.",
"referenced_words": null
}
],
"credit": "Webster's Unabridged Dictionary (1913)",
"referenced_words": null
}
],
"referenced_words": null
}
}
Sample: https://dict.geek1011.net/word/arch
{
"status": "success",
"result": {
"info": "Arch, n.",
"etymology": "[F. arche, fr. LL. arca, for arcus. See Arc.]",
"meanings": [
{
"text": "(Geom.) Any part of a curved line.",
"referenced_words": null
},
{
"text": "(Arch.) (a) Usually a curved member made up of separate wedge-shaped solids, with the joints between them disposed in the direction of the radii of the curve; used to support the wall or other weight above an opening. In this sense arches are segmental, round (i. e., semicircular), or pointed.",
"example": "(b) A flat arch is a member constructed of stones cut into wedges or other shapes so as to support each other without rising in a curve. Note: Scientifically considered, the arch is a means of spanning an opening by resolving vertical pressure into horizontal or diagonal thrust.",
"referenced_words": null
},
{
"text": "Any place covered by an arch; an archway; as, to pass into the arch of a bridge.",
"referenced_words": null
},
{
"text": "Any curvature in the form of an arch; as, the arch of the aorta. \"Colors of the showery arch.\" Milton. Triumphal arch, a monumental structure resembling an arched gateway, with one or more passages, erected to commemorate a triumph.",
"referenced_words": null
}
],
"credit": "Webster's Unabridged Dictionary (1913)",
"additional_words": [
{
"info": " Arch, v. t. [imp. & p. p. Arched; p. pr. & vb. n. Arching.]",
"meanings": [
{
"text": "To cover with an arch or arches.",
"referenced_words": null
},
{
"text": "To form or bend into the shape of an arch. The horse arched his neck. Charlesworth.",
"referenced_words": null
}
],
"credit": "Webster's Unabridged Dictionary (1913)",
"referenced_words": null
},
{
"info": " Arch, v. i.",
"meanings": [
{
"text": "To form into an arch; to curve.",
"referenced_words": null
}
],
"credit": "Webster's Unabridged Dictionary (1913)",
"referenced_words": null
},
{
"info": "Arch, a.",
"etymology": "[See Arch-, pref.]",
"meanings": [
{
"text": "Chief; eminent; greatest; principal. The most arch act of piteous massacre. Shak.",
"referenced_words": null
},
{
"text": "Cunning or sly; sportively mischievous; roguish; as, an arch look, word, lad.",
"example": "[He] spoke his request with so arch a leer. Tatler.",
"referenced_words": null
}
],
"credit": "Webster's Unabridged Dictionary (1913)",
"referenced_words": null
},
{
"info": "Arch, n.",
"etymology": "[See Arch-, pref.]",
"meanings": [
{
"text": "A chief. [Obs.] My worthy arch and patron comes to-night. Shak.",
"referenced_words": null
}
],
"credit": "Webster's Unabridged Dictionary (1913)",
"referenced_words": null
},
{
"info": "*arch.",
"etymology": "[Gr. Arch, a.]",
"meanings": [
{
"text": "A suffix meaning a ruler, as in monarch (a sole ruler).",
"referenced_words": null
}
],
"credit": "Webster's Unabridged Dictionary (1913)",
"referenced_words": null
}
],
"referenced_words": [
{
"info": "Arc, n.",
"etymology": "[F. arc, L. arcus bow, arc. See Arch, n.]",
"meanings": [
{
"text": "(Geom.) A portion of a curved line; as, the arc of a circle or of an ellipse.",
"referenced_words": null
},
{
"text": "A curvature in the shape of a circular arc or an arch; as, the colored arc (the rainbow); the arc of Hadley's quadrant.",
"referenced_words": null
},
{
"text": "An arch. [Obs.] Statues and trophies, and triumphal arcs. Milton.",
"referenced_words": null
},
{
"text": "The apparent arc described, above or below the horizon, by the sun or other celestial body. The diurnal arc is described during the daytime, the nocturnal arc during the night. Electric arc, Voltaic arc. See under Voltaic.",
"referenced_words": [
"voltaic"
]
}
],
"credit": "Webster's Unabridged Dictionary (1913)",
"referenced_words": null
}
]
}
}
```
Documentation ¶
There is no documentation for this package.
Directories ¶
Path | Synopsis |
---|---|
Package dictionary contains code related to looking up and storing words in dictionaries.
|
Package dictionary contains code related to looking up and storing words in dictionaries. |
tools
|
|
Click to show internal directories.
Click to hide internal directories.