-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata structure.py
More file actions
77 lines (77 loc) · 1.99 KB
/
data structure.py
File metadata and controls
77 lines (77 loc) · 1.99 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
data = { "nouns" :
#['nouns'][0]
{"example" :
#['nouns'][0][0]
["plural form",
#['nouns'][0][1]
["tags"],
#['nouns'][0][2]
["synonyms"],
#['nouns'][0][3]
"usage ranking"],
"cat" :
["cats",
["pet", "animal", "feline", "meow", "paws", "fur"]
[0],
5]
},
"verbs" :
#['verbs'][0]
{"example":
#['verbs'][0][0]
["is irregular",
#['verbs'][0][1]
["ed equivalent", "ing equivalent"],
#['verbs'][0][2]
"is participle",
#['verbs'][0][3]
["tags"],
#['verbs'][0][4]
["synonyms"],
#['verbs'][0][5]
"usage ranking"],
"walk":
[False,
["walked",
"walking"],
False,
["movement", "exercise"],
["meander"],
5]
},
"adjectives":
#['adjectives'][0]
{"example" :
#['adjectives'][0][0]
[["tags"],
#['adjectives'][0][1]
["synonyms"],
#['adjectives'][0][2]
["antonyms"],
#['adjectives'][0][3]
"positivity",
#['adjectives'][0][4]
"usage ranking"]},
"adverbs" :
#['adverbs'][0]
{"example" :
#['adjectives'][0][0]
[["tags"],
#['adjectives'][0][1]
["synonyms"],
#['adjectives'][0][2]
["antonyms"],
#['adjectives'][0][3]
"usage ranking"],
"quickly" :
[["speed", "movement", "action", "thought"],
["fast", "speedily"],
["slowly", "lazily"],
5]
},
"particles" :
#['particles'][0]
{"example" :
#['particles'][0][0]
[["type"]]}
}