-
Notifications
You must be signed in to change notification settings - Fork 0
/
bin.py
81 lines (68 loc) · 1.78 KB
/
bin.py
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
"""
Word: dere
Ang Spelling:
Meaning: ᛫ hurt ᛫ harm ᛫ injury ᛬ to hurt ᛫ to harm ᛫ to injure ᛫
Kind: N᛬V
Forebear: dēre
Taken from: ME
Notes:
Definitions: {'N': ['hurt', 'harm', 'injury'], 'V': ['to hurt', 'to harm', 'to injure']}
"""
# split_definitions_examples = [
# ["᛫ delicate and tendril-like ᛫ diaphanous ᛫ gauzy ᛫ airy ᛫", "AJ"],
# [" ᛫ a region in Poland ᛫", "N(P)"],
# [" ᛫ guidance ᛫ instruction ᛫", "N"],
# ["᛫ weak ᛫ watery ᛫ feeble wavering ᛫", "AJ"],
# ["᛫ a manner ᛫ a fashion ᛫ a method ᛬ to make apparent ᛬ sagacious ᛫ prudent ᛫", "N᛬V᛬AJ"]
# ]
# for s in split_definitions_examples:
# a = split_definitions(s[0], s[1])
# print(a)
# Form:
# "english definition lemma": {
# "anglish_word": X,
# "anglish_spelling": X,
# ""
# }
"""
Form:
{
"sequel": {
"noun": [
{
"definitions": "a sequel, the film after another film",
"anglish_word": "aftercoming",
"anglish_spelling": "aftercumming",
"forebear": "~",
"taken_from": "NE",
"notes": "",
}
]
}
}
"""
# print(all_definitions)
# all_definitions = {'N': ['time long past'], 'AV': ['in the past']}
# print(definitions)
# print(f"===\nWord: {word}\n\
# Ang Spelling: {anglish_spelling}\n\
# Meaning: {meaning}\n\
# Kind: {kind}\n\
# Forebear: {forebear}\n\
# Taken from: {taken_from}\n\
# Notes: {notes}\n\
# \n\
# Definitions: {definitions}")
# print(all_definitions)
"""
===
Wordbook Comments/Notes
A (ignore, that's for the first Row)
B / Anglish Spelling (only one)
C / Meaning (6)
D / Kind (1)
E / Forebear (a lot)
F / Taken From (quite a few)
G / Notes (a few)
===
"""