latinirb 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: ff311360d7089ddf491c77185af89fdc22dd0db6
4
- data.tar.gz: a6c349817f5be709fcae981790cbf71942689ed0
2
+ SHA256:
3
+ metadata.gz: eaadf5a40d1097441bc2b6a201c6381723769ceee5954226697acca7ef6a2c46
4
+ data.tar.gz: c5c055cee696462f548e47fac842dbf691fd508c2dcecdfd77ed8c8e75ff18c2
5
5
  SHA512:
6
- metadata.gz: 366064baad4654f64f02d1d9d834b55db6ee524ca0d3242a884e3084e5f08c76fb41b0aa67fa99b762913d4219d45d38974da076a24522b07c100498b07097ed
7
- data.tar.gz: 9dee19fd56aca72beec8d84d60c5ff10adb2572c9e8d964b3b11d0f52de61a2ccc170af1989eac0e06e3e373fe733b4d4745faeb7913351f2cffd2c76de9273d
6
+ metadata.gz: a275f0f6b46d7942b7f1d864be2e8484ec933668a93fec7a883b25eff725c829fdb15c4852087b3b7bae1cb01e99e673b87fc5c68243fb763cf3f5601309057d
7
+ data.tar.gz: 75b50250d3be1928de3b59c7f6d76bef483d8ff464c69cc9e448e84071c171c61d1ddf7c925e1efb32d086949f843b439e5f8d955abfd489b9a0b756c021a1f2
@@ -6,6 +6,8 @@ TO_COME = Linguistics::Latin::Verb::LatinVerb.new %q(eō īre ivī itum)
6
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
+ SEED = {}
10
+
9
11
  def j
10
12
  puts AFIRST.active_voice_indicative_mood_present_tense_first_person_singular_number
11
13
  end
@@ -28,10 +30,33 @@ module Kernel
28
30
  end
29
31
 
30
32
  def verb_for_string(verb_string)
33
+ if verb_string !~ /\\/
34
+ raise ArgumentError.new "No \\ characters detected in #{verb_string}. Use single-quote to ensure they aren't escaped."
35
+ end
31
36
  macronized_string = Text::Latex::Util::Macronconversions.convert(verb_string, 'mc').gsub(',', '')
32
37
  Linguistics::Latin::Verb::LatinVerb.new(macronized_string)
33
38
  end
34
39
 
40
+ def load_seedfile
41
+ if File.exists?("seedfile.txt")
42
+ File.open("seedfile.txt")
43
+ .readlines
44
+ .to_a
45
+ .filter { |e| e =~ /\w+/ }
46
+ .reduce(SEED) do |memo, l|
47
+ k, v = l.split(':')
48
+ memo[k] = verb_for_string(v)
49
+ memo
50
+ end
51
+ end
52
+ keys = SEED.keys
53
+ if keys.count > 0 && keys.count < 10
54
+ puts "Imported #{SEED.keys.count} items:"
55
+ keys.each { |k| puts k }
56
+ end
57
+ end
58
+
59
+ alias :s :load_seedfile
35
60
  alias :v :verb_for_string
36
61
  end
37
62
 
@@ -2,7 +2,7 @@ module Linguistics
2
2
  module Latin
3
3
  module Util
4
4
  class LatinIRB
5
- VERSION = "1.0.3"
5
+ VERSION = "1.0.4"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: latinirb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven G. Harms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-19 00:00:00.000000000 Z
11
+ date: 2020-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: linguistics_latin
@@ -75,17 +75,11 @@ executables:
75
75
  extensions: []
76
76
  extra_rdoc_files: []
77
77
  files:
78
- - ".gitignore"
79
- - Gemfile
80
- - Gemfile.lock
81
- - README.markdown
82
- - Rakefile
78
+ - "./lib/latinirb.rb"
79
+ - "./lib/latinirb/LatinIRB.rb"
80
+ - "./lib/latinirb/latinirb_paradigmatic_verbs.rb"
81
+ - "./lib/latinirb/version.rb"
83
82
  - bin/latinirb
