latinirb 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +50 -61
- data/README.markdown +230 -215
- data/lib/latinirb/LatinIRB.rb +9 -6
- data/lib/latinirb/latinirb_paradigmatic_verbs.rb +5 -1
- data/lib/latinirb/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff311360d7089ddf491c77185af89fdc22dd0db6
|
4
|
+
data.tar.gz: a6c349817f5be709fcae981790cbf71942689ed0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 366064baad4654f64f02d1d9d834b55db6ee524ca0d3242a884e3084e5f08c76fb41b0aa67fa99b762913d4219d45d38974da076a24522b07c100498b07097ed
|
7
|
+
data.tar.gz: 9dee19fd56aca72beec8d84d60c5ff10adb2572c9e8d964b3b11d0f52de61a2ccc170af1989eac0e06e3e373fe733b4d4745faeb7913351f2cffd2c76de9273d
|
data/Gemfile.lock
CHANGED
@@ -1,88 +1,77 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
latinirb (1.0.
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
macronconversions
|
4
|
+
latinirb (1.0.2)
|
5
|
+
latinverb (~> 1.0)
|
6
|
+
latinverb_chart_presenter (~> 1.0)
|
7
|
+
linguistics_latin (~> 1.0)
|
8
|
+
macronconversions (~> 1.0)
|
10
9
|
|
11
10
|
GEM
|
12
11
|
remote: http://rubygems.org/
|
13
12
|
specs:
|
14
|
-
activesupport (4.1.4)
|
15
|
-
i18n (~> 0.6, >= 0.6.9)
|
16
|
-
json (~> 1.7, >= 1.7.7)
|
17
|
-
minitest (~> 5.1)
|
18
|
-
thread_safe (~> 0.1)
|
19
|
-
tzinfo (~> 1.1)
|
20
13
|
byebug (3.1.2)
|
21
14
|
columnize (~> 0.8)
|
22
15
|
debugger-linecache (~> 1.2)
|
23
16
|
columnize (0.8.9)
|
24
17
|
debugger-linecache (1.2.0)
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
linguistics_latin_tense_block
|
45
|
-
macronconversions
|
18
|
+
latinverb (1.0.2)
|
19
|
+
latinverb_classifier (~> 1.0)
|
20
|
+
latinverb_deponent_string_deriver (~> 1.0)
|
21
|
+
latinverb_imperative_block (~> 1.0)
|
22
|
+
latinverb_imperatives (~> 1.0)
|
23
|
+
latinverb_infinitives (~> 1.0)
|
24
|
+
latinverb_irregular_imperatives_retriever (~> 1.0)
|
25
|
+
latinverb_irregular_infinitives_retriever (~> 1.0)
|
26
|
+
latinverb_irregular_participles_retriever (~> 1.0)
|
27
|
+
latinverb_irregular_verb_definition_consumer (~> 1.0)
|
28
|
+
latinverb_participles (~> 1.0)
|
29
|
+
latinverb_principal_parts_extractor (~> 1.0)
|
30
|
+
latinverb_querent_for_classification_builder (~> 1.0)
|
31
|
+
latinverb_serialization (~> 1.0)
|
32
|
+
latinverb_stem_deriver (~> 1.0)
|
33
|
+
latinverb_type_evaluator (~> 1.0)
|
34
|
+
linguistics_latin (~> 1.0.1)
|
35
|
+
linguistics_latin_tense_block (~> 1.0)
|
36
|
+
macronconversions (~> 1.0)
|
46
37
|
multi_json (~> 1.8)
|
47
38
|
rake
|
48
39
|
latinverb_chart_presenter (1.0.0)
|
49
|
-
latinverb_classifier (1.0.
|
50
|
-
linguistics_latin (~>
|
51
|
-
latinverb_deponent_string_deriver (1.0.0
|
52
|
-
latinverb_imperative_block (1.0.
|
53
|
-
linguistics_latin (~>
|
54
|
-
latinverb_imperatives (0.0
|
40
|
+
latinverb_classifier (1.0.1)
|
41
|
+
linguistics_latin (~> 1.0)
|
42
|
+
latinverb_deponent_string_deriver (1.0.0)
|
43
|
+
latinverb_imperative_block (1.0.1)
|
44
|
+
linguistics_latin (~> 1.0)
|
45
|
+
latinverb_imperatives (1.0.0)
|
55
46
|
latinverb_irregular_infinitives_retriever
|
56
|
-
latinverb_infinitives (0.0
|
57
|
-
latinverb_irregular_imperatives_retriever (0.0
|
58
|
-
latinverb_irregular_infinitives_retriever (0.0
|
47
|
+
latinverb_infinitives (1.0.0)
|
48
|
+
latinverb_irregular_imperatives_retriever (1.0.0)
|
49
|
+
latinverb_irregular_infinitives_retriever (1.0.0)
|
59
50
|
latinverb_irregular_verb_definition_consumer
|
60
51
|
linguistics_latin
|
61
|
-
latinverb_irregular_participles_retriever (0.0
|
62
|
-
latinverb_irregular_verb_definition_consumer (0.0
|
52
|
+
latinverb_irregular_participles_retriever (1.0.0)
|
53
|
+
latinverb_irregular_verb_definition_consumer (1.0.0)
|
63
54
|
linguistics_latin
|
64
|
-
latinverb_participles (0.0
|
65
|
-
latinverb_principal_parts_extractor (0.0
|
66
|
-
latinverb_querent_for_classification_builder (
|
67
|
-
latinverb_irregular_infinitives_retriever
|
68
|
-
linguistics_latin (~>
|
69
|
-
linguistics_latin_tense_block
|
70
|
-
latinverb_serialization (0.0
|
71
|
-
latinverb_stem_deriver (0.0
|
72
|
-
latinverb_deponent_string_deriver
|
73
|
-
latinverb_type_evaluator (0.0.1)
|
55
|
+
latinverb_participles (1.0.0)
|
56
|
+
latinverb_principal_parts_extractor (1.0.0)
|
57
|
+
latinverb_querent_for_classification_builder (1.0.1)
|
58
|
+
latinverb_irregular_infinitives_retriever (~> 1.0)
|
59
|
+
linguistics_latin (~> 1.0)
|
60
|
+
linguistics_latin_tense_block (~> 1.0)
|
61
|
+
latinverb_serialization (1.0.0)
|
62
|
+
latinverb_stem_deriver (1.0.0)
|
74
63
|
latinverb_deponent_string_deriver
|
75
|
-
|
76
|
-
|
64
|
+
latinverb_type_evaluator (1.0.1)
|
65
|
+
latinverb_deponent_string_deriver (~> 1.0)
|
66
|
+
linguistics_latin (~> 1.0)
|
67
|
+
linguistics_latin (1.0.1)
|
77
68
|
linguistics_latin_tense_block (1.0.0)
|
78
69
|
linguistics_latin
|
79
|
-
macronconversions (0.0
|
80
|
-
|
70
|
+
macronconversions (1.0.0)
|
71
|
+
multi_json (~> 1.8)
|
72
|
+
rake
|
81
73
|
multi_json (1.10.1)
|
82
74
|
rake (10.3.2)
|
83
|
-
thread_safe (0.3.4)
|
84
|
-
tzinfo (1.2.1)
|
85
|
-
thread_safe (~> 0.1)
|
86
75
|
|
87
76
|
PLATFORMS
|
88
77
|
ruby
|
data/README.markdown
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
## DESCRIPTION
|
4
4
|
|
5
5
|
LatinIRB is an IRB session in which a user can interact with paradigmatic Latin
|
6
|
-
verbs (
|
6
|
+
verbs (`AFIRST`, `ASECOND`, `ATHIRD`, `ATHIRDIO`, `AFOURTH`) as calculated
|
7
7
|
heuristically by the [LatinVerb](https://github.com/sgharms/LatinVerb) library.
|
8
8
|
|
9
9
|
The methods of chief interest will be those that are _vectors_ within the
|
@@ -12,7 +12,12 @@ form of a verb.
|
|
12
12
|
|
13
13
|
An primary use case would be:
|
14
14
|
|
15
|
-
|
15
|
+
AFIRST.active\_voice\_indicative\_mood\_present\_tense\_first\_person\_singular\_number #=> amō
|
16
|
+
|
17
|
+
This can be a bit verbose to type, so I recommend taking advantage of `TAB`
|
18
|
+
completion:
|
19
|
+
|
20
|
+
AFIRST.act<TAB>indic<TAB>
|
16
21
|
|
17
22
|
Upon opening the session, the student may play with verbs offered for
|
18
23
|
exploration. These are the standard paradigmatics verbs presented in Wheelock
|
@@ -20,44 +25,56 @@ as well as three core irregular verbs:
|
|
20
25
|
|
21
26
|
<table>
|
22
27
|
<tr><th>Varible </th> <th>Parts </th> <th> Meaning</th></tr>
|
23
|
-
<tr><td
|
24
|
-
<tr><td
|
25
|
-
<tr><td
|
26
|
-
<tr><td
|
27
|
-
<tr><td
|
28
|
-
<tr><td
|
29
|
-
<tr><td
|
30
|
-
<tr><td
|
28
|
+
<tr><td>AFIRST </td> <td>amō amāre amāvī amatum </td> <td> to love / like</td></tr>
|
29
|
+
<tr><td>ASECOND </td> <td>moneō monēre monvī monitum</td> <td> to warn / advise</td></tr>
|
30
|
+
<tr><td>ATHIRD </td> <td>agō agere ēgī actum </td> <td> to do / lead / undertake</td></tr>
|
31
|
+
<tr><td>ATHIRDIO </td> <td>capiō capere cēpī captum </td> <td> to grab / seize</td></tr>
|
32
|
+
<tr><td>AFOURTH </td> <td>audiō audīre audīvī auditum</td> <td> to hear</td></tr>
|
33
|
+
<tr><td>TO_BE </td> <td>sum esse fuī futūrus</td> <td> to be </td></tr>
|
34
|
+
<tr><td>TO_CARRY </td> <td>ferō ferre tulī lātum</td> <td> to carry </td></tr>
|
35
|
+
<tr><td>TO_COME </td> <td>eō īre īvī itum</td> <td> to come </td></tr>
|
31
36
|
</table>
|
32
37
|
|
33
38
|
## INSTANTIATING
|
34
39
|
|
35
|
-
Because LatinVerb
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
+
Because LatinVerb preserves the phonographic data of a Latin verb, the quantity
|
41
|
+
of the vowels, the LatinVerb-definining string **must** contain the macron data
|
42
|
+
so that the heuristics work. To this end, you may use MacronConversions to
|
43
|
+
convert ASCII TeX-style transliterations of macronized vowels to produce the
|
44
|
+
correct string:
|
45
|
+
|
46
|
+
If your input device supports the quick entry of characters with macrons:
|
47
|
+
|
48
|
+
lv = LatinVerb.new("amō amāre amāvī amatum")
|
49
|
+
|
50
|
+
But if not, you can convert an ASCII representation of the same data:
|
40
51
|
|
41
52
|
lv = LatinVerb.new(Text::Latex::Util::Macronconversions.convert('am\={o} am\={a}re am\={a}v\={i} amatum', :mc))
|
42
53
|
lv.active\_voice\_indicative\_mood\_present\_tense\_first\_person\_singular\_number #=> amō
|
43
54
|
|
55
|
+
This is a bit _too_ much to have to type, so LatinIRB has the method `verb` or
|
56
|
+
`v` that combines the text conversion and the verb instantiation e.g.
|
57
|
+
|
58
|
+
copy_of_a_first = v( 'am\={o} am\={a}re am\={a}v\={i} amatum')
|
59
|
+
|
44
60
|
## VIEWING
|
45
61
|
|
46
62
|
The environment takes advantage of Ruby's UTF-8 support to display the verbs
|
47
63
|
with macrons (notation representing the quantity of the vowels). I recommend
|
48
64
|
that you use iTerm2, urxvt, or Apple's Terminal.app for viewing these entries.
|
49
65
|
|
50
|
-
## GENERATING VERBS
|
51
|
-
|
52
|
-
Typically, in the code I have used the macron-ized character because `vim` and my terminal of choice
|
53
|
-
both understand it.
|
54
|
-
|
55
|
-
LatinVerb.new %w(amō amāre amāvī amatum)
|
56
|
-
|
57
66
|
### CHART VIEW
|
58
67
|
|
59
|
-
To view the chart of a verb, use
|
60
|
-
chart that will look familiar to students
|
68
|
+
To view the chart of a verb, use the `chart` method. This is a basic
|
69
|
+
chart that will look familiar to students:
|
70
|
+
|
71
|
+
LatinIRB > chart AFIRST
|
72
|
+
Present System
|
73
|
+
==============
|
74
|
+
Present Imperfect Future
|
75
|
+
======= ========= ======
|
76
|
+
1st Sg. amō amābam amābō
|
77
|
+
2nd Sg. amās amābās amābis
|
61
78
|
|
62
79
|
## EXECUTING METHODS
|
63
80
|
|
@@ -81,200 +98,198 @@ such as "present tense." For their invocation, see below
|
|
81
98
|
|
82
99
|
### Comprehensive List of Singular Vectors
|
83
100
|
|
84
|
-
* LatinVerb
|
85
|
-
* LatinVerb
|
86
|
-
* LatinVerb
|
87
|
-
* LatinVerb
|
88
|
-
* LatinVerb
|
89
|
-
* LatinVerb
|
90
|
-
|
91
|
-
* LatinVerb
|
92
|
-
* LatinVerb
|
93
|
-
* LatinVerb
|
94
|
-
* LatinVerb
|
95
|
-
* LatinVerb
|
96
|
-
* LatinVerb
|
97
|
-
|
98
|
-
* LatinVerb
|
99
|
-
* LatinVerb
|
100
|
-
* LatinVerb
|
101
|
-
* LatinVerb
|
102
|
-
* LatinVerb
|
103
|
-
* LatinVerb
|
104
|
-
|
105
|
-
* LatinVerb
|
106
|
-
* LatinVerb
|
107
|
-
* LatinVerb
|
108
|
-
* LatinVerb
|
109
|
-
* LatinVerb
|
110
|
-
* LatinVerb
|
111
|
-
|
112
|
-
* LatinVerb
|
113
|
-
* LatinVerb
|
114
|
-
* LatinVerb
|
115
|
-
* LatinVerb
|
116
|
-
* LatinVerb
|
117
|
-
* LatinVerb
|
118
|
-
|
119
|
-
* LatinVerb
|
120
|
-
* LatinVerb
|
121
|
-
* LatinVerb
|
122
|
-
* LatinVerb
|
123
|
-
* LatinVerb
|
124
|
-
* LatinVerb
|
125
|
-
|
126
|
-
* LatinVerb
|
127
|
-
* LatinVerb
|
128
|
-
* LatinVerb
|
129
|
-
* LatinVerb
|
130
|
-
* LatinVerb
|
131
|
-
* LatinVerb
|
132
|
-
|
133
|
-
* LatinVerb
|
134
|
-
* LatinVerb
|
135
|
-
* LatinVerb
|
136
|
-
* LatinVerb
|
137
|
-
* LatinVerb
|
138
|
-
* LatinVerb
|
139
|
-
|
140
|
-
* LatinVerb
|
141
|
-
* LatinVerb
|
142
|
-
* LatinVerb
|
143
|
-
* LatinVerb
|
144
|
-
* LatinVerb
|
145
|
-
* LatinVerb
|
146
|
-
|
147
|
-
* LatinVerb
|
148
|
-
* LatinVerb
|
149
|
-
* LatinVerb
|
150
|
-
* LatinVerb
|
151
|
-
* LatinVerb
|
152
|
-
* LatinVerb
|
153
|
-
|
154
|
-
* LatinVerb
|
155
|
-
* LatinVerb
|
156
|
-
* LatinVerb
|
157
|
-
* LatinVerb
|
158
|
-
* LatinVerb
|
159
|
-
* LatinVerb
|
160
|
-
|
161
|
-
* LatinVerb
|
162
|
-
* LatinVerb
|
163
|
-
* LatinVerb
|
164
|
-
* LatinVerb
|
165
|
-
* LatinVerb
|
166
|
-
* LatinVerb
|
167
|
-
|
168
|
-
|
169
|
-
* LatinVerb
|
170
|
-
* LatinVerb
|
171
|
-
* LatinVerb
|
172
|
-
* LatinVerb
|
173
|
-
* LatinVerb
|
174
|
-
|
175
|
-
|
176
|
-
* LatinVerb
|
177
|
-
* LatinVerb
|
178
|
-
* LatinVerb
|
179
|
-
* LatinVerb
|
180
|
-
* LatinVerb
|
181
|
-
|
182
|
-
|
183
|
-
* LatinVerb
|
184
|
-
* LatinVerb
|
185
|
-
* LatinVerb
|
186
|
-
* LatinVerb
|
187
|
-
* LatinVerb
|
188
|
-
|
189
|
-
|
190
|
-
* LatinVerb
|
191
|
-
* LatinVerb
|
192
|
-
* LatinVerb
|
193
|
-
* LatinVerb
|
194
|
-
* LatinVerb
|
195
|
-
|
196
|
-
|
197
|
-
* LatinVerb
|
198
|
-
* LatinVerb
|
199
|
-
* LatinVerb
|
200
|
-
* LatinVerb
|
201
|
-
* LatinVerb
|
202
|
-
|
203
|
-
|
204
|
-
* LatinVerb
|
205
|
-
* LatinVerb
|
206
|
-
* LatinVerb
|
207
|
-
* LatinVerb
|
208
|
-
* LatinVerb
|
209
|
-
|
210
|
-
|
211
|
-
* LatinVerb
|
212
|
-
* LatinVerb
|
213
|
-
* LatinVerb
|
214
|
-
* LatinVerb
|
215
|
-
* LatinVerb
|
216
|
-
|
217
|
-
|
218
|
-
* LatinVerb
|
219
|
-
* LatinVerb
|
220
|
-
* LatinVerb
|
221
|
-
* LatinVerb
|
222
|
-
* LatinVerb
|
223
|
-
|
224
|
-
|
225
|
-
* LatinVerb
|
226
|
-
* LatinVerb
|
227
|
-
|
228
|
-
|
229
|
-
* LatinVerb
|
230
|
-
* LatinVerb
|
231
|
-
* LatinVerb
|
232
|
-
|
233
|
-
|
234
|
-
* LatinVerb
|
235
|
-
* LatinVerb
|
236
|
-
* LatinVerb
|
237
|
-
* LatinVerb
|
238
|
-
* LatinVerb
|
239
|
-
* LatinVerb
|
240
|
-
* LatinVerb.present\_passive\_infinitive
|
101
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_present\_tense\_first\_person\_singular\_number`
|
102
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_present\_tense\_second\_person\_singular\_number`
|
103
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_present\_tense\_third\_person\_singular\_number`
|
104
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_present\_tense\_first\_person\_plural\_number`
|
105
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_present\_tense\_second\_person\_plural\_number`
|
106
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_present\_tense\_third\_person\_plural\_number`
|
107
|
+
|
108
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_imperfect\_tense\_first\_person\_singular\_number`
|
109
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_imperfect\_tense\_second\_person\_singular\_number`
|
110
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_imperfect\_tense\_third\_person\_singular\_number`
|
111
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_imperfect\_tense\_first\_person\_plural\_number`
|
112
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_imperfect\_tense\_second\_person\_plural\_number`
|
113
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_imperfect\_tense\_third\_person\_plural\_number`
|
114
|
+
|
115
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_future\_tense\_first\_person\_singular\_number`
|
116
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_future\_tense\_second\_person\_singular\_number`
|
117
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_future\_tense\_third\_person\_singular\_number`
|
118
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_future\_tense\_first\_person\_plural\_number`
|
119
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_future\_tense\_second\_person\_plural\_number`
|
120
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_future\_tense\_third\_person\_plural\_number`
|
121
|
+
|
122
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_perfect\_tense\_first\_person\_singular\_number`
|
123
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_perfect\_tense\_second\_person\_singular\_number`
|
124
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_perfect\_tense\_third\_person\_singular\_number`
|
125
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_perfect\_tense\_first\_person\_plural\_number`
|
126
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_perfect\_tense\_second\_person\_plural\_number`
|
127
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_perfect\_tense\_third\_person\_plural\_number`
|
128
|
+
|
129
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_pastperfect\_tense\_first\_person\_singular\_number`
|
130
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_pastperfect\_tense\_second\_person\_singular\_number`
|
131
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_pastperfect\_tense\_third\_person\_singular\_number`
|
132
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_pastperfect\_tense\_first\_person\_plural\_number`
|
133
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_pastperfect\_tense\_second\_person\_plural\_number`
|
134
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_pastperfect\_tense\_third\_person\_plural\_number`
|
135
|
+
|
136
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_futureperfect\_tense\_first\_person\_singular\_number`
|
137
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_futureperfect\_tense\_second\_person\_singular\_number`
|
138
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_futureperfect\_tense\_third\_person\_singular\_number`
|
139
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_futureperfect\_tense\_first\_person\_plural\_number`
|
140
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_futureperfect\_tense\_second\_person\_plural\_number`
|
141
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_futureperfect\_tense\_third\_person\_plural\_number`
|
142
|
+
|
143
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_present\_tense\_first\_person\_singular\_number`
|
144
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_present\_tense\_second\_person\_singular\_number`
|
145
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_present\_tense\_third\_person\_singular\_number`
|
146
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_present\_tense\_first\_person\_plural\_number`
|
147
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_present\_tense\_second\_person\_plural\_number`
|
148
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_present\_tense\_third\_person\_plural\_number`
|
149
|
+
|
150
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_imperfect\_tense\_first\_person\_singular\_number`
|
151
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_imperfect\_tense\_second\_person\_singular\_number`
|
152
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_imperfect\_tense\_third\_person\_singular\_number`
|
153
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_imperfect\_tense\_first\_person\_plural\_number`
|
154
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_imperfect\_tense\_second\_person\_plural\_number`
|
155
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_imperfect\_tense\_third\_person\_plural\_number`
|
156
|
+
|
157
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_future\_tense\_first\_person\_singular\_number`
|
158
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_future\_tense\_second\_person\_singular\_number`
|
159
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_future\_tense\_third\_person\_singular\_number`
|
160
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_future\_tense\_first\_person\_plural\_number`
|
161
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_future\_tense\_second\_person\_plural\_number`
|
162
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_future\_tense\_third\_person\_plural\_number`
|
163
|
+
|
164
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_perfect\_tense\_first\_person\_singular\_number`
|
165
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_perfect\_tense\_second\_person\_singular\_number`
|
166
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_perfect\_tense\_third\_person\_singular\_number`
|
167
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_perfect\_tense\_first\_person\_plural\_number`
|
168
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_perfect\_tense\_second\_person\_plural\_number`
|
169
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_perfect\_tense\_third\_person\_plural\_number.to\_s)`
|
170
|
+
|
171
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_pastperfect\_tense\_first\_person\_singular\_number`
|
172
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_pastperfect\_tense\_second\_person\_singular\_number`
|
173
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_pastperfect\_tense\_third\_person\_singular\_number`
|
174
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_pastperfect\_tense\_first\_person\_plural\_number`
|
175
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_pastperfect\_tense\_second\_person\_plural\_number`
|
176
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_pastperfect\_tense\_third\_person\_plural\_number.to\_s)`
|
177
|
+
|
178
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_futureperfect\_tense\_first\_person\_singular\_number`
|
179
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_futureperfect\_tense\_second\_person\_singular\_number`
|
180
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_futureperfect\_tense\_third\_person\_singular\_number`
|
181
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_futureperfect\_tense\_first\_person\_plural\_number`
|
182
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_futureperfect\_tense\_second\_person\_plural\_number`
|
183
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_futureperfect\_tense\_third\_person\_plural\_number`
|
184
|
+
|
185
|
+
* `LatinVerb#active\_voice\_subjunctive\_mood\_present\_tense\_first\_person\_singular\_number`
|
186
|
+
* `LatinVerb#active\_voice\_subjunctive\_mood\_present\_tense\_second\_person\_singular\_number`
|
187
|
+
* `LatinVerb#active\_voice\_subjunctive\_mood\_present\_tense\_third\_person\_singular\_number`
|
188
|
+
* `LatinVerb#active\_voice\_subjunctive\_mood\_present\_tense\_first\_person\_plural\_number`
|
189
|
+
* `LatinVerb#active\_voice\_subjunctive\_mood\_present\_tense\_second\_person\_plural\_number`
|
190
|
+
* `LatinVerb#active\_voice\_subjunctive\_mood\_present\_tense\_third\_person\_plural\_number`
|
191
|
+
|
192
|
+
* `LatinVerb#active\_voice\_subjunctive\_mood\_imperfect\_tense\_first\_person\_singular\_number`
|
193
|
+
* `LatinVerb#active\_voice\_subjunctive\_mood\_imperfect\_tense\_second\_person\_singular\_number`
|
194
|
+
* `LatinVerb#active\_voice\_subjunctive\_mood\_imperfect\_tense\_third\_person\_singular\_number`
|
195
|
+
* `LatinVerb#active\_voice\_subjunctive\_mood\_imperfect\_tense\_first\_person\_plural\_number`
|
196
|
+
* `LatinVerb#active\_voice\_subjunctive\_mood\_imperfect\_tense\_second\_person\_plural\_number`
|
197
|
+
* `LatinVerb#active\_voice\_subjunctive\_mood\_imperfect\_tense\_third\_person\_plural\_number`
|
198
|
+
|
199
|
+
* `LatinVerb#active\_voice\_subjunctive\_mood\_perfect\_tense\_first\_person\_singular\_number`
|
200
|
+
* `LatinVerb#active\_voice\_subjunctive\_mood\_perfect\_tense\_second\_person\_singular\_number`
|
201
|
+
* `LatinVerb#active\_voice\_subjunctive\_mood\_perfect\_tense\_third\_person\_singular\_number`
|
202
|
+
* `LatinVerb#active\_voice\_subjunctive\_mood\_perfect\_tense\_first\_person\_plural\_number`
|
203
|
+
* `LatinVerb#active\_voice\_subjunctive\_mood\_perfect\_tense\_second\_person\_plural\_number`
|
204
|
+
* `LatinVerb#active\_voice\_subjunctive\_mood\_perfect\_tense\_third\_person\_plural\_number`
|
205
|
+
|
206
|
+
* `LatinVerb#active\_voice\_subjunctive\_mood\_pastperfect\_tense\_first\_person\_singular\_number`
|
207
|
+
* `LatinVerb#active\_voice\_subjunctive\_mood\_pastperfect\_tense\_second\_person\_singular\_number`
|
208
|
+
* `LatinVerb#active\_voice\_subjunctive\_mood\_pastperfect\_tense\_third\_person\_singular\_number`
|
209
|
+
* `LatinVerb#active\_voice\_subjunctive\_mood\_pastperfect\_tense\_first\_person\_plural\_number`
|
210
|
+
* `LatinVerb#active\_voice\_subjunctive\_mood\_pastperfect\_tense\_second\_person\_plural\_number`
|
211
|
+
* `LatinVerb#active\_voice\_subjunctive\_mood\_pastperfect\_tense\_third\_person\_plural\_number`
|
212
|
+
|
213
|
+
* `LatinVerb#passive\_voice\_subjunctive\_mood\_present\_tense\_first\_person\_singular\_number`
|
214
|
+
* `LatinVerb#passive\_voice\_subjunctive\_mood\_present\_tense\_second\_person\_singular\_number`
|
215
|
+
* `LatinVerb#passive\_voice\_subjunctive\_mood\_present\_tense\_third\_person\_singular\_number`
|
216
|
+
* `LatinVerb#passive\_voice\_subjunctive\_mood\_present\_tense\_first\_person\_plural\_number`
|
217
|
+
* `LatinVerb#passive\_voice\_subjunctive\_mood\_present\_tense\_second\_person\_plural\_number`
|
218
|
+
* `LatinVerb#passive\_voice\_subjunctive\_mood\_present\_tense\_third\_person\_plural\_number`
|
219
|
+
|
220
|
+
* `LatinVerb#passive\_voice\_subjunctive\_mood\_imperfect\_tense\_first\_person\_singular\_number`
|
221
|
+
* `LatinVerb#passive\_voice\_subjunctive\_mood\_imperfect\_tense\_second\_person\_singular\_number`
|
222
|
+
* `LatinVerb#passive\_voice\_subjunctive\_mood\_imperfect\_tense\_third\_person\_singular\_number`
|
223
|
+
* `LatinVerb#passive\_voice\_subjunctive\_mood\_imperfect\_tense\_first\_person\_plural\_number`
|
224
|
+
* `LatinVerb#passive\_voice\_subjunctive\_mood\_imperfect\_tense\_second\_person\_plural\_number`
|
225
|
+
* `LatinVerb#passive\_voice\_subjunctive\_mood\_imperfect\_tense\_third\_person\_plural\_number`
|
226
|
+
|
227
|
+
* `LatinVerb#passive\_voice\_subjunctive\_mood\_perfect\_tense\_first\_person\_singular\_number`
|
228
|
+
* `LatinVerb#passive\_voice\_subjunctive\_mood\_perfect\_tense\_second\_person\_singular\_number`
|
229
|
+
* `LatinVerb#passive\_voice\_subjunctive\_mood\_perfect\_tense\_third\_person\_singular\_number`
|
230
|
+
* `LatinVerb#passive\_voice\_subjunctive\_mood\_perfect\_tense\_first\_person\_plural\_number`
|
231
|
+
* `LatinVerb#passive\_voice\_subjunctive\_mood\_perfect\_tense\_second\_person\_plural\_number`
|
232
|
+
* `LatinVerb#passive\_voice\_subjunctive\_mood\_perfect\_tense\_third\_person\_plural\_number`
|
233
|
+
|
234
|
+
* `LatinVerb#passive\_voice\_subjunctive\_mood\_pastperfect\_tense\_first\_person\_singular\_number`
|
235
|
+
* `LatinVerb#passive\_voice\_subjunctive\_mood\_pastperfect\_tense\_second\_person\_singular\_number`
|
236
|
+
* `LatinVerb#passive\_voice\_subjunctive\_mood\_pastperfect\_tense\_third\_person\_singular\_number`
|
237
|
+
* `LatinVerb#passive\_voice\_subjunctive\_mood\_pastperfect\_tense\_first\_person\_plural\_number`
|
238
|
+
* `LatinVerb#passive\_voice\_subjunctive\_mood\_pastperfect\_tense\_second\_person\_plural\_number`
|
239
|
+
* `LatinVerb#passive\_voice\_subjunctive\_mood\_pastperfect\_tense\_third\_person\_plural\_number`
|
240
|
+
|
241
|
+
* `LatinVerb#active\_voice\_imperative\_mood\_future\_tense`
|
242
|
+
* `LatinVerb#active\_voice\_imperative\_mood\_present\_tense`
|
243
|
+
* `LatinVerb#imperatives` (_aggregator method_)
|
244
|
+
|
245
|
+
* `LatinVerb#present\_active\_participle`
|
246
|
+
* `LatinVerb#future\_active\_participle`
|
247
|
+
* `LatinVerb#perfect\_passive\_participle`
|
248
|
+
* `LatinVerb#future\_passive\_participle`
|
249
|
+
|
250
|
+
* `LatinVerb#infinitives` (_aggregator method_ : returns a keyed hash)
|
251
|
+
* `LatinVerb#future\_active\_infinitive`
|
252
|
+
* `LatinVerb#future\_passive\_infinitive`
|
253
|
+
* `LatinVerb#perfect\_active\_infinitive`
|
254
|
+
* `LatinVerb#perfect\_passive\_infinitive`
|
255
|
+
* `LatinVerb#present\_active\_infinitive`
|
256
|
+
* `LatinVerb#present\_passive\_infinitive`
|
241
257
|
|
242
258
|
### Ambiguous Methods
|
243
259
|
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
* LatinVerb
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
* LatinVerb
|
257
|
-
* LatinVerb
|
258
|
-
* LatinVerb
|
259
|
-
* LatinVerb
|
260
|
-
* LatinVerb
|
261
|
-
* LatinVerb
|
262
|
-
* LatinVerb
|
263
|
-
* LatinVerb
|
264
|
-
* LatinVerb
|
265
|
-
* LatinVerb
|
266
|
-
* LatinVerb
|
267
|
-
* LatinVerb
|
268
|
-
* LatinVerb
|
269
|
-
* LatinVerb
|
270
|
-
* LatinVerb
|
271
|
-
* LatinVerb
|
272
|
-
* LatinVerb
|
273
|
-
* LatinVerb
|
274
|
-
* LatinVerb
|
275
|
-
* LatinVerb
|
276
|
-
* LatinVerb
|
277
|
-
* LatinVerb.passive\_voice\_subjunctive\_mood\_present\_tense
|
260
|
+
A voice, mood, and tense are all required for resolution of answers.
|
261
|
+
LatinVerb does not repsect ambiguity in those vectors. It _does_ respect
|
262
|
+
ambiguity in the person and number specifiers. Thus, you *may* say:
|
263
|
+
|
264
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_present\_tense\_first\_person`
|
265
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_present\_tense\_singular\_number`
|
266
|
+
|
267
|
+
This will return an array containing all possible candidates. Thus, for
|
268
|
+
each of the items below <em>(first|second|third)_person</em> or
|
269
|
+
<em>(singular|plural)_number</em> may be postpended.
|
270
|
+
|
271
|
+
* `LatinVerb#active\_voice\_imperative\_mood\_future\_tense`
|
272
|
+
* `LatinVerb#active\_voice\_imperative\_mood\_present\_tense`
|
273
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_future\_tense`
|
274
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_futureperfect\_tense`
|
275
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_imperfect\_tense`
|
276
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_pastperfect\_tense`
|
277
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_perfect\_tense`
|
278
|
+
* `LatinVerb#active\_voice\_indicative\_mood\_present\_tense`
|
279
|
+
* `LatinVerb#active\_voice\_subjunctive\_mood\_imperfect\_tense`
|
280
|
+
* `LatinVerb#active\_voice\_subjunctive\_mood\_pastperfect\_tense`
|
281
|
+
* `LatinVerb#active\_voice\_subjunctive\_mood\_perfect\_tense`
|
282
|
+
* `LatinVerb#active\_voice\_subjunctive\_mood\_present\_tense`
|
283
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_future\_tense`
|
284
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_futureperfect\_tense`
|
285
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_imperfect\_tense`
|
286
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_pastperfect\_tense`
|
287
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_perfect\_tense`
|
288
|
+
* `LatinVerb#passive\_voice\_indicative\_mood\_present\_tense`
|
289
|
+
* `LatinVerb#passive\_voice\_subjunctive\_mood\_imperfect\_tense`
|
290
|
+
* `LatinVerb#passive\_voice\_subjunctive\_mood\_pastperfect\_tense`
|
291
|
+
* `LatinVerb#passive\_voice\_subjunctive\_mood\_perfect\_tense`
|
292
|
+
* `LatinVerb#passive\_voice\_subjunctive\_mood\_present\_tense`
|
278
293
|
|
279
294
|
## AUTHOR
|
280
295
|
|
data/lib/latinirb/LatinIRB.rb
CHANGED
@@ -46,7 +46,7 @@ module Linguistics
|
|
46
46
|
@CONF = IRB.conf
|
47
47
|
|
48
48
|
# This will be the script IRB sources on execution. You can
|
49
|
-
# pre-define variables (
|
49
|
+
# pre-define variables (AFIRST, etc.) and convenience methods here.
|
50
50
|
|
51
51
|
@CONF[:SCRIPT]=File.join(File.dirname(__FILE__), %w|latinirb_paradigmatic_verbs.rb|)
|
52
52
|
|
@@ -84,14 +84,17 @@ As well as some primary irregulars:
|
|
84
84
|
|
85
85
|
Tab-completion of the conjugation \"vectors\" is supported.
|
86
86
|
|
87
|
-
Helpful methods
|
88
|
-
|
89
|
-
`
|
90
|
-
`
|
87
|
+
Helpful methods:
|
88
|
+
|
89
|
+
* `LatinVerb.new("amō amāre amāvī amatum")`: create a new LatinVerb instance
|
90
|
+
* `v(latex_representation_of_macronized_string)`
|
91
|
+
* `chart(verb)`: prints a verb's chart
|
92
|
+
* `b(verb)`: prints the `active_voice_indicative_mood_present_tense_first_person_singular_number` of `verb`
|
91
93
|
|
92
94
|
Verb strings can be entered using the LaTeX-style ASCII representations of
|
93
95
|
macron-bearing letters e.g.: \\={e}, \\={a}, and NB: \\={\\i}
|
94
|
-
|
96
|
+
EOT
|
97
|
+
puts ""
|
95
98
|
end
|
96
99
|
|
97
100
|
def self.set_required_main_irb_context
|
@@ -3,7 +3,7 @@ TO_BE = Linguistics::Latin::Verb::LatinVerb.new %q(sum esse fuī futūrus)
|
|
3
3
|
TO_CARRY = Linguistics::Latin::Verb::LatinVerb.new %q(ferō ferre tulī lātum)
|
4
4
|
TO_COME = Linguistics::Latin::Verb::LatinVerb.new %q(eō īre ivī itum)
|
5
5
|
|
6
|
-
AFIRST_ASCII_STRING = 'am\={o}
|
6
|
+
AFIRST_ASCII_STRING = 'am\={o} am\={a}re am\={a}v\={\i} amatum'
|
7
7
|
AFIRST_STRING = Text::Latex::Util::Macronconversions.convert(AFIRST_ASCII_STRING, 'mc')
|
8
8
|
|
9
9
|
def j
|
@@ -15,6 +15,8 @@ def b(f)
|
|
15
15
|
end
|
16
16
|
|
17
17
|
module Kernel
|
18
|
+
LatinVerb = Linguistics::Latin::Verb::LatinVerb
|
19
|
+
|
18
20
|
def chart(latin_verb=nil)
|
19
21
|
puts "USAGE: chart (a_latin_verb|latin_verb_string)" if latin_verb.nil?
|
20
22
|
verb = is_latinverb?(latin_verb) ? latin_verb : verb_for_string(latin_verb)
|
@@ -29,6 +31,8 @@ module Kernel
|
|
29
31
|
macronized_string = Text::Latex::Util::Macronconversions.convert(verb_string, 'mc').gsub(',', '')
|
30
32
|
Linguistics::Latin::Verb::LatinVerb.new(macronized_string)
|
31
33
|
end
|
34
|
+
|
35
|
+
alias :v :verb_for_string
|
32
36
|
end
|
33
37
|
|
34
38
|
# Start up the REPL
|
data/lib/latinirb/version.rb
CHANGED