-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdatamuse.opencollection.json
More file actions
226 lines (226 loc) · 8.42 KB
/
Copy pathdatamuse.opencollection.json
File metadata and controls
226 lines (226 loc) · 8.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
{
"opencollection": "1.0.0",
"info": {
"name": "Datamuse API",
"version": "1.1.0"
},
"items": [
{
"info": {
"name": "Words",
"type": "folder"
},
"items": [
{
"info": {
"name": "Find Words Matching Constraints",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.datamuse.com/words",
"params": [
{
"name": "ml",
"value": "ringing in the ears",
"type": "query",
"description": "Means like — semantic constraint requiring results with meaning related to the input string (reverse-dictionary lookup)."
},
{
"name": "sl",
"value": "jirraf",
"type": "query",
"description": "Sounds like — phonetic constraint requiring results pronounced similarly to the input."
},
{
"name": "sp",
"value": "hipp*",
"type": "query",
"description": "Spelled like — orthographic constraint with wildcards (`*` any chars, `?` single char). URL-encode the value."
},
{
"name": "rel_jja",
"value": "",
"type": "query",
"description": "Popular nouns modified by the given adjective, per Google Books Ngrams."
},
{
"name": "rel_jjb",
"value": "",
"type": "query",
"description": "Popular adjectives modifying the given noun, per Google Books Ngrams."
},
{
"name": "rel_syn",
"value": "",
"type": "query",
"description": "Synonyms (WordNet)."
},
{
"name": "rel_trg",
"value": "",
"type": "query",
"description": "Triggers — words statistically associated with the query word in the same piece of text."
},
{
"name": "rel_ant",
"value": "",
"type": "query",
"description": "Antonyms (WordNet)."
},
{
"name": "rel_spc",
"value": "",
"type": "query",
"description": "Direct hypernyms (\"kind of\")."
},
{
"name": "rel_gen",
"value": "",
"type": "query",
"description": "Direct hyponyms (\"more general than\")."
},
{
"name": "rel_com",
"value": "",
"type": "query",
"description": "Direct holonyms (\"comprises\")."
},
{
"name": "rel_par",
"value": "",
"type": "query",
"description": "Direct meronyms (\"part of\")."
},
{
"name": "rel_bga",
"value": "",
"type": "query",
"description": "Frequent followers — words that frequently appear immediately after the query word."
},
{
"name": "rel_bgb",
"value": "",
"type": "query",
"description": "Frequent predecessors — words that frequently appear immediately before the query word."
},
{
"name": "rel_rhy",
"value": "",
"type": "query",
"description": "Perfect rhymes."
},
{
"name": "rel_nry",
"value": "",
"type": "query",
"description": "Approximate (near) rhymes."
},
{
"name": "rel_hom",
"value": "",
"type": "query",
"description": "Homophones — words pronounced the same."
},
{
"name": "rel_cns",
"value": "",
"type": "query",
"description": "Consonant matches — words with the same consonant skeleton."
},
{
"name": "v",
"value": "",
"type": "query",
"description": "Vocabulary identifier. Default English (`en`, 550k terms) or `es` for Spanish (500k terms). Custom vocabularies available on request."
},
{
"name": "topics",
"value": "technology computers",
"type": "query",
"description": "Up to five space- or comma-separated topic words that skew results toward the indicated document theme."
},
{
"name": "lc",
"value": "",
"type": "query",
"description": "Left context — a single word appearing immediately to the left of the target word."
},
{
"name": "rc",
"value": "",
"type": "query",
"description": "Right context — a single word appearing immediately to the right of the target word."
},
{
"name": "max",
"value": "",
"type": "query",
"description": "Maximum number of results to return."
},
{
"name": "md",
"value": "dpsrf",
"type": "query",
"description": "Metadata flags — a string composed of single-letter codes requesting lexical\nmetadata for each result:\n * `d` — definitions (and `defHeadword` for inflected forms)\n * `p` — parts of speech (n, v, adj, adv, u)\n * `s` — syllable count (`numSyllables`)\n * `r` — pronunciation (Arpabet; combine with `ipa=1` for IPA)\n * `f` — corpus frequency (per million words, Google Books Ngrams)\n"
},
{
"name": "qe",
"value": "",
"type": "query",
"description": "Query echo — prepend a result describing the query string from the named parameter, useful for one-shot metadata lookups."
},
{
"name": "ipa",
"value": "",
"type": "query",
"description": "When set to `1` and pronunciation metadata is requested, return IPA-format pronunciations instead of Arpabet."
}
]
},
"docs": "Find words matching any combination of constraints. Constraints may be combined\nfreely; results are ranked by relationship strength for semantic constraints,\notherwise by frequency. Optional metadata flags add definitions, parts of speech,\nsyllable counts, pronunciations, and corpus frequency to each result.\n"
}
]
},
{
"info": {
"name": "Suggestions",
"type": "folder"
},
"items": [
{
"info": {
"name": "Get Autocomplete Suggestions",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.datamuse.com/sug",
"params": [
{
"name": "s",
"value": "rawn",
"type": "query",
"description": "Partially-entered search string for which to return suggestions."
},
{
"name": "max",
"value": "",
"type": "query",
"description": "Maximum number of suggestions to return."
},
{
"name": "v",
"value": "",
"type": "query",
"description": "Vocabulary identifier. Default English (`en`, 550k terms) or `es` for Spanish (500k terms). Custom vocabularies available on request."
}
]
},
"docs": "Return intelligent autocomplete suggestions for a partially-entered search string.\nSorted by popularity; the response may include spelling corrections or semantically\nsimilar terms when an exact prefix match is unavailable.\n"
}
]
}
],
"bundled": true
}