meiou 0.1.9 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lang/tokipona.yaml +791 -0
- data/lib/meiou/astronomy.rb +1 -1
- data/lib/meiou/book.rb +16 -1
- data/lib/meiou/tokipona.rb +36 -6
- data/lib/meiou/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c11e761b258e7e95deb2ca2badce10818656a2590915a7bb8b95deca80eaa3d5
|
4
|
+
data.tar.gz: 14b51bb1add83d79f04131d49a762728a105fdfd118b61b372e971468b28086c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b19f436bc911e72d214784f55e850b5cc842be75260aa3de654d864415b5a16f6d9312938eb4d7d78bd94559fb1e86f13efa166eb3d317d6dea7f023728e79a9
|
7
|
+
data.tar.gz: c08b1fa8cc62969454e46d17fc1ddf172dadb7cad7a44740c86d6461918fb063ba33cd484e167b99876259829cbf76e5179214ffbef1c9ba13c879dd8c78abe6
|
data/lang/tokipona.yaml
ADDED
@@ -0,0 +1,791 @@
|
|
1
|
+
# Page 125
|
2
|
+
a:
|
3
|
+
alternative: kin
|
4
|
+
particle:
|
5
|
+
- - (emphasis)
|
6
|
+
- (emotion)
|
7
|
+
- (confirmation)
|
8
|
+
akesi:
|
9
|
+
noun:
|
10
|
+
- - animal
|
11
|
+
- - reptile
|
12
|
+
- amphibian
|
13
|
+
ala:
|
14
|
+
adjective:
|
15
|
+
- - no
|
16
|
+
- not
|
17
|
+
- zero
|
18
|
+
alasa:
|
19
|
+
verb:
|
20
|
+
- - hunt
|
21
|
+
- forage
|
22
|
+
ale:
|
23
|
+
alternative: ali
|
24
|
+
adjective:
|
25
|
+
- - all
|
26
|
+
- abundant
|
27
|
+
- countless
|
28
|
+
- bountiful
|
29
|
+
- every
|
30
|
+
- plentiful
|
31
|
+
noun:
|
32
|
+
- - abundance
|
33
|
+
- everything
|
34
|
+
- life
|
35
|
+
- universe
|
36
|
+
number:
|
37
|
+
- - 100
|
38
|
+
anpa:
|
39
|
+
adjective:
|
40
|
+
- - bowing down
|
41
|
+
- downward
|
42
|
+
- humble
|
43
|
+
- lowly
|
44
|
+
- dependent
|
45
|
+
ante:
|
46
|
+
adjective:
|
47
|
+
- - different
|
48
|
+
- altered
|
49
|
+
- changed
|
50
|
+
- other
|
51
|
+
anu:
|
52
|
+
particle:
|
53
|
+
- - or
|
54
|
+
awen:
|
55
|
+
adjective:
|
56
|
+
- - enduring
|
57
|
+
- kept
|
58
|
+
- protected
|
59
|
+
- safe
|
60
|
+
- waiting
|
61
|
+
- staying
|
62
|
+
pre-verb:
|
63
|
+
- - continue
|
64
|
+
e:
|
65
|
+
particle:
|
66
|
+
- - (before the direct object)
|
67
|
+
en:
|
68
|
+
particle:
|
69
|
+
- - (between multiple subjects)
|
70
|
+
|
71
|
+
# Page 126
|
72
|
+
esun:
|
73
|
+
noun:
|
74
|
+
- - market
|
75
|
+
- shop
|
76
|
+
- fair
|
77
|
+
- bazaar
|
78
|
+
- transaction
|
79
|
+
ijo:
|
80
|
+
noun:
|
81
|
+
- - thing
|
82
|
+
- phenomenon
|
83
|
+
- object
|
84
|
+
- matter
|
85
|
+
ike:
|
86
|
+
adjective:
|
87
|
+
- - bad
|
88
|
+
- negative
|
89
|
+
- - non-essential
|
90
|
+
- irrelevant
|
91
|
+
ilo:
|
92
|
+
noun:
|
93
|
+
- - tool
|
94
|
+
- implement
|
95
|
+
- machine
|
96
|
+
- device
|
97
|
+
insa:
|
98
|
+
noun:
|
99
|
+
- - centre
|
100
|
+
- content
|
101
|
+
- inside
|
102
|
+
- between
|
103
|
+
- - organ
|
104
|
+
- stomach
|
105
|
+
jaki:
|
106
|
+
adjective:
|
107
|
+
- - disgusting
|
108
|
+
- obscene
|
109
|
+
- sickly
|
110
|
+
- toxic
|
111
|
+
- unclean
|
112
|
+
- unsanitary
|
113
|
+
jan:
|
114
|
+
noun:
|
115
|
+
- - human
|
116
|
+
- person
|
117
|
+
- somebody
|
118
|
+
jelo:
|
119
|
+
adjective:
|
120
|
+
- - yellow
|
121
|
+
- yellowish
|
122
|
+
jo:
|
123
|
+
verb:
|
124
|
+
- - have
|
125
|
+
- carry
|
126
|
+
- obtain
|
127
|
+
- hold
|
128
|
+
kala:
|
129
|
+
noun:
|
130
|
+
- - fish
|
131
|
+
kalama:
|
132
|
+
verb:
|
133
|
+
- - say
|
134
|
+
- - recite
|
135
|
+
- utter
|
136
|
+
kama:
|
137
|
+
adjective:
|
138
|
+
- - arriving
|
139
|
+
- coming
|
140
|
+
- future
|
141
|
+
- summoned
|
142
|
+
pre-verb:
|
143
|
+
- - become
|
144
|
+
- manage
|
145
|
+
- succeed
|
146
|
+
kasi:
|
147
|
+
noun:
|
148
|
+
- - plant
|
149
|
+
- vegetation
|
150
|
+
- - herb
|
151
|
+
- leaf
|
152
|
+
# Page 127
|
153
|
+
ken:
|
154
|
+
pre-verb:
|
155
|
+
- - able
|
156
|
+
- allowed
|
157
|
+
- can
|
158
|
+
- may
|
159
|
+
adjective:
|
160
|
+
- - possible
|
161
|
+
kepeken:
|
162
|
+
preposition:
|
163
|
+
- - use
|
164
|
+
- with
|
165
|
+
kili:
|
166
|
+
noun:
|
167
|
+
- - fruit
|
168
|
+
- vegetable
|
169
|
+
- mushroom
|
170
|
+
kiwen:
|
171
|
+
noun:
|
172
|
+
- - object
|
173
|
+
- metal
|
174
|
+
- rock
|
175
|
+
- stone
|
176
|
+
ko:
|
177
|
+
noun:
|
178
|
+
- - clay
|
179
|
+
- soft
|
180
|
+
- dough
|
181
|
+
- semi-solid
|
182
|
+
- paste
|
183
|
+
- powder
|
184
|
+
kon:
|
185
|
+
noun:
|
186
|
+
- - air
|
187
|
+
- breath
|
188
|
+
- - essence
|
189
|
+
- spirit
|
190
|
+
- - hidden
|
191
|
+
- unseen
|
192
|
+
kule:
|
193
|
+
adjective:
|
194
|
+
- - colourful
|
195
|
+
- pigmented
|
196
|
+
- painted
|
197
|
+
kulupu:
|
198
|
+
noun:
|
199
|
+
- - communitiy
|
200
|
+
- company
|
201
|
+
- group
|
202
|
+
- nation
|
203
|
+
- society
|
204
|
+
- tribe
|
205
|
+
kute:
|
206
|
+
noun:
|
207
|
+
- - ear
|
208
|
+
verb:
|
209
|
+
- - hear
|
210
|
+
- listen
|
211
|
+
- obey
|
212
|
+
la:
|
213
|
+
particle:
|
214
|
+
- - (between the context phrase and the main sentence)
|
215
|
+
lape:
|
216
|
+
adjective:
|
217
|
+
- - sleeping
|
218
|
+
- resting
|
219
|
+
laso:
|
220
|
+
adjective:
|
221
|
+
- - blue
|
222
|
+
- green
|
223
|
+
lawa:
|
224
|
+
noun:
|
225
|
+
- - head
|
226
|
+
- mind
|
227
|
+
verb:
|
228
|
+
- - to control
|
229
|
+
- direct
|
230
|
+
- guide
|
231
|
+
- lead
|
232
|
+
- own
|
233
|
+
- plan
|
234
|
+
- regulate
|
235
|
+
- rule
|
236
|
+
# Page 128
|
237
|
+
len:
|
238
|
+
noun:
|
239
|
+
- - cloth
|
240
|
+
- clothing
|
241
|
+
- fabric
|
242
|
+
- textile
|
243
|
+
- - cover
|
244
|
+
- privacy
|
245
|
+
lete:
|
246
|
+
adjective:
|
247
|
+
- - cold
|
248
|
+
- cool
|
249
|
+
- - uncooked
|
250
|
+
- raw
|
251
|
+
li:
|
252
|
+
particle:
|
253
|
+
- - (between any subject except mi alone or sina alone and its verbs; also to introduce a new verb for the same subject)
|
254
|
+
lili:
|
255
|
+
adjective:
|
256
|
+
- - little
|
257
|
+
- small
|
258
|
+
- short
|
259
|
+
- - few
|
260
|
+
- - young
|
261
|
+
linja:
|
262
|
+
noun:
|
263
|
+
- - long
|
264
|
+
- - flexible
|
265
|
+
- - cord
|
266
|
+
- hair
|
267
|
+
- rope
|
268
|
+
- thread
|
269
|
+
- yarn
|
270
|
+
lipu:
|
271
|
+
noun:
|
272
|
+
- - flat
|
273
|
+
- - book
|
274
|
+
- document
|
275
|
+
- card
|
276
|
+
- paper
|
277
|
+
- record
|
278
|
+
- website
|
279
|
+
loje:
|
280
|
+
adjective:
|
281
|
+
- - red
|
282
|
+
- reddish
|
283
|
+
lon:
|
284
|
+
preposition:
|
285
|
+
- - located
|
286
|
+
- present
|
287
|
+
- real
|
288
|
+
- true
|
289
|
+
- existing
|
290
|
+
luka:
|
291
|
+
noun:
|
292
|
+
- - arm
|
293
|
+
- hand
|
294
|
+
number:
|
295
|
+
- - five
|
296
|
+
lukin:
|
297
|
+
alternative: oko
|
298
|
+
noun:
|
299
|
+
- - eye
|
300
|
+
verb:
|
301
|
+
- - look
|
302
|
+
- see
|
303
|
+
- examine
|
304
|
+
- observe
|
305
|
+
- read
|
306
|
+
- watch
|
307
|
+
pre-verb:
|
308
|
+
- - seek
|
309
|
+
- search
|
310
|
+
- try
|
311
|
+
lupa:
|
312
|
+
noun:
|
313
|
+
- - door
|
314
|
+
- hole
|
315
|
+
- orifice
|
316
|
+
- window
|
317
|
+
ma:
|
318
|
+
noun:
|
319
|
+
- - earth
|
320
|
+
- land
|
321
|
+
- - outdoors
|
322
|
+
- world
|
323
|
+
- - country
|
324
|
+
- territory
|
325
|
+
- - soil
|
326
|
+
# Page 129
|
327
|
+
mama:
|
328
|
+
noun:
|
329
|
+
- - parent
|
330
|
+
- ancestor
|
331
|
+
- - creator
|
332
|
+
- originator
|
333
|
+
- - caretaker
|
334
|
+
- sustainer
|
335
|
+
mani:
|
336
|
+
noun:
|
337
|
+
- - money
|
338
|
+
- cash
|
339
|
+
- savings
|
340
|
+
- wealth
|
341
|
+
- - large
|
342
|
+
meli:
|
343
|
+
noun:
|
344
|
+
- - woman
|
345
|
+
- female
|
346
|
+
- feminine
|
347
|
+
- girl
|
348
|
+
- - wife
|
349
|
+
mi:
|
350
|
+
noun:
|
351
|
+
- - I
|
352
|
+
- me
|
353
|
+
- we
|
354
|
+
- us
|
355
|
+
mije:
|
356
|
+
noun:
|
357
|
+
- - man
|
358
|
+
- male
|
359
|
+
- masculine
|
360
|
+
- guy
|
361
|
+
- boy
|
362
|
+
- - husband
|
363
|
+
moku:
|
364
|
+
verb:
|
365
|
+
- - eat
|
366
|
+
- drink
|
367
|
+
- consume
|
368
|
+
- swallow
|
369
|
+
- ingest
|
370
|
+
moli:
|
371
|
+
adjective:
|
372
|
+
- - dead
|
373
|
+
- dying
|
374
|
+
monsi:
|
375
|
+
noun:
|
376
|
+
- - back
|
377
|
+
- behind
|
378
|
+
- rear
|
379
|
+
mu:
|
380
|
+
particle:
|
381
|
+
- - (animal noise or communication)
|
382
|
+
mun:
|
383
|
+
noun:
|
384
|
+
- - moon
|
385
|
+
- night
|
386
|
+
- star
|
387
|
+
musi:
|
388
|
+
adjective:
|
389
|
+
- - artistic
|
390
|
+
- entertaining
|
391
|
+
- frivolous
|
392
|
+
- playful
|
393
|
+
- recreational
|
394
|
+
mute:
|
395
|
+
adjective:
|
396
|
+
- - many
|
397
|
+
- lot
|
398
|
+
- more
|
399
|
+
- much
|
400
|
+
- several
|
401
|
+
- very
|
402
|
+
noun:
|
403
|
+
- - quantitiy
|
404
|
+
nanpa:
|
405
|
+
particle:
|
406
|
+
- - -th (ordinal number)
|
407
|
+
noun:
|
408
|
+
- - numbers
|
409
|
+
# Page 130
|
410
|
+
nasa:
|
411
|
+
adjective:
|
412
|
+
- - unusual
|
413
|
+
- strange
|
414
|
+
- - foolish
|
415
|
+
- crazy
|
416
|
+
- - drunk
|
417
|
+
- intoxicated
|
418
|
+
nasin:
|
419
|
+
noun:
|
420
|
+
- - way
|
421
|
+
- custom
|
422
|
+
- doctrine
|
423
|
+
- method
|
424
|
+
- path
|
425
|
+
- road
|
426
|
+
nena:
|
427
|
+
noun:
|
428
|
+
- - bump
|
429
|
+
- button
|
430
|
+
- hill
|
431
|
+
- mountain
|
432
|
+
- nose
|
433
|
+
- protuberance
|
434
|
+
ni:
|
435
|
+
adjective:
|
436
|
+
- - that
|
437
|
+
- this
|
438
|
+
nimi:
|
439
|
+
noun:
|
440
|
+
- - name
|
441
|
+
- word
|
442
|
+
noka:
|
443
|
+
noun:
|
444
|
+
- - foot
|
445
|
+
- leg
|
446
|
+
- - bottom
|
447
|
+
- lower part
|
448
|
+
o:
|
449
|
+
particle:
|
450
|
+
- - hey
|
451
|
+
- - oh
|
452
|
+
olin:
|
453
|
+
verb:
|
454
|
+
- - love
|
455
|
+
- compassion
|
456
|
+
- respect
|
457
|
+
- like
|
458
|
+
ona:
|
459
|
+
noun:
|
460
|
+
- - he
|
461
|
+
- she
|
462
|
+
- it
|
463
|
+
- they
|
464
|
+
open:
|
465
|
+
verb:
|
466
|
+
- - begin
|
467
|
+
- start
|
468
|
+
- - open
|
469
|
+
- - turn
|
470
|
+
pakala:
|
471
|
+
adjective:
|
472
|
+
- - botched
|
473
|
+
- broken
|
474
|
+
- damaged
|
475
|
+
- harmed
|
476
|
+
- ruined
|
477
|
+
pali:
|
478
|
+
verb:
|
479
|
+
- - do
|
480
|
+
- act
|
481
|
+
- work
|
482
|
+
- - build
|
483
|
+
- make
|
484
|
+
- prepare
|
485
|
+
palisa:
|
486
|
+
noun:
|
487
|
+
- - branch
|
488
|
+
- rod
|
489
|
+
- stick
|
490
|
+
pan:
|
491
|
+
noun:
|
492
|
+
- - cereal
|
493
|
+
- grain
|
494
|
+
- - barley
|
495
|
+
- corn
|
496
|
+
- oat
|
497
|
+
- rice
|
498
|
+
- wheat
|
499
|
+
- - bread
|
500
|
+
- pasta
|
501
|
+
# Page 131
|
502
|
+
pana:
|
503
|
+
verb:
|
504
|
+
- - give
|
505
|
+
- send
|
506
|
+
- emit
|
507
|
+
- provide
|
508
|
+
- put
|
509
|
+
- release
|
510
|
+
pi:
|
511
|
+
particle:
|
512
|
+
- - of
|
513
|
+
pilin:
|
514
|
+
noun:
|
515
|
+
- - heart (physical or emotional)
|
516
|
+
adjective:
|
517
|
+
- - feeling (an emotion, a direct experience)
|
518
|
+
pimeja:
|
519
|
+
adjective:
|
520
|
+
- - black
|
521
|
+
- dark
|
522
|
+
- unlit
|
523
|
+
pini:
|
524
|
+
adjective:
|
525
|
+
- - ago
|
526
|
+
- completed
|
527
|
+
- ended
|
528
|
+
- finished
|
529
|
+
- past
|
530
|
+
pipi:
|
531
|
+
adjective:
|
532
|
+
- - bug
|
533
|
+
- insect
|
534
|
+
- ant
|
535
|
+
- spider
|
536
|
+
poka:
|
537
|
+
noun:
|
538
|
+
- - hip
|
539
|
+
- side
|
540
|
+
- - next to
|
541
|
+
- nearby
|
542
|
+
- vicinity
|
543
|
+
poki:
|
544
|
+
noun:
|
545
|
+
- - container
|
546
|
+
- bag
|
547
|
+
- bowl
|
548
|
+
- box
|
549
|
+
- cup
|
550
|
+
- cupboard
|
551
|
+
- drawer
|
552
|
+
- vessel
|
553
|
+
pona:
|
554
|
+
adjective:
|
555
|
+
- - good
|
556
|
+
- positive
|
557
|
+
- useful
|
558
|
+
- - friendly
|
559
|
+
- peaceful
|
560
|
+
- - simple
|
561
|
+
pu:
|
562
|
+
adjective:
|
563
|
+
- - interacting with the official Toki Pona book
|
564
|
+
sama:
|
565
|
+
adjective:
|
566
|
+
- - same
|
567
|
+
- similar
|
568
|
+
- - sibling
|
569
|
+
- peer
|
570
|
+
- fellow
|
571
|
+
preposition:
|
572
|
+
- - as
|
573
|
+
- like
|
574
|
+
seli:
|
575
|
+
adjective:
|
576
|
+
- - fire
|
577
|
+
- - stove
|
578
|
+
- reaction
|
579
|
+
- heat
|
580
|
+
selo:
|
581
|
+
noun:
|
582
|
+
- - outside
|
583
|
+
- outer
|
584
|
+
- - bark
|
585
|
+
- peel
|
586
|
+
- shell
|
587
|
+
- skin
|
588
|
+
- - boundary
|
589
|
+
seme:
|
590
|
+
particle:
|
591
|
+
- - which
|
592
|
+
- what
|
593
|
+
sewi:
|
594
|
+
noun:
|
595
|
+
- - below
|
596
|
+
- highest
|
597
|
+
- elevated
|
598
|
+
adjective:
|
599
|
+
- - awe-inspiring
|
600
|
+
- divine
|
601
|
+
- sacred
|
602
|
+
- supernatural
|
603
|
+
sijelo:
|
604
|
+
noun:
|
605
|
+
- - body (of person or animal)
|
606
|
+
- physical
|
607
|
+
- torso
|
608
|
+
sike:
|
609
|
+
noun:
|
610
|
+
- - round
|
611
|
+
- - ball
|
612
|
+
- circle
|
613
|
+
- cycle
|
614
|
+
- sphere
|
615
|
+
- wheel
|
616
|
+
adjective:
|
617
|
+
- - year
|
618
|
+
sin:
|
619
|
+
alternative: namako
|
620
|
+
adjective:
|
621
|
+
- - new
|
622
|
+
- fresh
|
623
|
+
- - additional
|
624
|
+
- another
|
625
|
+
- extra
|
626
|
+
sina:
|
627
|
+
noun:
|
628
|
+
- - you
|
629
|
+
sinpin:
|
630
|
+
noun:
|
631
|
+
- - face
|
632
|
+
- foremost
|
633
|
+
- front
|
634
|
+
- wall
|
635
|
+
sitelen:
|
636
|
+
noun:
|
637
|
+
- - image
|
638
|
+
- picture
|
639
|
+
- representation
|
640
|
+
- symbol
|
641
|
+
- mark
|
642
|
+
- writing
|
643
|
+
sona:
|
644
|
+
verb:
|
645
|
+
- - know
|
646
|
+
- skilled
|
647
|
+
- wise
|
648
|
+
- - know-how
|
649
|
+
soweli:
|
650
|
+
noun:
|
651
|
+
- - animal
|
652
|
+
- beast
|
653
|
+
- mammal
|
654
|
+
suli:
|
655
|
+
adjective:
|
656
|
+
- - big
|
657
|
+
- heavy
|
658
|
+
- large
|
659
|
+
- long
|
660
|
+
- tall
|
661
|
+
- - adult
|
662
|
+
suno:
|
663
|
+
noun:
|
664
|
+
- - sun
|
665
|
+
- - light
|
666
|
+
- brightness
|
667
|
+
- glow
|
668
|
+
- radiance
|
669
|
+
- shine
|
670
|
+
- - lamp
|
671
|
+
supa:
|
672
|
+
noun:
|
673
|
+
- - surface
|
674
|
+
- put
|
675
|
+
# Page 133
|
676
|
+
suwi:
|
677
|
+
adjective:
|
678
|
+
- - sweet
|
679
|
+
- fragrant
|
680
|
+
- - cute
|
681
|
+
- innocent
|
682
|
+
- adorable
|
683
|
+
tan:
|
684
|
+
preposition:
|
685
|
+
- - by
|
686
|
+
- from
|
687
|
+
- because
|
688
|
+
taso:
|
689
|
+
particle:
|
690
|
+
- - but
|
691
|
+
- however
|
692
|
+
adjective:
|
693
|
+
- - only
|
694
|
+
tawa:
|
695
|
+
preposition:
|
696
|
+
- - going
|
697
|
+
- toward
|
698
|
+
- - for
|
699
|
+
- - from
|
700
|
+
adjective:
|
701
|
+
- - moving
|
702
|
+
telo:
|
703
|
+
noun:
|
704
|
+
- - water
|
705
|
+
- liquid
|
706
|
+
- fluid
|
707
|
+
- wet
|
708
|
+
- - beverage
|
709
|
+
tenpo:
|
710
|
+
noun:
|
711
|
+
- - time
|
712
|
+
- duration
|
713
|
+
- moment
|
714
|
+
- occasion
|
715
|
+
- period
|
716
|
+
- situation
|
717
|
+
toki:
|
718
|
+
verb:
|
719
|
+
- - communicate
|
720
|
+
- say
|
721
|
+
- speak
|
722
|
+
- say
|
723
|
+
- talk
|
724
|
+
- language
|
725
|
+
- think
|
726
|
+
tomo:
|
727
|
+
noun:
|
728
|
+
- - indoor
|
729
|
+
- - building
|
730
|
+
- home
|
731
|
+
- house
|
732
|
+
- room
|
733
|
+
tu:
|
734
|
+
number:
|
735
|
+
- - two
|
736
|
+
unpa:
|
737
|
+
verb:
|
738
|
+
- - sexual
|
739
|
+
- - fuck
|
740
|
+
- - sex
|
741
|
+
uta:
|
742
|
+
noun:
|
743
|
+
- - mouth
|
744
|
+
- lips
|
745
|
+
- oral
|
746
|
+
- jaw
|
747
|
+
utala:
|
748
|
+
verb:
|
749
|
+
- - battle
|
750
|
+
- challange
|
751
|
+
- compete
|
752
|
+
- struggle
|
753
|
+
walo:
|
754
|
+
adjective:
|
755
|
+
- - white
|
756
|
+
- whitish
|
757
|
+
- - light
|
758
|
+
- pale
|
759
|
+
# Page 134
|
760
|
+
wan:
|
761
|
+
adjective:
|
762
|
+
- - unique
|
763
|
+
- united
|
764
|
+
number:
|
765
|
+
- - one
|
766
|
+
waso:
|
767
|
+
noun:
|
768
|
+
- - bird
|
769
|
+
- flying
|
770
|
+
- winged
|
771
|
+
wawa:
|
772
|
+
adjective:
|
773
|
+
- - strong
|
774
|
+
- powerful
|
775
|
+
- - confident
|
776
|
+
- sure
|
777
|
+
- - energetic
|
778
|
+
- intense
|
779
|
+
weka:
|
780
|
+
adjective:
|
781
|
+
- - absent
|
782
|
+
- away
|
783
|
+
- ignored
|
784
|
+
wile:
|
785
|
+
pre-verb:
|
786
|
+
- - must
|
787
|
+
- need
|
788
|
+
- require
|
789
|
+
- should
|
790
|
+
- want
|
791
|
+
- wish
|
data/lib/meiou/astronomy.rb
CHANGED
data/lib/meiou/book.rb
CHANGED
@@ -104,7 +104,11 @@ module BOOK
|
|
104
104
|
@bin[s].transaction { |db| db.keys.map { |e| if Regexp.new(k).match(db[e]); a << e end } }
|
105
105
|
return a
|
106
106
|
end
|
107
|
-
|
107
|
+
def map &b
|
108
|
+
BOOK.sizes.each do |size|
|
109
|
+
@bin[size].transaction { |db| db.keys.map { |e| b.call(db[e]) } }
|
110
|
+
end
|
111
|
+
end
|
108
112
|
def each k, &b
|
109
113
|
@bin[k].transaction { |db| db.keys.map { |e| b.call(db[e]) } }
|
110
114
|
return nil
|
@@ -168,6 +172,16 @@ module BOOK
|
|
168
172
|
return nil
|
169
173
|
end
|
170
174
|
|
175
|
+
def self.to_a
|
176
|
+
a = []
|
177
|
+
@@BOOK.each_pair { |k,v| v.map { |e| a << e }}
|
178
|
+
return a.compact
|
179
|
+
end
|
180
|
+
|
181
|
+
def self.to_s
|
182
|
+
BOOK.to_a.join("\n\n")
|
183
|
+
end
|
184
|
+
|
171
185
|
def self.init!
|
172
186
|
Dir['books/*'].each { |e|
|
173
187
|
k = e.gsub("books/", "").gsub(".txt", "").gsub("_", " ");
|
@@ -187,6 +201,7 @@ module BOOK
|
|
187
201
|
Meiou.log :compile_done, %[done!]
|
188
202
|
return "DONE!"
|
189
203
|
end
|
204
|
+
|
190
205
|
end
|
191
206
|
|
192
207
|
Meiou.compile(:book) { |h| BOOK.compile! }
|
data/lib/meiou/tokipona.rb
CHANGED
@@ -28,6 +28,9 @@ module TOKI
|
|
28
28
|
@pos[k] = v
|
29
29
|
end
|
30
30
|
end
|
31
|
+
def to_h
|
32
|
+
@pos
|
33
|
+
end
|
31
34
|
end
|
32
35
|
|
33
36
|
def self.[] k
|
@@ -46,23 +49,50 @@ module TOKI
|
|
46
49
|
h = {}
|
47
50
|
Tokipona::Tokenizer.tokenize(s).each do |e|
|
48
51
|
if !/[[:punct:]]/.match(e)
|
49
|
-
h[e] = TOKI[e]
|
52
|
+
h[e] = TOKI[e].to_h
|
50
53
|
end
|
51
54
|
end
|
52
55
|
return h
|
53
56
|
end
|
54
57
|
|
55
58
|
def self.tokipona s
|
56
|
-
|
59
|
+
a = []
|
57
60
|
Tokenizer::WhitespaceTokenizer.new().tokenize(s).each do |e|
|
58
61
|
if !/[[:punct:]]/.match(e)
|
59
62
|
if TOKI.concept.has_key?(e)
|
60
|
-
|
63
|
+
a << TOKI.concept[e]
|
61
64
|
end
|
62
65
|
end
|
63
66
|
end
|
64
|
-
return
|
67
|
+
return %[#{a.join(" ")}.]
|
68
|
+
end
|
69
|
+
def self.init!
|
70
|
+
YAML.load(File.read('lang/tokipona.yaml')).each_pair { |k,v| @@T[k].define(v) }
|
71
|
+
return "#{@@T.keys.length} words. #{@@C.keys.length} concepts."
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
module Meiou
|
76
|
+
def self.to_toki i
|
77
|
+
TOKI.tokipona i
|
78
|
+
end
|
79
|
+
def self.from_toki i
|
80
|
+
TOKI.english i
|
81
|
+
end
|
82
|
+
@@PHRASE = {}
|
83
|
+
def self.on_passphrase k,&b
|
84
|
+
@@PHRASE[k] = b
|
85
|
+
end
|
86
|
+
def self.passphrase? k
|
87
|
+
if @@PHRASE.has_key? k
|
88
|
+
return true
|
89
|
+
else
|
90
|
+
return false
|
91
|
+
end
|
92
|
+
end
|
93
|
+
def self.passphrase k, h={}
|
94
|
+
@@PHRASE[k].call(h)
|
65
95
|
end
|
66
|
-
|
67
|
-
YAML.load(File.read(ENV['TOKIPONA'] || '../tokipona.yaml')).each_pair { |k,v| @@T[k].define(v) }
|
68
96
|
end
|
97
|
+
|
98
|
+
Meiou.init(:tokipona) { |h| TOKI.init! }
|
data/lib/meiou/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: meiou
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Erik Olson
|
@@ -144,6 +144,7 @@ files:
|
|
144
144
|
- books/astronomy.txt
|
145
145
|
- books/interpretation_of_dreams.txt
|
146
146
|
- books/the_prince.txt
|
147
|
+
- lang/tokipona.yaml
|
147
148
|
- lib/meiou.rb
|
148
149
|
- lib/meiou/astronomy.rb
|
149
150
|
- lib/meiou/book.rb
|