glaemscribe 1.1.0 → 1.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1a9b895bcb4101dcee7fbeba2590548d0307a865
4
- data.tar.gz: 64566e6dbd07e90f5a6d33146cb52f9287b35e99
3
+ metadata.gz: 902f62a9fe6ebafe069605ee1d77733ab8c3037f
4
+ data.tar.gz: 92d4205d12fe88dc08aaf930d89977ec8775fd02
5
5
  SHA512:
6
- metadata.gz: e97a3cc3f67fe5541acbe1d4e62d97cb338bb5074e41418a2c9b6f49e19b654d658fb3c96dbf729e868cdc52d30aae43a1069e731540cb33de9ea1f949605f9d
7
- data.tar.gz: f608ff70b01644d6ccff5bb689fb92018be14b79c7462b827bedb07078684b728f5585277d1b3e885aa6945ff332e71142133b6e39b2d2ada6a49d1870cabe02
6
+ metadata.gz: 1b83be83fbdc8fd5cbe20bd8f214035d1b185d8423ce7fbb955c3659ddb5f91f1a3becffc7ffd3d77f89ead514aa94862e98b18f3e1d45586acb99df19c2749f
7
+ data.tar.gz: 3d7237aeca6ebf5b9427d978ff7aa16af2ae975c65151a3fbd7e40b0e2a3841e99b71687dbf42860c18f4e688c2d8c621ea28271faa8df4e87589f83bd96a03f
data/LICENSE.txt CHANGED
@@ -3,7 +3,7 @@ the transcription of texts between writing systems, and more
3
3
  specifically dedicated to the transcription of J.R.R. Tolkien's
4
4
  invented languages to some of his devised writing systems.
5
5
 
6
- Copyright (C) 2015 Benjamin Babut (Talagan).
6
+ Copyright (C) 2017 Benjamin Babut (Talagan).
7
7
 
8
8
  This program is free software: you can redistribute it and/or modify
9
9
  it under the terms of the GNU Affero General Public License as published by
@@ -39,11 +39,207 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
39
39
  \charset tengwar_ds_annatar true
40
40
  \charset tengwar_freemono false
41
41
 
42
+ \beg options
43
+ \beg option espeak_voice ESPEAK_VOICE_EN_GB_JRRT
44
+ \value ESPEAK_VOICE_EN_GB_JRRT 0
45
+ \value ESPEAK_VOICE_EN_US_JRRT 1
46
+ \end
47
+ \beg option ancient_voiceless_labiovelar_fricative_wh WH_VLVF_HWESTA_SINDARINWA
48
+ \value WH_VLVF_HWESTA_SINDARINWA 0
49
+ \value WH_VLVF_WHINE_MERGER 1
50
+ \end
51
+ \end
52
+
42
53
  \beg preprocessor
54
+ \downcase
55
+
56
+ \** Remove phonetics accentuation marks **\
57
+ \substitute "[ˈˌ]" ""
58
+
59
+ \** Normalize ɚ : with or without ə ? **\
60
+ \** Option "remove schwas ?" with and without unutixe ? **\
61
+ \substitute "ɚ" "əɹ"
62
+
63
+ \** Next sounds will all use unutixe. **\
64
+ \** Long versions should resolve to short version + ore **\
65
+ \** Only ɜː would normally exist but let's be large **\
66
+ \rxsubstitute "([ʌɜəɐ])ː" "\\1ɹ"
67
+
68
+ \** Too much ore kills ore **\
69
+ \rxsubstitute "ɹ+" "əɹ"
70
+
43
71
  \end
44
72
 
45
73
  \beg processor
