zenlish 0.1.03 → 0.1.04
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -4
- data/README.md +15 -1
- data/lib/zenlish/lex/empty_lexicon_factory.rb +2 -0
- data/lib/zenlish/parser/zenlish_grammar.rb +12 -4
- data/lib/zenlish/version.rb +1 -1
- data/lib/zenlish/wclasses/all_word_classes.rb +2 -0
- data/lib/zenlish/wclasses/degree_adverb.rb +9 -0
- data/lib/zenlish/wclasses/demonstrative_pronoun.rb +10 -0
- data/spec/zenlish/parser/zparser_spec.rb +105 -36
- data/spec/zenlish/support/minimal_lexicon.rb +8 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad99b6c50c66347cb8a6124b9900e658869d55e6cc1d64e389550ca4e7240365
|
4
|
+
data.tar.gz: 64b92c9f5fa2ff10090d0a5d96a026bd2457181f5cb3aae4af320f3298579011
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d628ab006a5b081d392c3c626cb16312b43a61900a9fc7ecdce97dc2e53810bb3c8fb570bbc446e37b2035440c0eb141def683ef7691aa5b14dd5c4a245d4429
|
7
|
+
data.tar.gz: 34d5fc456d007e78039893e50e5fdabee0edfc687447b07ae159c565a564339d2499cdf27ebf71fa844f42c988fcd7b10554b0b5aa17a6388997f3efb5f6101d
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,22 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## [0.1.04] - 2019-10-15
|
4
|
+
__Zenlish__ can parse all sentences in lessons 1-A ... 1-E from
|
5
|
+
[Learn These Words First](http://learnthesewordsfirst.com/).
|
6
|
+
|
7
|
+
### Added
|
8
|
+
- Class `DegreeAdverb` to represent degree adverb like `very`.
|
9
|
+
- Class `DemonstrativePronoun` to represent the adverb `there` (for `there is`, `there are`).
|
10
|
+
|
11
|
+
### Changed
|
12
|
+
- File `zparser_spec.rb`: tests include all sentences from lesson 1-E (37 sentences).
|
13
|
+
- `ZenlishGrammar`: new rules (i.e. negative_sentence, ...).
|
14
|
+
- File `minimal_lexicon.rb`: new entries in lexicon `alive`, `big`, `living`,
|
15
|
+
`small`, `this one` and `very`.
|
16
|
+
- File `README.md` Added a table with a couple of metrics.
|
17
|
+
|
3
18
|
## [0.1.03] - 2019-10-13
|
4
|
-
__Zenlish__ can parse all
|
19
|
+
__Zenlish__ can parse all sentences in lessons 1-A ... 1-D from
|
5
20
|
[Learn These Words First](http://learnthesewordsfirst.com/).
|
6
21
|
|
7
22
|
### Added
|
@@ -12,11 +27,11 @@ __Zenlish__ can parse all the sentences in lessons 1-A ... 1-D from
|
|
12
27
|
- Class `PrepositionThan` to use with comparative clauses.
|
13
28
|
|
14
29
|
### Changed
|
15
|
-
- File `zparser_spec.rb`: tests include all sentences from lesson 1-
|
30
|
+
- File `zparser_spec.rb`: tests include all sentences from lesson 1-D.
|
16
31
|
- `ZenlishGrammar`: new rules (i.e. negative_sentence, ...).
|
17
32
|
|
18
33
|
## [0.1.02] - 2019-10-11
|
19
|
-
__Zenlish__ can parse all
|
34
|
+
__Zenlish__ can parse all sentences in lessons 1-A, 1-B, 1-C from
|
20
35
|
[Learn These Words First](http://learnthesewordsfirst.com/).
|
21
36
|
|
22
37
|
### Added
|
@@ -35,7 +50,7 @@ __Zenlish__ can parse all the sentences in lessons 1-A, 1-B, 1-C from
|
|
35
50
|
|
36
51
|
|
37
52
|
## [0.1.01] - 2019-10-10
|
38
|
-
__Zenlish__ can parse all
|
53
|
+
__Zenlish__ can parse all sentences in lessons 1-A, 1-B from [Learn These Words First](http://learnthesewordsfirst.com/).
|
39
54
|
|
40
55
|
### Added
|
41
56
|
- Class `Numeral` to represent the abstract word class for cardinal and ordinal numbers.
|
data/README.md
CHANGED
@@ -19,6 +19,7 @@ It reflects a desire to make Zenlish a simple language:
|
|
19
19
|
- The focus is put on a simplified syntax,
|
20
20
|
- A limited lexicon. Priority on most commonly used words.
|
21
21
|
|
22
|
+
|
22
23
|
#### Expressiveness
|
23
24
|
Zenlish should be rich enough to express ideas, facts in a fluid way (vs. contrived, artificial way).
|
24
25
|
Litmus test: a Zenlish text should be easy to read to a English reading person.
|
@@ -32,12 +33,25 @@ Over time, the zenlish gem will contain:
|
|
32
33
|
- Feature unification (for number, gender agreement)
|
33
34
|
- A simplified ontology
|
34
35
|
|
36
|
+
|
35
37
|
### What is the purpose of __Zenlish__ ?
|
36
38
|
With __Zenlish__ it should be possible for a Ruby application to interact with
|
37
39
|
users with a language that is close enough to English.
|
38
40
|
|
41
|
+
### Project status
|
42
|
+
|
43
|
+
The project is still in inception.
|
44
|
+
#### Some project metrics (v. 0.1.04)
|
45
|
+
|Metric|Value|
|
46
|
+
|:-:|:-:|
|
47
|
+
| Number of lemmas in lexicon | 32 |
|
48
|
+
| Number of production rules in grammar | 53 |
|
49
|
+
| Number of lessons covered | 4 |
|
50
|
+
| Number of sentences in spec files | 37 |
|
51
|
+
|
52
|
+
|
39
53
|
### Roadmap
|
40
|
-
|
54
|
+
|
41
55
|
Here a tentative roadmap:
|
42
56
|
|
43
57
|
#### A) Support vocabulary and sentences from [Learn These Words First](http://learnthesewordsfirst.com/)
|
@@ -25,7 +25,9 @@ module Zenlish
|
|
25
25
|
aLexicon.add_terminal(WClasses::CommonNoun.new.freeze)
|
26
26
|
aLexicon.add_terminal(WClasses::ComparativeParticle.new.freeze)
|
27
27
|
aLexicon.add_terminal(WClasses::DefiniteArticle.new.freeze)
|
28
|
+
aLexicon.add_terminal(WClasses::DegreeAdverb.new.freeze)
|
28
29
|
aLexicon.add_terminal(WClasses::DemonstrativeDeterminer.new.freeze)
|
30
|
+
aLexicon.add_terminal(WClasses::DemonstrativePronoun.new.freeze)
|
29
31
|
aLexicon.add_terminal(WClasses::IndefinitePronoun.new.freeze)
|
30
32
|
aLexicon.add_terminal(WClasses::IrregularVerb.new.freeze)
|
31
33
|
aLexicon.add_terminal(WClasses::IrregularVerbBe.new.freeze)
|
@@ -24,29 +24,37 @@ builder = Rley::Syntax::GrammarBuilder.new do
|
|
24
24
|
rule 'noun_phrase' => 'numeral nominal'
|
25
25
|
|
26
26
|
# Case: ... one of these things.
|
27
|
-
rule 'noun_phrase' => 'numeral Preposition DemonstrativeDeterminer noun_phrase'
|
27
|
+
rule 'noun_phrase' => 'numeral Preposition DemonstrativeDeterminer noun_phrase'
|
28
|
+
rule 'noun_phrase' => 'numeral Preposition DemonstrativeDeterminer'
|
28
29
|
rule 'noun_phrase' => 'determiner numeral nominal'
|
29
30
|
|
30
31
|
# CGE p.359, 360: of + definite noun phrase
|
31
|
-
rule 'noun_phrase' => 'determiner Preposition DemonstrativeDeterminer noun_phrase'
|
32
|
-
rule 'noun_phrase' => 'ProperNoun'
|
32
|
+
rule 'noun_phrase' => 'determiner Preposition DemonstrativeDeterminer noun_phrase'
|
33
|
+
rule 'noun_phrase' => 'ProperNoun'
|
34
|
+
rule 'noun_phrase' => 'DemonstrativePronoun'
|
33
35
|
rule 'noun_phrase' => 'IndefinitePronoun'
|
34
36
|
rule 'nominal' => 'CommonNoun'
|
35
37
|
rule 'nominal' => 'Adjective CommonNoun'
|
36
38
|
rule 'nominal' => 'Adjective CommonNoun comparative_clause'
|
39
|
+
rule 'nominal' => 'Adjective comparative_clause'
|
37
40
|
rule 'determiner' => 'determiner single_determiner'
|
38
41
|
rule 'determiner' => 'single_determiner'
|
39
42
|
rule 'single_determiner' => 'DemonstrativeDeterminer'
|
40
43
|
rule 'single_determiner' => 'DefiniteArticle'
|
41
44
|
rule 'single_determiner' => 'IndefiniteQuantifier'
|
42
45
|
rule 'verb_phrase' => 'lexical_verb'
|
43
|
-
rule 'verb_phrase' => 'lexical_verb verb_complement'
|
46
|
+
rule 'verb_phrase' => 'lexical_verb verb_complement'
|
47
|
+
rule 'verb_phrase' => 'IrregularVerbBe verb_be_complement'
|
44
48
|
rule 'verb_complement' => 'noun_phrase'
|
45
49
|
rule 'verb_complement' => 'adverb_phrase'
|
46
50
|
rule 'verb_complement' => 'propositional_phrase'
|
47
51
|
rule 'verb_complement' => 'noun_phrase adverb_phrase'
|
48
52
|
rule 'verb_complement' => 'noun_phrase propositional_phrase'
|
53
|
+
rule 'verb_be_complement' => 'adjective_as_complement' # Specific to be as lexical verb
|
54
|
+
rule 'adjective_as_complement' => 'DegreeAdverb Adjective'
|
55
|
+
rule 'adjective_as_complement' => 'Adjective'
|
49
56
|
rule 'negative_verb_phrase' => 'IrregularVerbBe AdverbNot verb_complement'
|
57
|
+
rule 'negative_verb_phrase' => 'IrregularVerbBe AdverbNot Adjective'
|
50
58
|
rule 'negative_verb_phrase' => 'AuxiliaryDo AdverbNot verb_phrase'
|
51
59
|
rule 'lexical_verb' => 'IrregularVerb'
|
52
60
|
rule 'lexical_verb' => 'IrregularVerbBe'
|
data/lib/zenlish/version.rb
CHANGED
@@ -10,12 +10,14 @@ require_relative 'auxiliary_do'
|
|
10
10
|
require_relative 'cardinal'
|
11
11
|
require_relative 'comparative_particle'
|
12
12
|
require_relative 'common_noun'
|
13
|
+
require_relative 'degree_adverb'
|
13
14
|
require_relative 'pronoun'
|
14
15
|
require_relative 'proper_noun'
|
15
16
|
require_relative 'irregular_verb'
|
16
17
|
require_relative 'irregular_verb_be'
|
17
18
|
require_relative 'definite_article'
|
18
19
|
require_relative 'demonstrative_determiner'
|
20
|
+
require_relative 'demonstrative_pronoun'
|
19
21
|
require_relative 'indefinite_pronoun'
|
20
22
|
require_relative 'indefinite_quantifier'
|
21
23
|
require_relative 'preposition'
|
@@ -0,0 +1,10 @@
|
|
1
|
+
require_relative 'pronoun'
|
2
|
+
|
3
|
+
module Zenlish
|
4
|
+
module WClasses
|
5
|
+
# Demonstrative pronouns identify a noun: this, that, these, those, such
|
6
|
+
# or someone/something mentioned explicitly this one
|
7
|
+
class DemonstrativePronoun < Pronoun
|
8
|
+
end # class
|
9
|
+
end # module
|
10
|
+
end # module
|
@@ -20,35 +20,54 @@ module Zenlish
|
|
20
20
|
$ZenlishLexicon.get_lexeme(aLemma, aWordClass)
|
21
21
|
end
|
22
22
|
|
23
|
-
def
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
23
|
+
def self.literal2var(aLemma, aLiteral, aSuffix = '')
|
24
|
+
mth_name = aLiteral.downcase + aSuffix
|
25
|
+
define_method(mth_name.to_sym) do
|
26
|
+
Lex::Literal.new(aLiteral, get_lexeme(aLemma), 0)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
# In absence of a POS tagger/lemmatizer, we map input words
|
31
|
+
# to variables that themselves return Literal objects.
|
32
|
+
# For instance, next line will create a variable called 'alive'
|
33
|
+
literal2var('alive', 'alive')
|
34
|
+
literal2var('all', 'all')
|
35
|
+
literal2var('be', 'are')
|
36
|
+
literal2var('big', 'big')
|
37
|
+
literal2var('big', 'bigger')
|
38
|
+
literal2var('as', 'as')
|
39
|
+
literal2var('of', 'of')
|
40
|
+
literal2var('do', 'does')
|
41
|
+
literal2var('inside', 'inside')
|
29
42
|
def is ; Lex::Literal.new('is', get_lexeme('be', WClasses::IrregularVerbBe), 0) ; end
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
43
|
+
literal2var('Lisa', 'Lisa')
|
44
|
+
literal2var('living', 'living')
|
45
|
+
literal2var('many', 'many')
|
46
|
+
literal2var('more', 'more')
|
47
|
+
literal2var('not', 'not', '_')
|
48
|
+
literal2var('one', 'one')
|
49
|
+
literal2var('two', 'two')
|
50
|
+
literal2var('other', 'other')
|
51
|
+
literal2var('people', 'people')
|
52
|
+
literal2var('person', 'person')
|
53
|
+
literal2var('same', 'same')
|
54
|
+
literal2var('small', 'small')
|
55
|
+
literal2var('small', 'smaller')
|
56
|
+
literal2var('some', 'some')
|
57
|
+
literal2var('see', 'see')
|
58
|
+
literal2var('see', 'sees')
|
59
|
+
literal2var('something', 'something')
|
60
|
+
literal2var('the', 'the')
|
61
|
+
literal2var('than', 'than')
|
62
|
+
literal2var('there', 'there')
|
63
|
+
literal2var('thing', 'thing')
|
64
|
+
literal2var('thing', 'things')
|
65
|
+
literal2var('this', 'these')
|
66
|
+
literal2var('this', 'this')
|
67
|
+
literal2var('this one', 'this_one')
|
68
|
+
literal2var('Tony', 'Tony')
|
69
|
+
literal2var('very', 'very')
|
70
|
+
|
52
71
|
def dot ; Lex::Literal.new('.', get_lexeme('.'), 0) ; end
|
53
72
|
|
54
73
|
class ZProxy
|
@@ -150,20 +169,20 @@ module Zenlish
|
|
150
169
|
|
151
170
|
it 'should parse sample sentences from lesson 1-D' do
|
152
171
|
# Sentence 1-12a: "Some of these people are inside this thing."
|
153
|
-
literals = [
|
172
|
+
literals = [some, of, these, people, are, inside, this, thing, dot]
|
154
173
|
expect { subject.parse(literals) }.not_to raise_error
|
155
|
-
|
174
|
+
|
156
175
|
# Sentence 1-12b: "Some of these people are not inside this thing."
|
157
|
-
literals = [
|
176
|
+
literals = [some, of, these, people, are, not_, inside, this, thing, dot]
|
158
177
|
expect { subject.parse(literals) }.not_to raise_error
|
159
|
-
|
178
|
+
|
160
179
|
# Sentence 1-13: "All of these people are inside this thing."
|
161
180
|
literals = [all, of, these, people, are, not_, inside, this, thing, dot]
|
162
181
|
expect { subject.parse(literals) }.not_to raise_error
|
163
|
-
|
182
|
+
|
164
183
|
# Sentence 1-14a: "There are two people inside one of these things."
|
165
184
|
literals = [there, are, two, people, inside, one, of, these, things, dot]
|
166
|
-
expect { subject.parse(literals) }.not_to raise_error
|
185
|
+
expect { subject.parse(literals) }.not_to raise_error
|
167
186
|
|
168
187
|
# Sentence 1-14b: "There are not people inside the other thing."
|
169
188
|
literals = [there, are, not_, people, inside, the, other, thing, dot]
|
@@ -175,11 +194,61 @@ module Zenlish
|
|
175
194
|
|
176
195
|
# Sentence 1-15b: "There are more people inside this thing."
|
177
196
|
literals = [there, are, more, people, inside, this, thing, dot]
|
178
|
-
expect { subject.parse(literals) }.not_to raise_error
|
197
|
+
expect { subject.parse(literals) }.not_to raise_error
|
179
198
|
|
180
199
|
# Sentence 1-15c: "There are more people inside the other thing than there are inside this thing."
|
181
200
|
literals = [there, are, more, people, inside, the, other, thing, than, there, are, inside, this, thing, dot]
|
182
|
-
expect { subject.parse(literals) }.not_to raise_error
|
201
|
+
expect { subject.parse(literals) }.not_to raise_error
|
202
|
+
end
|
203
|
+
|
204
|
+
it 'should parse sample sentences from lesson 1-E' do
|
205
|
+
# Sentence 1-16a: "Two of these things are alive."
|
206
|
+
literals = [two, of, these, things, are, alive, dot]
|
207
|
+
expect { subject.parse(literals) }.not_to raise_error
|
208
|
+
|
209
|
+
# Sentence 1-16b: "One of these things is not alive."
|
210
|
+
literals = [one, of, these, things, is, not_, alive, dot]
|
211
|
+
expect { subject.parse(literals) }.not_to raise_error
|
212
|
+
|
213
|
+
# Sentence 1-17a: "Tony sees some living things."
|
214
|
+
literals = [tony, sees, some, living, things, dot]
|
215
|
+
expect { subject.parse(literals) }.not_to raise_error
|
216
|
+
|
217
|
+
# Sentence 1-17b: "Two of these things are big."
|
218
|
+
literals = [two, of, these, things, are, big, dot]
|
219
|
+
expect { subject.parse(literals) }.not_to raise_error
|
220
|
+
|
221
|
+
# Sentence 1-17c: "One of these things is not big."
|
222
|
+
literals = [one, of, these, things, is, not_, big, dot]
|
223
|
+
expect { subject.parse(literals) }.not_to raise_error
|
224
|
+
|
225
|
+
# Sentence 1-18a: "Tony sees some living things."
|
226
|
+
literals = [tony, sees, some, living, things, dot]
|
227
|
+
expect { subject.parse(literals) }.not_to raise_error
|
228
|
+
|
229
|
+
# Sentence 1-18b: "One of these is big."
|
230
|
+
literals = [one, of, these, is, big, dot]
|
231
|
+
expect { subject.parse(literals) }.not_to raise_error
|
232
|
+
|
233
|
+
# Sentence 1-18c: "Two of these are small."
|
234
|
+
literals = [two, of, these, are, small, dot]
|
235
|
+
expect { subject.parse(literals) }.not_to raise_error
|
236
|
+
|
237
|
+
# Sentence 1-19a: "Tony sees one living thing."
|
238
|
+
literals = [tony, sees, one, living, thing, dot]
|
239
|
+
expect { subject.parse(literals) }.not_to raise_error
|
240
|
+
|
241
|
+
# Sentence 1-19b: "This one is very big."
|
242
|
+
literals = [this_one, is, very, big, dot]
|
243
|
+
expect { subject.parse(literals) }.not_to raise_error
|
244
|
+
|
245
|
+
# Sentence: "This thing is bigger than the other thing."
|
246
|
+
literals = [this, thing, is, bigger, than, the, other, thing, dot]
|
247
|
+
expect { subject.parse(literals) }.not_to raise_error
|
248
|
+
|
249
|
+
# Sentence: "This thing is smaller than the other thing."
|
250
|
+
literals = [this, thing, is, smaller, than, the, other, thing, dot]
|
251
|
+
expect { subject.parse(literals) }.not_to raise_error
|
183
252
|
end
|
184
253
|
end # context
|
185
254
|
end # describe
|
@@ -9,6 +9,7 @@ adjective = $ZenlishLexicon.name2terminal['Adjective']
|
|
9
9
|
adverb = $ZenlishLexicon.name2terminal['Adverb']
|
10
10
|
adverb_not = $ZenlishLexicon.name2terminal['AdverbNot']
|
11
11
|
adverb_there = $ZenlishLexicon.name2terminal['AdverbThere']
|
12
|
+
degree_adverb = $ZenlishLexicon.name2terminal['DegreeAdverb']
|
12
13
|
# auxiliary_be = $ZenlishLexicon.name2terminal['AuxiliaryBe']
|
13
14
|
auxiliary_do = $ZenlishLexicon.name2terminal['AuxiliaryDo']
|
14
15
|
common_noun = $ZenlishLexicon.name2terminal['CommonNoun']
|
@@ -18,6 +19,7 @@ preposition_than = $ZenlishLexicon.name2terminal['PrepositionThan']
|
|
18
19
|
irregular_verb = $ZenlishLexicon.name2terminal['IrregularVerb']
|
19
20
|
irregular_verb_be = $ZenlishLexicon.name2terminal['IrregularVerbBe']
|
20
21
|
indefinite_pronoun = $ZenlishLexicon.name2terminal['IndefinitePronoun']
|
22
|
+
demonstrative_pronoun = $ZenlishLexicon.name2terminal['DemonstrativePronoun']
|
21
23
|
demonstrative_determiner = $ZenlishLexicon.name2terminal['DemonstrativeDeterminer']
|
22
24
|
definite_article = $ZenlishLexicon.name2terminal['DefiniteArticle']
|
23
25
|
cardinal = $ZenlishLexicon.name2terminal['Cardinal']
|
@@ -33,13 +35,16 @@ def add_entry(aLemma, aWordClass)
|
|
33
35
|
end
|
34
36
|
|
35
37
|
# Our minimalistic lexicon
|
38
|
+
add_entry('alive', adjective)
|
36
39
|
add_entry('all', indefinite_quantifier)
|
37
40
|
add_entry('as', comparative_particle)
|
38
41
|
# add_entry('be', auxiliary_be)
|
39
42
|
add_entry('be', irregular_verb_be)
|
43
|
+
add_entry('big', adjective)
|
40
44
|
add_entry('do', auxiliary_do)
|
41
45
|
add_entry('inside', preposition)
|
42
46
|
add_entry('Lisa', proper_noun)
|
47
|
+
add_entry('living', adjective)
|
43
48
|
add_entry('many', indefinite_quantifier)
|
44
49
|
add_entry('more', adjective)
|
45
50
|
add_entry('not', adverb_not)
|
@@ -50,6 +55,7 @@ add_entry('people', common_noun)
|
|
50
55
|
add_entry('person', common_noun)
|
51
56
|
add_entry('same', adjective)
|
52
57
|
add_entry('see', irregular_verb)
|
58
|
+
add_entry('small', adjective)
|
53
59
|
add_entry('some', indefinite_quantifier)
|
54
60
|
add_entry('something', indefinite_pronoun)
|
55
61
|
add_entry('than', preposition_than)
|
@@ -57,7 +63,9 @@ add_entry('the', definite_article)
|
|
57
63
|
add_entry('there', adverb_there)
|
58
64
|
add_entry('thing', common_noun)
|
59
65
|
add_entry('this', demonstrative_determiner)
|
66
|
+
add_entry('this one', demonstrative_pronoun)
|
60
67
|
add_entry('Tony', proper_noun)
|
61
68
|
add_entry('two', cardinal)
|
69
|
+
add_entry('very', degree_adverb)
|
62
70
|
|
63
71
|
add_entry('.', dot)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zenlish
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.04
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dimitri Geshef
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-10-
|
11
|
+
date: 2019-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rley
|
@@ -106,7 +106,9 @@ files:
|
|
106
106
|
- lib/zenlish/wclasses/common_noun.rb
|
107
107
|
- lib/zenlish/wclasses/comparative_particle.rb
|
108
108
|
- lib/zenlish/wclasses/definite_article.rb
|
109
|
+
- lib/zenlish/wclasses/degree_adverb.rb
|
109
110
|
- lib/zenlish/wclasses/demonstrative_determiner.rb
|
111
|
+
- lib/zenlish/wclasses/demonstrative_pronoun.rb
|
110
112
|
- lib/zenlish/wclasses/determiner.rb
|
111
113
|
- lib/zenlish/wclasses/indefinite_pronoun.rb
|
112
114
|
- lib/zenlish/wclasses/indefinite_quantifier.rb
|