84
- - latinirb.gemspec
85
- - lib/latinirb.rb
86
- - lib/latinirb/LatinIRB.rb
87
- - lib/latinirb/latinirb_paradigmatic_verbs.rb
88
- - lib/latinirb/version.rb
89
83
  homepage: http://rubygems.org/gems/latinverb
90
84
  licenses: []
91
85
  metadata: {}
@@ -104,8 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
98
  - !ruby/object:Gem::Version
105
99
  version: '0'
106
100
  requirements: []
107
- rubyforge_project:
108
- rubygems_version: 2.2.2
101
+ rubygems_version: 3.1.2
109
102
  signing_key:
110
103
  specification_version: 4
111
104
  summary: Gem designed to explore verbs created by LatinVerb
data/.gitignore DELETED
@@ -1,11 +0,0 @@
1
- pkg/*
2
- .DS_*
3
- *.gem
4
- *.sw?
5
- *.vim
6
- **/*.vim
7
- .bundle
8
- .rvmrc
9
- *doc
10
- tags
11
- TODO
data/Gemfile DELETED
@@ -1,5 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- # Specify your gem's dependencies in latinirb.gemspec
4
- gemspec
5
- gem 'byebug'
@@ -1,81 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- latinirb (1.0.2)
5
- latinverb (~> 1.0)
6
- latinverb_chart_presenter (~> 1.0)
7
- linguistics_latin (~> 1.0)
8
- macronconversions (~> 1.0)
9
-
10
- GEM
11
- remote: http://rubygems.org/
12
- specs:
13
- byebug (3.1.2)
14
- columnize (~> 0.8)
15
- debugger-linecache (~> 1.2)
16
- columnize (0.8.9)
17
- debugger-linecache (1.2.0)
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)
37
- multi_json (~> 1.8)
38
- rake
39
- latinverb_chart_presenter (1.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)
46
- latinverb_irregular_infinitives_retriever
47
- latinverb_infinitives (1.0.0)
48
- latinverb_irregular_imperatives_retriever (1.0.0)
49
- latinverb_irregular_infinitives_retriever (1.0.0)
50
- latinverb_irregular_verb_definition_consumer
51
- linguistics_latin
52
- latinverb_irregular_participles_retriever (1.0.0)
53
- latinverb_irregular_verb_definition_consumer (1.0.0)
54
- linguistics_latin
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)
63
- latinverb_deponent_string_deriver
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)
68
- linguistics_latin_tense_block (1.0.0)
69
- linguistics_latin
70
- macronconversions (1.0.0)
71
- multi_json (~> 1.8)
72
- rake
73
- multi_json (1.10.1)
74
- rake (10.3.2)
75
-
76
- PLATFORMS
77
- ruby
78
-
79
- DEPENDENCIES
80
- byebug
81
- latinirb!
@@ -1,304 +0,0 @@
1
- # LatinIRB
2
-
3
- ## DESCRIPTION
4
-
5
- LatinIRB is an IRB session in which a user can interact with paradigmatic Latin
6
- verbs (`AFIRST`, `ASECOND`, `ATHIRD`, `ATHIRDIO`, `AFOURTH`) as calculated
7
- heuristically by the [LatinVerb](https://github.com/sgharms/LatinVerb) library.
8
-
9
- The methods of chief interest will be those that are _vectors_ within the
10
- LatinVerb parlance i.e. methods that uniquely identify a specific conjugated
11
- form of a verb.
12
-
13
- An primary use case would be:
14
-
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>
21
-
22
- Upon opening the session, the student may play with verbs offered for
23
- exploration. These are the standard paradigmatics verbs presented in Wheelock
24
- as well as three core irregular verbs:
25
-
26
- <table>
27
- <tr><th>Varible </th> <th>Parts </th> <th> Meaning</th></tr>
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>
36
- </table>
37
-
38
- ## INSTANTIATING
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:
51
-
52
- lv = LatinVerb.new(Text::Latex::Util::Macronconversions.convert('am\={o} am\={a}re am\={a}v\={i} amatum', :mc))
53
- lv.active\_voice\_indicative\_mood\_present\_tense\_first\_person\_singular\_number #=> amō
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
-
60
- ## VIEWING
61
-
62
- The environment takes advantage of Ruby's UTF-8 support to display the verbs
63
- with macrons (notation representing the quantity of the vowels). I recommend
64
- that you use iTerm2, urxvt, or Apple's Terminal.app for viewing these entries.
65
-
66
- ### CHART VIEW
67
-
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
78
-
79
- ## EXECUTING METHODS
80
-
81
- Every verb in latin is a "vector" comprised of the voice / mood / tense /
82
- number / and person.
83
-
84
- ### SINGULAR VECTOR
85
-
86
- As such methods are of the form:
87
-
88
- (active|passive)\_voice\_(indicative|subjunctive)\_mood\_(present|imperfect|perfect|pastperfect|futureperfect|etc.)tense\_(first|second|third)\_person\_(singular|plural)\_number
89
-
90
- This will return a single value. Where the result is ambiguous (e.g. 'number'
91
- is not provided) multiple values are returned. an exhaustive list of options
92
- follows below.
93
-
94
- ### MULTIPLEX VECTORS
95
-
96
- Several convenience methods exist which load multiple vectors at the same time
97
- such as "present tense." For their invocation, see below
98
-
99
- ### Comprehensive List of Singular Vectors
100
-
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`
257
-
258
- ### Ambiguous Methods
259
-
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`
293
-
294
- ## AUTHOR
295
-
296
- [Steven G. Harms](http://stevengharms.com)
297
-
298
- ## THANKS
299
-
300
- Thanks to the Austin Ruby coders group who answered questions that helped me put this all together. Thanks also
301
- to the Reject^{2} conference at the Lone Star Ruby Conference 2008 who helped me think through some of the
302
- metaprogrammatic approaches. Thanks to Professor James Burleson of Austin Community College who insisted,
303
- old-style, of a mastery of the rote basics of Latin. Thanks also to [Lauren Roth](http://www.laurennroth.com)
304
- for her support and encouragement and understanding of my pre-dawn hack sessions.
data/Rakefile DELETED
@@ -1,12 +0,0 @@
1
- require "rake/testtask"
2
- require "bundler/gem_tasks"
3
-
4
- task :default => :test
5
-
6
- Rake::TestTask.new do |t|
7
- t.ruby_opts = [ '-rminitest/autorun', '-rminitest/pride' ]
8
- t.libs << "test"
9
- t.test_files = FileList['test/*test*.rb']
10
- t.verbose = true
11
- end
12
-
@@ -1,24 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
- $:.push File.expand_path("../lib", __FILE__)
3
- require "latinirb/version"
4
-
5
- Gem::Specification.new do |s|
6
- s.name = "latinirb"
7
- s.version = Linguistics::Latin::Util::LatinIRB::VERSION
8
- s.platform = Gem::Platform::RUBY
9
- s.authors = ["Steven G. Harms"]
10
- s.email = ["steven.harms@gmail.com"]
11
- s.homepage = "http://rubygems.org/gems/latinverb"
12
- s.summary = %q{Gem designed to explore verbs created by LatinVerb}
13
- s.description = %q{This gem takes initial data describing a LatinVerb and allows this is be instantiated into an IRB session. Here the verb can be queried or displayed.}
14
-
15
- s.files = `git ls-files`.split("\n")
16
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18
- s.require_paths = ["lib"]
19
-
20
- s.add_runtime_dependency 'linguistics_latin', '~> 1.0'
21
- s.add_runtime_dependency 'macronconversions', '~> 1.0'
22
- s.add_runtime_dependency 'latinverb', '~> 1.0'
23
- s.add_runtime_dependency 'latinverb_chart_presenter', '~> 1.0'
24
- end