74
+
75
+ \beg rules litteral
76
+
77
+ \** e (accent) : e * ɛ **\
78
+ \** æ (trois points pointe en bas): æ **\
79
+ \** ʌ (unutixe) : ʌ * ɜ * ə (schwa du e) * ɐ (schwa du a) **\
80
+ \** a : a * ɑ (stop/rob/swan) **\
81
+ \** o : o * ɒ (lot anglais) / ɔ (lord) **\
82
+ \** u : u * ʊ **\
83
+ \** i (amatixe) : i * ɪ * ᵻ **\
84
+
85
+ {A} === (a,ɑ)
86
+ {AE} === (æ)
87
+ {E} === (e,ɛ)
88
+
89
+ \** TODO : CASSER EN DEUX LES SCHWAS ET LES NON SCHWA pour avoir potentiellement un traitement différent en fonction de l'activation de l'option qui vire les schwa **\
90
+ {ER} === (ʌ,ɜ,ə,ɐ) \** ɚ **\
91
+ {I} === (i,ɪ,ᵻ)
92
+ {O} === (o,ɒ,ɔ)
93
+ {U} === (u,ʊ)
94
+
95
+
96
+ \** GB DIPHTONGS **\
97
+ \** +dˈeɪ +skˈaɪ +bˈɔɪ +bˈiə +bˈeə +tˈʊə +ɡˌəʊ +kˈaʊ **\
98
+ \** US DIPHTONGS **\
99
+ \** =dˈeɪ =skˈaɪ =bˈɔɪ -bˈɪɹ -bˈɛɹ -tˈʊɹ +ɡˌoʊ =kˈaʊ **\
100
+
101
+ \** Principe **\
102
+ \** 3 Diphtongues en ʊ : aʊ (cow) / əʊ (GB : go) / oʊ (US : go) . Utiliser VALA **\
103
+ \** 3 Diphtongues en i/ɪ : eɪ (day) / aɪ (sky) / ɔɪ (boy) . Utiliser ANNA (et pas YANTA!!) **\
104
+ \** 3 Diphtongues en ə : iə (GB : beer) / eə (GB: bear) / ʊə (US: tour) . Utiliser ? **\
105
+
106
+ {AU} === (aʊ) \** cow **\
107
+ {OU} === (oʊ) \** US most / mˈoʊst **\
108
+ {EU} === (əʊ) \** GB go **\
109
+
110
+ {AJ} === (aɪ) \** nine / nˈaɪn **\
111
+ {EJ} === (eɪ) \** game / ɡˈeɪm **\
112
+ {OJ} === (ɔɪ) \** boy **\
113
+
114
+ {IER} === (iə) \** GB Beer **\
115
+ {EAR} === (eə) \** GB Bear **\
116
+ {UER} === (ʊə) \** GB Tour **\
117
+
118
+
119
+ \** ᵻ == schwi, pourrait avoir une option i ou schwa ou rien ou peut être autre **\
120
+
121
+ {VOWELS} === {A}
122
+
123
+
124
+ {_WH_} === HWESTA_SINDARINWA
125
+ \if "ancient_voiceless_labiovelar_fricative_wh == WH_VLVF_WHINE_MERGER"
126
+ {_WH_} === VALA
127
+ \endif
128
+
129
+
130
+ t --> TINCO
131
+ p --> PARMA
132
+ tʃ --> CALMA
133
+ k --> QUESSE
134
+
135
+ d --> ANDO
136
+ b --> UMBAR
137
+ dʒ --> ANGA
138
+ ɡ --> UNGWE
139
+
140
+ θ --> SULE
141
+ f --> FORMEN
142
+ ʃ --> AHA
143
+ x --> HWESTA
144
+
145
+ ð --> ANTO
146
+ v --> AMPA
147
+ ʒ --> ANCA
148
+ ɣ --> UNQUE
149
+
150
+ n --> NUMEN
151
+ m --> MALTA
152
+ nj --> NOLDO
153
+ ŋ --> NWALME
154
+
155
+ ɹ --> ORE
156
+ w --> VALA
157
+ j --> ANNA
158
+ \** VILYA **\
159
+
160
+ ɹ --> ROMEN \** != ORE **\
161
+ \** ARDA **\
162
+ l --> LAMBE
163
+ \** ALDA **\
164
+
165
+ s --> SILME
166
+ s --> SILME_NUQUERNA
167
+ z --> ESSE
168
+ z --> ESSE_NUQUERNA
169
+
170
+ h --> HYARMEN
171
+ ʍ --> {_WH_}
172
+ \** YANTA **\
173
+ \** URE **\
174
+
175
+ \** US : left : ɾ ʔ n̩ **\
176
+
177
+ \end
178
+
179
+ \beg rules punctuation
180
+ . --> PUNCT_DDOT
181
+ .. --> PUNCT_DOT PUNCT_DDOT PUNCT_DOT
182
+ ... --> PUNCT_TILD
183
+ … --> PUNCT_TILD
184
+ .... --> PUNCT_TILD
185
+ ..... --> PUNCT_TILD
186
+ ...... --> PUNCT_TILD
187
+ ....... --> PUNCT_TILD
188
+
189
+ , --> PUNCT_DOT
190
+ : --> PUNCT_DOT
191
+ ; --> PUNCT_DOT
192
+ ! --> PUNCT_EXCLAM
193
+ ? --> PUNCT_INTERR
194
+ · --> {NULL}
195
+
196
+ - --> {NULL}
197
+ – --> PUNCT_TILD
198
+ — --> PUNCT_TILD
199
+
200
+ \** Apostrophe **\
201
+
202
+ ' --> {NULL}
203
+ ’ --> {NULL}
204
+
205
+ \** Quotes **\
206
+
207
+ “ --> DQUOT_OPEN
208
+ ” --> DQUOT_CLOSE
209
+ « --> DQUOT_OPEN
210
+ » --> DQUOT_CLOSE
211
+
212
+ [ --> PUNCT_PAREN_L
213
+ ] --> PUNCT_PAREN_R
214
+ ( --> PUNCT_PAREN_L
215
+ ) --> PUNCT_PAREN_R
216
+ { --> PUNCT_PAREN_L
217
+ } --> PUNCT_PAREN_R
218
+ < --> PUNCT_PAREN_L
219
+ > --> PUNCT_PAREN_R
220
+
221
+ \** Not universal between fonts ... **\
222
+ $ --> BOOKMARK_SIGN
223
+ ≤ --> RING_MARK_L \** Ring inscription left beautiful stuff **\
224
+ ≥ --> RING_MARK_R \** Ring inscription right beautiful stuff **\
225
+ \end
226
+
227
+ \beg rules numbers
228
+ 0 --> NUM_0
229
+ 1 --> NUM_1
230
+ 2 --> NUM_2
231
+ 3 --> NUM_3
232
+ 4 --> NUM_4
233
+ 5 --> NUM_5
234
+ 6 --> NUM_6
235
+ 7 --> NUM_7
236
+ 8 --> NUM_8
237
+ 9 --> NUM_9
238
+ A --> NUM_10
239
+ B --> NUM_11
240
+ \end
46
241
  \end
47
242
 
48
243
  \beg postprocessor
244
+ \resolve_virtuals
49
245
  \end
@@ -39,6 +39,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
39
39
  \charset tengwar_ds_annatar true
40
40
  \charset tengwar_freemono false
41
41
 
42
+ \beg options
43
+ \beg option espeak_voice ESPEAK_VOICE_FR
44
+ \value ESPEAK_VOICE_FR 0
45
+ \end
46
+ \end
47
+
48
+
42
49
  \beg preprocessor
43
50
  \end
44
51
 
@@ -25,9 +25,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
25
25
  \language "Old Norse"
26
26
  \writing "Runes"
27
27
  \mode "Futhark Codex Runicus"
28
- \version "0.0.1"
28
+ \version "0.0.2"
29
29
  \authors "Historical, impl. Talagan (Benjamin Babut)"
30
30
 
31
+ \beg changelog
32
+ \entry "0.0.1" "Initial version"
33
+ \entry "0.0.2" "Adding quotes handling"
34
+ \end
35
+
31
36
  \charset unicode_runes true
32
37
 
33
38
  \beg preprocessor
@@ -120,6 +125,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
120
125
  . --> RUNIC_MULTIPLE_PUNCTUATION
121
126
  ! --> RUNIC_MULTIPLE_PUNCTUATION
122
127
  ? --> RUNIC_CROSS_PUNCTUATION
128
+ “ --> {NULL}
129
+ ” --> {NULL}
130
+ « --> {NULL}
131
+ » --> {NULL}
123
132
  \end
124
133
  \end
125
134
 
@@ -25,11 +25,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
25
25
  \language "Old Norse"
26
26
  \writing "Runes"
27
27
  \mode "Younger Futhark"
28
- \version "0.0.1"
28
+ \version "0.0.2"
29
29
  \authors "Historical impl. Bertrand Bellet"
30
30
 
31
31
  \charset unicode_runes true
32
32
 
33
+ \beg changelog
34
+ \entry "0.0.1" "Initial version"
35
+ \entry "0.0.2" "Adding quotes handling"
36
+ \end
37
+
33
38
  \beg options
34
39
  \beg option runic_style RUNIC_STYLE_LONG_BRANCH
35
40
  \value RUNIC_STYLE_LONG_BRANCH 0
@@ -122,6 +127,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
122
127
  . --> RUNIC_MULTIPLE_PUNCTUATION
123
128
  ! --> RUNIC_MULTIPLE_PUNCTUATION
124
129
  ? --> RUNIC_CROSS_PUNCTUATION
130
+ “ --> {NULL}
131
+ ” --> {NULL}
132
+ « --> {NULL}
133
+ » --> {NULL}
125
134
  \end
126
135
  \end
127
136
 
@@ -25,9 +25,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
25
25
  \language "Old English"
26
26
  \writing "Runes"
27
27
  \mode "Futhorc"
28
- \version "0.0.1"
28
+ \version "0.0.2"
29
29
  \authors "Historical impl. Bertrand Bellet"
30
30
 
31
+ \beg changelog
32
+ \entry "0.0.1" "Initial version"
33
+ \entry "0.0.2" "Adding quotes handling"
34
+ \end
35
+
31
36
  \charset unicode_runes true
32
37
 
33
38
  \beg options
@@ -154,6 +159,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
154
159
  . --> RUNIC_MULTIPLE_PUNCTUATION
155
160
  ! --> RUNIC_MULTIPLE_PUNCTUATION
156
161
  ? --> RUNIC_CROSS_PUNCTUATION
162
+ “ --> {NULL}
163
+ ” --> {NULL}
164
+ « --> {NULL}
165
+ » --> {NULL}
157
166
  \end
158
167
  \end
159
168
 
@@ -32,9 +32,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
32
32
  \language "Quenya"
33
33
  \writing "Sarati"
34
34
  \mode "Quenya Usage"
35
- \version "0.0.1"
35
+ \version "0.0.2"
36
36
  \authors "J.R.R. Tolkien, impl. Talagan (Benjamin Babut)"
37
37
 
38
+ \beg changelog
39
+ \entry "0.0.1" "Initial version"
40
+ \entry "0.0.2" "Adding quotes handling"
41
+ \end
42
+
38
43
  \charset sarati_eldamar true
39
44
 
40
45
  \outspace SARATI_SPACE
@@ -228,6 +233,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
228
233
  ’ --> {NULL}
229
234
  “ --> {NULL}
230
235
  ” --> {NULL}
236
+ « --> {NULL}
237
+ » --> {NULL}
231
238
  \end
232
239
 
233
240
  \end
@@ -41,6 +41,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
41
41
  \entry "0.9.0" "Adding double tehtar support"
42
42
  \entry "0.9.1" "Added support for the FreeMonoTengwar font"
43
43
  \entry "0.9.2" "Added support for the Tengwar Elfica font"
44
+ \entry "0.9.4" "Adding Vanyarin ldy, rdy, lg, rg, ff"
44
45
  \end
45
46
 
46
47
  \**
@@ -51,7 +52,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
51
52
  \language "Quenya"
52
53
  \writing "Tengwar"
53
54
  \mode "Classical"
54
- \version "0.9.2"
55
+ \version "0.9.4"
55
56
  \authors "J.R.R. Tolkien, impl. Talagan (Benjamin Babut)"
56
57
 
57
58
  \charset tengwar_ds_sindarin true
@@ -341,8 +342,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
341
342
  {L3} === (th,þ) * f * (h,χ) * hw
342
343
  {_L3_} === SULE * FORMEN * AHA * HWESTA
343
344
 
345
+ {L3_GEMS} === ff
346
+ {_L3_GEMS_} === FORMEN {GEMINATE}
347
+
344
348
  \** NORMAL **\
345
- [{L3}]{V_D_WN} --> [{_L3_}]{_V_D_WN_}
349
+ [{L3}]{V_D_WN} --> [{_L3_}]{_V_D_WN_}
350
+ [{L3_GEMS}]{V_D_WN} --> [{_L3_GEMS_}]{_V_D_WN_}
346
351
 
347
352
  \** OTHERS **\
348
353
  hy{V_D_WN} --> HYARMEN PALATAL_SIGN {_V_D_WN_}
@@ -390,6 +395,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
390
395
 
391
396
  {L6} === r * v * y * w
392
397
  {_L6_} === ROMEN * VALA * ANNA PALATAL_SIGN * VILYA
398
+
399
+
400
+ \** PE19:94 **\
401
+ {L6} === {L6} * rg * lg
402
+ {_L6_} === {_L6_} * {_LONE_R_} NOLDO * LAMBE NOLDO
403
+
393
404
 
394
405
  [{L6}]{V_D_WN} --> [{_L6_}]{_V_D_WN_}
395
406
 
@@ -397,8 +408,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
397
408
  r --> {_LONE_R_}
398
409
 
399
410
  rr{V_D_WN} --> ROMEN {GEMINATE} {_V_D_WN_}
400
- ry{V_D_WN} --> ROMEN PALATAL_SIGN {_V_D_WN_}
401
411
  rd{V_D_WN} --> ARDA {_V_D_WN_}
412
+
413
+ ry{V_D_WN} --> ROMEN PALATAL_SIGN {_V_D_WN_}
414
+ rdy{V_D_WN} --> ARDA PALATAL_SIGN {_V_D_WN_}
415
+
402
416
 
403
417
  \** ===================== **\
404
418
  \** L LINE RULES **\
@@ -409,6 +423,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
409
423
  [{LINE_L}]{V_D_WN} --> [{_LINE_L_}]{_V_D_WN_}
410
424
 
411
425
  ly{V_D_WN} --> LAMBE PALATAL_SIGN {_V_D_WN_}
426
+ ldy{V_D_WN} --> ALDA PALATAL_SIGN {_V_D_WN_}
412
427
  hl{V_D_WN} --> HALLA LAMBE {_V_D_WN_}
413
428
  hr{V_D_WN} --> HALLA ROMEN {_V_D_WN_}
414
429
 
@@ -27,9 +27,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
27
27
  \language "Valarin"
28
28
  \writing "Sarati"
29
29
  \mode "Glaemscrafu"
30
- \version "0.0.1"
30
+ \version "0.0.2"
31
31
  \authors "Talagan (Benjamin Babut), based on J.R.R. Tolkien"
32
32
 
33
+ \beg changelog
34
+ \entry "0.0.1" "Initial version"
35
+ \entry "0.0.2" "Adding quotes handling"
36
+ \end
37
+
33
38
  \charset sarati_eldamar true
34
39
 
35
40
  \outspace SARATI_SPACE
@@ -188,6 +193,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
188
193
  ’ --> {NULL}
189
194
  “ --> {NULL}
190
195
  ” --> {NULL}
196
+ « --> {NULL}
197
+ » --> {NULL}
191
198
  \end
192
199
  \end
193
200
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glaemscribe
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin 'Talagan' Babut
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-24 00:00:00.000000000 Z
11
+ date: 2017-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander