indofix 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/indofix.rb +46 -0
- data/lib/indofix/errors.rb +3 -0
- data/lib/indofix/indofix_kpst_helper.rb +110 -0
- data/lib/indofix/indofix_nomina_helper.rb +376 -0
- data/lib/indofix/indofix_other_helper.rb +212 -0
- data/lib/indofix/indofix_verba_helper.rb +520 -0
- data/lib/indofix/version.rb +3 -0
- metadata +108 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 03cbabf8bcc26146c16cf3804d0a9300a35f0ba5
|
4
|
+
data.tar.gz: ff26a2d942aeb5d207f7ebd56d02115dd8657070
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0e2899cac8aea127621b32f7aba14dd6eabed089dd9b8a8f0861f260128d33d4d249da492fdc00cdd6288614216dd21e28e564649b8312a025bf6630d9496dbc
|
7
|
+
data.tar.gz: bd38f76c705ff52ad12d14745a6e51355473a23c8862b6a1538504d9c487089e32ed2711e3ed653bd27cda49ab76a7bc31f1d4dd3c0035c2593909a466b8c2f2
|
data/lib/indofix.rb
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
require "indofix/version"
|
2
|
+
require "indofix/indofix_nomina_helper"
|
3
|
+
require "indofix/indofix_other_helper"
|
4
|
+
require "indofix/indofix_verba_helper"
|
5
|
+
require "indofix/indofix_kpst_helper"
|
6
|
+
|
7
|
+
module Indofix
|
8
|
+
class << self
|
9
|
+
|
10
|
+
def welcome
|
11
|
+
"Welcome to Indofix"
|
12
|
+
end
|
13
|
+
|
14
|
+
def check_nomina
|
15
|
+
@check_nomina ||= IndofixNominaHelper.new
|
16
|
+
end
|
17
|
+
|
18
|
+
def check_verba
|
19
|
+
@check_verba ||= IndofixVerbaHelper.new
|
20
|
+
end
|
21
|
+
|
22
|
+
def check_kpst
|
23
|
+
@check_kpst ||= IndofixKpstHelper.new
|
24
|
+
end
|
25
|
+
|
26
|
+
def check_other
|
27
|
+
@check_other ||= IndofixOtherHelper.new
|
28
|
+
end
|
29
|
+
|
30
|
+
def check(params, string)
|
31
|
+
result = ''
|
32
|
+
if (!params.nil? || !string.nil?)
|
33
|
+
case params
|
34
|
+
when 'nomina'
|
35
|
+
result = check_nomina.nomina_x_an(string)
|
36
|
+
when 'verba'
|
37
|
+
result = check_verba.verba_x_an(string)
|
38
|
+
end
|
39
|
+
result[1]
|
40
|
+
else
|
41
|
+
raise(Error, "Indofix Error")
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,110 @@
|
|
1
|
+
require 'verbal_expressions'
|
2
|
+
|
3
|
+
module Indofix
|
4
|
+
class IndofixKpstHelper
|
5
|
+
|
6
|
+
# pelepasan imbuhan 'me' dengan 'n'
|
7
|
+
def imbuhan_n_x(string)
|
8
|
+
@verex = VerEx.new do
|
9
|
+
start_of_line
|
10
|
+
find 'n'
|
11
|
+
begin_capture
|
12
|
+
anything
|
13
|
+
end_capture
|
14
|
+
end_of_line
|
15
|
+
end
|
16
|
+
return @verex.match(string)
|
17
|
+
end
|
18
|
+
|
19
|
+
# pelepasan imbuhan 'me' dengan 'ng'
|
20
|
+
def imbuhan_ng_x(string)
|
21
|
+
@verex = VerEx.new do
|
22
|
+
start_of_line
|
23
|
+
find 'ng'
|
24
|
+
begin_capture
|
25
|
+
anything
|
26
|
+
end_capture
|
27
|
+
end_of_line
|
28
|
+
end
|
29
|
+
return @verex.match(string)
|
30
|
+
end
|
31
|
+
|
32
|
+
# pelepasan imbuhan 'me' dengan 'nge'
|
33
|
+
def imbuhan_nge_x(string)
|
34
|
+
@verex = VerEx.new do
|
35
|
+
start_of_line
|
36
|
+
find 'nge'
|
37
|
+
begin_capture
|
38
|
+
anything
|
39
|
+
end_capture
|
40
|
+
end_of_line
|
41
|
+
end
|
42
|
+
return @verex.match(string)
|
43
|
+
end
|
44
|
+
|
45
|
+
# pelepasan imbuhan 'me' dengan 'ny'
|
46
|
+
def imbuhan_ny_x(string)
|
47
|
+
@verex = VerEx.new do
|
48
|
+
start_of_line
|
49
|
+
find 'ny'
|
50
|
+
begin_capture
|
51
|
+
anything
|
52
|
+
end_capture
|
53
|
+
end_of_line
|
54
|
+
end
|
55
|
+
return @verex.match(string)
|
56
|
+
end
|
57
|
+
|
58
|
+
# pelepasan imbuhan 'me' dengan 'm'
|
59
|
+
def imbuhan_m_x(string)
|
60
|
+
@verex = VerEx.new do
|
61
|
+
start_of_line
|
62
|
+
find 'm'
|
63
|
+
begin_capture
|
64
|
+
anything
|
65
|
+
end_capture
|
66
|
+
end_of_line
|
67
|
+
end
|
68
|
+
return @verex.match(string)
|
69
|
+
end
|
70
|
+
|
71
|
+
# auto processing
|
72
|
+
# pemroresan pelepasan n -> ng(nge)/ny, m
|
73
|
+
def process_imbuhan_n_ng(match)
|
74
|
+
@match = match
|
75
|
+
if !@match.nil?
|
76
|
+
@string = @match[1]
|
77
|
+
if !imbuhan_n_x(@string).nil?
|
78
|
+
if !imbuhan_ng_x(@string).nil?
|
79
|
+
if !imbuhan_nge_x(@string).nil?
|
80
|
+
return imbuhan_nge_x(@string)
|
81
|
+
else
|
82
|
+
return imbuhan_ng_x(@string)
|
83
|
+
end
|
84
|
+
elsif !imbuhan_ny_x(@string).nil?
|
85
|
+
return imbuhan_ny_x(@string)
|
86
|
+
else
|
87
|
+
return imbuhan_n_x(@string)
|
88
|
+
end
|
89
|
+
elsif !imbuhan_m_x(@string).nil?
|
90
|
+
return imbuhan_m_x(@string)
|
91
|
+
else
|
92
|
+
return @match
|
93
|
+
end
|
94
|
+
else
|
95
|
+
return @match
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
# TODO: next
|
100
|
+
def process_ktsp(match)
|
101
|
+
@match = match
|
102
|
+
if !@match.nil?
|
103
|
+
@string = @match[1]
|
104
|
+
else
|
105
|
+
return @match
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
109
|
+
end
|
110
|
+
end
|
@@ -0,0 +1,376 @@
|
|
1
|
+
require 'verbal_expressions'
|
2
|
+
|
3
|
+
module Indofix
|
4
|
+
class IndofixNominaHelper
|
5
|
+
|
6
|
+
# id:Nomina (-an)
|
7
|
+
def nomina_x_an (string)
|
8
|
+
@verex = VerEx.new do
|
9
|
+
start_of_line
|
10
|
+
begin_capture
|
11
|
+
anything
|
12
|
+
end_capture
|
13
|
+
find 'an'
|
14
|
+
end_of_line
|
15
|
+
end
|
16
|
+
return @verex.match(string)
|
17
|
+
end
|
18
|
+
|
19
|
+
# id:Nomina (-ku)
|
20
|
+
def nomina_x_ku (string)
|
21
|
+
@verex = VerEx.new do
|
22
|
+
start_of_line
|
23
|
+
begin_capture
|
24
|
+
anything
|
25
|
+
end_capture
|
26
|
+
find 'ku'
|
27
|
+
end_of_line
|
28
|
+
end
|
29
|
+
return @verex.match(string)
|
30
|
+
end
|
31
|
+
|
32
|
+
# id:Nomina (-mu)
|
33
|
+
def nomina_x_mu (string)
|
34
|
+
@verex = VerEx.new do
|
35
|
+
start_of_line
|
36
|
+
begin_capture
|
37
|
+
anything
|
38
|
+
end_capture
|
39
|
+
find 'mu'
|
40
|
+
end_of_line
|
41
|
+
end
|
42
|
+
return @verex.match(string)
|
43
|
+
end
|
44
|
+
|
45
|
+
# id:Nomina (-nya)
|
46
|
+
def nomina_x_nya (string)
|
47
|
+
@verex = VerEx.new do
|
48
|
+
start_of_line
|
49
|
+
begin_capture
|
50
|
+
anything
|
51
|
+
end_capture
|
52
|
+
find 'nya'
|
53
|
+
end_of_line
|
54
|
+
end
|
55
|
+
return @verex.match(string)
|
56
|
+
end
|
57
|
+
|
58
|
+
# id:Nomina (ke-)
|
59
|
+
def nomina_ke_x (string)
|
60
|
+
@verex = VerEx.new do
|
61
|
+
start_of_line
|
62
|
+
find 'ke'
|
63
|
+
begin_capture
|
64
|
+
anything
|
65
|
+
end_capture
|
66
|
+
end_of_line
|
67
|
+
end
|
68
|
+
return @verex.match(string)
|
69
|
+
end
|
70
|
+
|
71
|
+
# id:Nomina (ke-an)
|
72
|
+
def nomina_ke_x_an (string)
|
73
|
+
@verex = VerEx.new do
|
74
|
+
start_of_line
|
75
|
+
find 'ke'
|
76
|
+
begin_capture
|
77
|
+
anything
|
78
|
+
end_capture
|
79
|
+
find 'an'
|
80
|
+
end_of_line
|
81
|
+
end
|
82
|
+
return @verex.match(string)
|
83
|
+
end
|
84
|
+
|
85
|
+
# id:Nomina (ke-anku)
|
86
|
+
def nomina_ke_x_anku (string)
|
87
|
+
@verex = VerEx.new do
|
88
|
+
start_of_line
|
89
|
+
find 'ke'
|
90
|
+
begin_capture
|
91
|
+
anything
|
92
|
+
end_capture
|
93
|
+
find 'anku'
|
94
|
+
end_of_line
|
95
|
+
end
|
96
|
+
return @verex.match(string)
|
97
|
+
end
|
98
|
+
|
99
|
+
# id:Nomina (ke-anlah)
|
100
|
+
def nomina_ke_x_anlah (string)
|
101
|
+
@verex = VerEx.new do
|
102
|
+
start_of_line
|
103
|
+
find 'ke'
|
104
|
+
begin_capture
|
105
|
+
anything
|
106
|
+
end_capture
|
107
|
+
find 'anlah'
|
108
|
+
end_of_line
|
109
|
+
end
|
110
|
+
return @verex.match(string)
|
111
|
+
end
|
112
|
+
|
113
|
+
# id:Nomina (ke-anmu)
|
114
|
+
def nomina_ke_x_anmu (string)
|
115
|
+
@verex = VerEx.new do
|
116
|
+
start_of_line
|
117
|
+
find 'ke'
|
118
|
+
begin_capture
|
119
|
+
anything
|
120
|
+
end_capture
|
121
|
+
find 'anmu'
|
122
|
+
end_of_line
|
123
|
+
end
|
124
|
+
return @verex.match(string)
|
125
|
+
end
|
126
|
+
|
127
|
+
# id:Nomina (ke-annya)
|
128
|
+
def nomina_ke_x_annya (string)
|
129
|
+
@verex = VerEx.new do
|
130
|
+
start_of_line
|
131
|
+
find 'ke'
|
132
|
+
begin_capture
|
133
|
+
anything
|
134
|
+
end_capture
|
135
|
+
find 'annya'
|
136
|
+
end_of_line
|
137
|
+
end
|
138
|
+
return @verex.match(string)
|
139
|
+
end
|
140
|
+
|
141
|
+
# id:Nomina (ke-ku)
|
142
|
+
def nomina_ke_x_ku (string)
|
143
|
+
@verex = VerEx.new do
|
144
|
+
start_of_line
|
145
|
+
find 'ke'
|
146
|
+
begin_capture
|
147
|
+
anything
|
148
|
+
end_capture
|
149
|
+
find 'ku'
|
150
|
+
end_of_line
|
151
|
+
end
|
152
|
+
return @verex.match(string)
|
153
|
+
end
|
154
|
+
|
155
|
+
# id:Nomina (ke-mu)
|
156
|
+
def nomina_ke_x_mu (string)
|
157
|
+
@verex = VerEx.new do
|
158
|
+
start_of_line
|
159
|
+
find 'ke'
|
160
|
+
begin_capture
|
161
|
+
anything
|
162
|
+
end_capture
|
163
|
+
find 'mu'
|
164
|
+
end_of_line
|
165
|
+
end
|
166
|
+
return @verex.match(string)
|
167
|
+
end
|
168
|
+
|
169
|
+
# id:Nomina (ke-nya)
|
170
|
+
def nomina_ke_x_nya (string)
|
171
|
+
@verex = VerEx.new do
|
172
|
+
start_of_line
|
173
|
+
find 'ke'
|
174
|
+
begin_capture
|
175
|
+
anything
|
176
|
+
end_capture
|
177
|
+
find 'nya'
|
178
|
+
end_of_line
|
179
|
+
end
|
180
|
+
return @verex.match(string)
|
181
|
+
end
|
182
|
+
|
183
|
+
# id:Nomina (keber-an)
|
184
|
+
def nomina_keber_x_an (string)
|
185
|
+
@verex = VerEx.new do
|
186
|
+
start_of_line
|
187
|
+
find 'keber'
|
188
|
+
begin_capture
|
189
|
+
anything
|
190
|
+
end_capture
|
191
|
+
find 'an'
|
192
|
+
end_of_line
|
193
|
+
end
|
194
|
+
return @verex.match(string)
|
195
|
+
end
|
196
|
+
|
197
|
+
# id:Nomina (kepeng-an)
|
198
|
+
def nomina_kepeng_x_an (string)
|
199
|
+
@verex = VerEx.new do
|
200
|
+
start_of_line
|
201
|
+
find 'kepeng'
|
202
|
+
begin_capture
|
203
|
+
anything
|
204
|
+
end_capture
|
205
|
+
find 'an'
|
206
|
+
end_of_line
|
207
|
+
end
|
208
|
+
return @verex.match(string)
|
209
|
+
end
|
210
|
+
|
211
|
+
# id:Nomina (kese-an)
|
212
|
+
def nomina_kese_x_an (string)
|
213
|
+
@verex = VerEx.new do
|
214
|
+
start_of_line
|
215
|
+
find 'kese'
|
216
|
+
begin_capture
|
217
|
+
anything
|
218
|
+
end_capture
|
219
|
+
find 'an'
|
220
|
+
end_of_line
|
221
|
+
end
|
222
|
+
return @verex.match(string)
|
223
|
+
end
|
224
|
+
|
225
|
+
# id:Nomina (keter-an)
|
226
|
+
def nomina_keter_x_an (string)
|
227
|
+
@verex = VerEx.new do
|
228
|
+
start_of_line
|
229
|
+
find 'keter'
|
230
|
+
begin_capture
|
231
|
+
anything
|
232
|
+
end_capture
|
233
|
+
find 'an'
|
234
|
+
end_of_line
|
235
|
+
end
|
236
|
+
return @verex.match(string)
|
237
|
+
end
|
238
|
+
|
239
|
+
# id:Nomina (ketidak-an)
|
240
|
+
def nomina_ketidak_x_an (string)
|
241
|
+
@verex = VerEx.new do
|
242
|
+
start_of_line
|
243
|
+
find 'ketidak'
|
244
|
+
begin_capture
|
245
|
+
anything
|
246
|
+
end_capture
|
247
|
+
find 'an'
|
248
|
+
end_of_line
|
249
|
+
end
|
250
|
+
return @verex.match(string)
|
251
|
+
end
|
252
|
+
|
253
|
+
# id:Nomina (pe-)
|
254
|
+
def nomina_pe_x (string)
|
255
|
+
@verex = VerEx.new do
|
256
|
+
start_of_line
|
257
|
+
find 'pe'
|
258
|
+
begin_capture
|
259
|
+
anything
|
260
|
+
end_capture
|
261
|
+
end_of_line
|
262
|
+
end
|
263
|
+
return @verex.match(string)
|
264
|
+
end
|
265
|
+
|
266
|
+
# id:Nomina (pe-an)
|
267
|
+
def nomina_pe_x_an (string)
|
268
|
+
@verex = VerEx.new do
|
269
|
+
start_of_line
|
270
|
+
find 'pe'
|
271
|
+
begin_capture
|
272
|
+
anything
|
273
|
+
end_capture
|
274
|
+
find 'an'
|
275
|
+
end_of_line
|
276
|
+
end
|
277
|
+
return @verex.match(string)
|
278
|
+
end
|
279
|
+
|
280
|
+
# id:Nomina (peng-)
|
281
|
+
def nomina_peng_x (string)
|
282
|
+
@verex = VerEx.new do
|
283
|
+
start_of_line
|
284
|
+
find 'peng'
|
285
|
+
begin_capture
|
286
|
+
anything
|
287
|
+
end_capture
|
288
|
+
end_of_line
|
289
|
+
end
|
290
|
+
return @verex.match(string)
|
291
|
+
end
|
292
|
+
|
293
|
+
# id:Nomina (peng-an)
|
294
|
+
def nomina_peng_x_an (string)
|
295
|
+
@verex = VerEx.new do
|
296
|
+
start_of_line
|
297
|
+
find 'peng'
|
298
|
+
begin_capture
|
299
|
+
anything
|
300
|
+
end_capture
|
301
|
+
find 'an'
|
302
|
+
end_of_line
|
303
|
+
end
|
304
|
+
return @verex.match(string)
|
305
|
+
end
|
306
|
+
|
307
|
+
# id:Nomina (per-)
|
308
|
+
def nomina_per_x (string)
|
309
|
+
@verex = VerEx.new do
|
310
|
+
start_of_line
|
311
|
+
find 'per'
|
312
|
+
begin_capture
|
313
|
+
anything
|
314
|
+
end_capture
|
315
|
+
end_of_line
|
316
|
+
end
|
317
|
+
return @verex.match(string)
|
318
|
+
end
|
319
|
+
|
320
|
+
# id:Nomina (per-an)
|
321
|
+
def nomina_per_x_an (string)
|
322
|
+
@verex = VerEx.new do
|
323
|
+
start_of_line
|
324
|
+
find 'per'
|
325
|
+
begin_capture
|
326
|
+
anything
|
327
|
+
end_capture
|
328
|
+
find 'an'
|
329
|
+
end_of_line
|
330
|
+
end
|
331
|
+
return @verex.match(string)
|
332
|
+
end
|
333
|
+
|
334
|
+
# id:Nomina (se-)
|
335
|
+
def nomina_se_x (string)
|
336
|
+
@verex = VerEx.new do
|
337
|
+
start_of_line
|
338
|
+
find 'se'
|
339
|
+
begin_capture
|
340
|
+
anything
|
341
|
+
end_capture
|
342
|
+
end_of_line
|
343
|
+
end
|
344
|
+
return @verex.match(string)
|
345
|
+
end
|
346
|
+
|
347
|
+
# id:Nomina (se-an)
|
348
|
+
def nomina_se_x_an (string)
|
349
|
+
@verex = VerEx.new do
|
350
|
+
start_of_line
|
351
|
+
find 'se'
|
352
|
+
begin_capture
|
353
|
+
anything
|
354
|
+
end_capture
|
355
|
+
find 'an'
|
356
|
+
end_of_line
|
357
|
+
end
|
358
|
+
return @verex.match(string)
|
359
|
+
end
|
360
|
+
|
361
|
+
# id:Nomina (se-nya)
|
362
|
+
def nomina_se_x_nya (string)
|
363
|
+
@verex = VerEx.new do
|
364
|
+
start_of_line
|
365
|
+
find 'se'
|
366
|
+
begin_capture
|
367
|
+
anything
|
368
|
+
end_capture
|
369
|
+
find 'nya'
|
370
|
+
end_of_line
|
371
|
+
end
|
372
|
+
return @verex.match(string)
|
373
|
+
end
|
374
|
+
|
375
|
+
end
|
376
|
+
end
|
@@ -0,0 +1,212 @@
|
|
1
|
+
require 'verbal_expressions'
|
2
|
+
|
3
|
+
module Indofix
|
4
|
+
class IndofixOtherHelper
|
5
|
+
|
6
|
+
# id:Adjektiva (-an)
|
7
|
+
def adjektiva_x_an (string)
|
8
|
+
@verex = VerEx.new do
|
9
|
+
start_of_line
|
10
|
+
begin_capture
|
11
|
+
anything
|
12
|
+
end_capture
|
13
|
+
find 'an'
|
14
|
+
end_of_line
|
15
|
+
end
|
16
|
+
return @verex.match(string)
|
17
|
+
end
|
18
|
+
|
19
|
+
# id:Adjektiva (ber-)
|
20
|
+
def adjektiva_ber_x (string)
|
21
|
+
@verex = VerEx.new do
|
22
|
+
start_of_line
|
23
|
+
find 'ber'
|
24
|
+
begin_capture
|
25
|
+
anything
|
26
|
+
end_capture
|
27
|
+
end_of_line
|
28
|
+
end
|
29
|
+
return @verex.match(string)
|
30
|
+
end
|
31
|
+
|
32
|
+
# id:Adjektiva (ke-an)
|
33
|
+
def adjektiva_ke_x_an (string)
|
34
|
+
@verex = VerEx.new do
|
35
|
+
start_of_line
|
36
|
+
find 'ke'
|
37
|
+
begin_capture
|
38
|
+
anything
|
39
|
+
end_capture
|
40
|
+
find 'an'
|
41
|
+
end_of_line
|
42
|
+
end
|
43
|
+
return @verex.match(string)
|
44
|
+
end
|
45
|
+
|
46
|
+
# id:Adjektiva (keter-an)
|
47
|
+
def adjektiva_keter_x_an (string)
|
48
|
+
@verex = VerEx.new do
|
49
|
+
start_of_line
|
50
|
+
find 'keter'
|
51
|
+
begin_capture
|
52
|
+
anything
|
53
|
+
end_capture
|
54
|
+
find 'an'
|
55
|
+
end_of_line
|
56
|
+
end
|
57
|
+
return @verex.match(string)
|
58
|
+
end
|
59
|
+
|
60
|
+
# id:Adjektiva (me-)
|
61
|
+
def adjektiva_me_x (string)
|
62
|
+
@verex = VerEx.new do
|
63
|
+
start_of_line
|
64
|
+
find 'me'
|
65
|
+
begin_capture
|
66
|
+
anything
|
67
|
+
end_capture
|
68
|
+
end_of_line
|
69
|
+
end
|
70
|
+
return process_imbuhan_n_ng(@verex.match(string))
|
71
|
+
end
|
72
|
+
|
73
|
+
# id:Adjektiva (me-kan)
|
74
|
+
def adjektiva_me_x_an (string)
|
75
|
+
@verex = VerEx.new do
|
76
|
+
start_of_line
|
77
|
+
find 'me'
|
78
|
+
begin_capture
|
79
|
+
anything
|
80
|
+
end_capture
|
81
|
+
find 'an'
|
82
|
+
end_of_line
|
83
|
+
end
|
84
|
+
return process_imbuhan_n_ng(@verex.match(string))
|
85
|
+
end
|
86
|
+
|
87
|
+
# id:Adjektiva (se-)
|
88
|
+
def adjektiva_se_x (string)
|
89
|
+
@verex = VerEx.new do
|
90
|
+
start_of_line
|
91
|
+
find 'se'
|
92
|
+
begin_capture
|
93
|
+
anything
|
94
|
+
end_capture
|
95
|
+
end_of_line
|
96
|
+
end
|
97
|
+
return @verex.match(string)
|
98
|
+
end
|
99
|
+
# id:Adjektiva (ter-)
|
100
|
+
def adjektiva_ter_x (string)
|
101
|
+
@verex = VerEx.new do
|
102
|
+
start_of_line
|
103
|
+
find 'ter'
|
104
|
+
begin_capture
|
105
|
+
anything
|
106
|
+
end_capture
|
107
|
+
end_of_line
|
108
|
+
end
|
109
|
+
return @verex.match(string)
|
110
|
+
end
|
111
|
+
|
112
|
+
# id:Adverbia (-an)
|
113
|
+
def adverbia_x_an (string)
|
114
|
+
@verex = VerEx.new do
|
115
|
+
start_of_line
|
116
|
+
begin_capture
|
117
|
+
anything
|
118
|
+
end_capture
|
119
|
+
find 'an'
|
120
|
+
end_of_line
|
121
|
+
end
|
122
|
+
return @verex.match(string)
|
123
|
+
end
|
124
|
+
|
125
|
+
# id:Adverbia (se-)
|
126
|
+
def adverbia_se_x (string)
|
127
|
+
@verex = VerEx.new do
|
128
|
+
start_of_line
|
129
|
+
find 'se'
|
130
|
+
begin_capture
|
131
|
+
anything
|
132
|
+
end_capture
|
133
|
+
end_of_line
|
134
|
+
end
|
135
|
+
return @verex.match(string)
|
136
|
+
end
|
137
|
+
|
138
|
+
# id:Adverbia (se-nya)
|
139
|
+
def adverbia_ke_x_an (string)
|
140
|
+
@verex = VerEx.new do
|
141
|
+
start_of_line
|
142
|
+
find 'ke'
|
143
|
+
begin_capture
|
144
|
+
anything
|
145
|
+
end_capture
|
146
|
+
find 'an'
|
147
|
+
end_of_line
|
148
|
+
end
|
149
|
+
return @verex.match(string)
|
150
|
+
end
|
151
|
+
|
152
|
+
# id:Bilangan (se-)
|
153
|
+
def bilangan_se_x (string)
|
154
|
+
@verex = VerEx.new do
|
155
|
+
start_of_line
|
156
|
+
find 'se'
|
157
|
+
begin_capture
|
158
|
+
anything
|
159
|
+
end_capture
|
160
|
+
end_of_line
|
161
|
+
end
|
162
|
+
return @verex.match(string)
|
163
|
+
end
|
164
|
+
|
165
|
+
private
|
166
|
+
# pelepasan imbuhan 'me' dengan 'n'
|
167
|
+
def imbuhan_n_x(string)
|
168
|
+
@verex = VerEx.new do
|
169
|
+
start_of_line
|
170
|
+
find 'n'
|
171
|
+
begin_capture
|
172
|
+
anything
|
173
|
+
end_capture
|
174
|
+
end_of_line
|
175
|
+
end
|
176
|
+
return @verex.match(string)
|
177
|
+
end
|
178
|
+
|
179
|
+
# pelepasan imbuhan 'me' dengan 'ng'
|
180
|
+
def imbuhan_ng_x(string)
|
181
|
+
@verex = VerEx.new do
|
182
|
+
start_of_line
|
183
|
+
find 'ng'
|
184
|
+
begin_capture
|
185
|
+
anything
|
186
|
+
end_capture
|
187
|
+
end_of_line
|
188
|
+
end
|
189
|
+
return @verex.match(string)
|
190
|
+
end
|
191
|
+
|
192
|
+
# pemroresan pelepasan n dan ng
|
193
|
+
def process_imbuhan_n_ng(match)
|
194
|
+
@match = match
|
195
|
+
if !@match.nil?
|
196
|
+
@string = @match[1]
|
197
|
+
if !imbuhan_n_x(@string).nil?
|
198
|
+
if !imbuhan_ng_x(@string).nil?
|
199
|
+
return imbuhan_ng_x(@string)
|
200
|
+
else
|
201
|
+
return imbuhan_n_x(@string)
|
202
|
+
end
|
203
|
+
else
|
204
|
+
return @match
|
205
|
+
end
|
206
|
+
else
|
207
|
+
return @match
|
208
|
+
end
|
209
|
+
end
|
210
|
+
|
211
|
+
end
|
212
|
+
end
|
@@ -0,0 +1,520 @@
|
|
1
|
+
require 'verbal_expressions'
|
2
|
+
|
3
|
+
module Indofix
|
4
|
+
class IndofixVerbaHelper
|
5
|
+
|
6
|
+
# id:Verba (-an)
|
7
|
+
def verba_x_an(string)
|
8
|
+
@verex = VerEx.new do
|
9
|
+
start_of_line
|
10
|
+
begin_capture
|
11
|
+
anything
|
12
|
+
end_capture
|
13
|
+
find 'an'
|
14
|
+
end_of_line
|
15
|
+
end
|
16
|
+
return @verex.match(string)
|
17
|
+
end
|
18
|
+
|
19
|
+
# id:Verba (-i)
|
20
|
+
def verba_x_i(string)
|
21
|
+
@verex = VerEx.new do
|
22
|
+
start_of_line
|
23
|
+
begin_capture
|
24
|
+
anything
|
25
|
+
end_capture
|
26
|
+
find 'i'
|
27
|
+
end_of_line
|
28
|
+
end
|
29
|
+
return @verex.match(string)
|
30
|
+
end
|
31
|
+
|
32
|
+
# id:Verba (-kan)
|
33
|
+
def verba_x_kan(string)
|
34
|
+
@verex = VerEx.new do
|
35
|
+
start_of_line
|
36
|
+
begin_capture
|
37
|
+
anything
|
38
|
+
end_capture
|
39
|
+
find 'kan'
|
40
|
+
end_of_line
|
41
|
+
end
|
42
|
+
return @verex.match(string)
|
43
|
+
end
|
44
|
+
|
45
|
+
# id:Verba (-kanlah)
|
46
|
+
def verba_x_kanlah(string)
|
47
|
+
@verex = VerEx.new do
|
48
|
+
start_of_line
|
49
|
+
begin_capture
|
50
|
+
anything
|
51
|
+
end_capture
|
52
|
+
find 'kanlah'
|
53
|
+
end_of_line
|
54
|
+
end
|
55
|
+
return @verex.match(string)
|
56
|
+
end
|
57
|
+
|
58
|
+
# id:Verba (-lah)
|
59
|
+
def verba_x_lah(string)
|
60
|
+
@verex = VerEx.new do
|
61
|
+
start_of_line
|
62
|
+
begin_capture
|
63
|
+
anything
|
64
|
+
end_capture
|
65
|
+
find 'lah'
|
66
|
+
end_of_line
|
67
|
+
end
|
68
|
+
return @verex.match(string)
|
69
|
+
end
|
70
|
+
|
71
|
+
# id:Verba (ber-)
|
72
|
+
def verba_ber_x(string)
|
73
|
+
@verex = VerEx.new do
|
74
|
+
start_of_line
|
75
|
+
find 'ber'
|
76
|
+
begin_capture
|
77
|
+
anything
|
78
|
+
end_capture
|
79
|
+
end_of_line
|
80
|
+
end
|
81
|
+
return @verex.match(string)
|
82
|
+
end
|
83
|
+
|
84
|
+
# id:Verba (ber-an)
|
85
|
+
def verba_ber_x_an(string)
|
86
|
+
@verex = VerEx.new do
|
87
|
+
start_of_line
|
88
|
+
find 'ber'
|
89
|
+
begin_capture
|
90
|
+
anything
|
91
|
+
end_capture
|
92
|
+
find 'an'
|
93
|
+
end_of_line
|
94
|
+
end
|
95
|
+
return @verex.match(string)
|
96
|
+
end
|
97
|
+
|
98
|
+
# id:Verba (ber-kan)
|
99
|
+
def verba_ber_x_kan(string)
|
100
|
+
@verex = VerEx.new do
|
101
|
+
start_of_line
|
102
|
+
find 'ber'
|
103
|
+
begin_capture
|
104
|
+
anything
|
105
|
+
end_capture
|
106
|
+
find 'kan'
|
107
|
+
end_of_line
|
108
|
+
end
|
109
|
+
return @verex.match(string)
|
110
|
+
end
|
111
|
+
|
112
|
+
# id:Verba (di-)
|
113
|
+
def verba_di_x(string)
|
114
|
+
@verex = VerEx.new do
|
115
|
+
start_of_line
|
116
|
+
find 'di'
|
117
|
+
begin_capture
|
118
|
+
anything
|
119
|
+
end_capture
|
120
|
+
end_of_line
|
121
|
+
end
|
122
|
+
return @verex.match(string)
|
123
|
+
end
|
124
|
+
|
125
|
+
# id:Verba (di-i)
|
126
|
+
def verba_di_x_i(string)
|
127
|
+
@verex = VerEx.new do
|
128
|
+
start_of_line
|
129
|
+
find 'di'
|
130
|
+
begin_capture
|
131
|
+
anything
|
132
|
+
end_capture
|
133
|
+
find 'i'
|
134
|
+
end_of_line
|
135
|
+
end
|
136
|
+
return @verex.match(string)
|
137
|
+
end
|
138
|
+
|
139
|
+
# id:Verba (di-kan)
|
140
|
+
def verba_di_x_kan(string)
|
141
|
+
@verex = VerEx.new do
|
142
|
+
start_of_line
|
143
|
+
find 'di'
|
144
|
+
begin_capture
|
145
|
+
anything
|
146
|
+
end_capture
|
147
|
+
find 'kan'
|
148
|
+
end_of_line
|
149
|
+
end
|
150
|
+
return @verex.match(string)
|
151
|
+
end
|
152
|
+
|
153
|
+
# id:Verba (diper-)
|
154
|
+
def verba_diper_x(string)
|
155
|
+
@verex = VerEx.new do
|
156
|
+
start_of_line
|
157
|
+
find 'diper'
|
158
|
+
begin_capture
|
159
|
+
anything
|
160
|
+
end_capture
|
161
|
+
end_of_line
|
162
|
+
end
|
163
|
+
return @verex.match(string)
|
164
|
+
end
|
165
|
+
|
166
|
+
# id:Verba (diper-i)
|
167
|
+
def verba_diper_x_i(string)
|
168
|
+
@verex = VerEx.new do
|
169
|
+
start_of_line
|
170
|
+
find 'diper'
|
171
|
+
begin_capture
|
172
|
+
anything
|
173
|
+
end_capture
|
174
|
+
find 'i'
|
175
|
+
end_of_line
|
176
|
+
end
|
177
|
+
return @verex.match(string)
|
178
|
+
end
|
179
|
+
|
180
|
+
# id:Verba (diper-kan)
|
181
|
+
def verba_diper_x_kan(string)
|
182
|
+
@verex = VerEx.new do
|
183
|
+
start_of_line
|
184
|
+
find 'diper'
|
185
|
+
begin_capture
|
186
|
+
anything
|
187
|
+
end_capture
|
188
|
+
find 'kan'
|
189
|
+
end_of_line
|
190
|
+
end
|
191
|
+
return @verex.match(string)
|
192
|
+
end
|
193
|
+
|
194
|
+
# id:Verba (kau-)
|
195
|
+
def verba_kau_x(string)
|
196
|
+
@verex = VerEx.new do
|
197
|
+
start_of_line
|
198
|
+
find 'kau'
|
199
|
+
begin_capture
|
200
|
+
anything
|
201
|
+
end_capture
|
202
|
+
end_of_line
|
203
|
+
end
|
204
|
+
return @verex.match(string)
|
205
|
+
end
|
206
|
+
|
207
|
+
# id:Verba (kau-i)
|
208
|
+
def verba_kau_x_i(string)
|
209
|
+
@verex = VerEx.new do
|
210
|
+
start_of_line
|
211
|
+
find 'kau'
|
212
|
+
begin_capture
|
213
|
+
anything
|
214
|
+
end_capture
|
215
|
+
find 'i'
|
216
|
+
end_of_line
|
217
|
+
end
|
218
|
+
return @verex.match(string)
|
219
|
+
end
|
220
|
+
|
221
|
+
# id:Verba (kau-kan)
|
222
|
+
def verba_kau_x_kan(string)
|
223
|
+
@verex = VerEx.new do
|
224
|
+
start_of_line
|
225
|
+
find 'kau'
|
226
|
+
begin_capture
|
227
|
+
anything
|
228
|
+
end_capture
|
229
|
+
find 'kan'
|
230
|
+
end_of_line
|
231
|
+
end
|
232
|
+
return @verex.match(string)
|
233
|
+
end
|
234
|
+
|
235
|
+
# id:Verba (ke-an)
|
236
|
+
def verba_ke_x_an(string)
|
237
|
+
@verex = VerEx.new do
|
238
|
+
start_of_line
|
239
|
+
find 'ke'
|
240
|
+
begin_capture
|
241
|
+
anything
|
242
|
+
end_capture
|
243
|
+
find 'an'
|
244
|
+
end_of_line
|
245
|
+
end
|
246
|
+
return @verex.match(string)
|
247
|
+
end
|
248
|
+
|
249
|
+
# id:Verba (ku-)
|
250
|
+
def verba_ku_x(string)
|
251
|
+
@verex = VerEx.new do
|
252
|
+
start_of_line
|
253
|
+
find 'ku'
|
254
|
+
begin_capture
|
255
|
+
anything
|
256
|
+
end_capture
|
257
|
+
end_of_line
|
258
|
+
end
|
259
|
+
return @verex.match(string)
|
260
|
+
end
|
261
|
+
|
262
|
+
# id:Verba (ku-i)
|
263
|
+
def verba_ku_x_i(string)
|
264
|
+
@verex = VerEx.new do
|
265
|
+
start_of_line
|
266
|
+
find 'ku'
|
267
|
+
begin_capture
|
268
|
+
anything
|
269
|
+
end_capture
|
270
|
+
find 'i'
|
271
|
+
end_of_line
|
272
|
+
end
|
273
|
+
return @verex.match(string)
|
274
|
+
end
|
275
|
+
|
276
|
+
# id:Verba (ku-kan)
|
277
|
+
def verba_ku_x_kan(string)
|
278
|
+
@verex = VerEx.new do
|
279
|
+
start_of_line
|
280
|
+
find 'ku'
|
281
|
+
begin_capture
|
282
|
+
anything
|
283
|
+
end_capture
|
284
|
+
find 'kan'
|
285
|
+
end_of_line
|
286
|
+
end
|
287
|
+
return @verex.match(string)
|
288
|
+
end
|
289
|
+
|
290
|
+
# id:Verba (me-)
|
291
|
+
def verba_me_x(string)
|
292
|
+
@verex = VerEx.new do
|
293
|
+
start_of_line
|
294
|
+
find 'me'
|
295
|
+
begin_capture
|
296
|
+
anything
|
297
|
+
end_capture
|
298
|
+
end_of_line
|
299
|
+
end
|
300
|
+
return process_imbuhan_n_ng(@verex.match(string))
|
301
|
+
end
|
302
|
+
|
303
|
+
# id:Verba (me-i)
|
304
|
+
def verba_me_x_i(string)
|
305
|
+
@verex = VerEx.new do
|
306
|
+
start_of_line
|
307
|
+
find 'me'
|
308
|
+
begin_capture
|
309
|
+
anything
|
310
|
+
end_capture
|
311
|
+
find 'i'
|
312
|
+
end_of_line
|
313
|
+
end
|
314
|
+
return process_imbuhan_n_ng(@verex.match(string))
|
315
|
+
end
|
316
|
+
|
317
|
+
# id:Verba (me-kan)
|
318
|
+
def verba_me_x_kan(string)
|
319
|
+
@verex = VerEx.new do
|
320
|
+
start_of_line
|
321
|
+
find 'me'
|
322
|
+
begin_capture
|
323
|
+
anything
|
324
|
+
end_capture
|
325
|
+
find 'kan'
|
326
|
+
end_of_line
|
327
|
+
end
|
328
|
+
return process_imbuhan_n_ng(@verex.match(string))
|
329
|
+
end
|
330
|
+
|
331
|
+
# id:Verba (memper-)
|
332
|
+
def verba_memper_x(string)
|
333
|
+
@verex = VerEx.new do
|
334
|
+
start_of_line
|
335
|
+
find 'memper'
|
336
|
+
begin_capture
|
337
|
+
anything
|
338
|
+
end_capture
|
339
|
+
end_of_line
|
340
|
+
end
|
341
|
+
return @verex.match(string)
|
342
|
+
end
|
343
|
+
|
344
|
+
# id:Verba (memper-i)
|
345
|
+
def verba_memper_x_i(string)
|
346
|
+
@verex = VerEx.new do
|
347
|
+
start_of_line
|
348
|
+
find 'memper'
|
349
|
+
begin_capture
|
350
|
+
anything
|
351
|
+
end_capture
|
352
|
+
find 'i'
|
353
|
+
end_of_line
|
354
|
+
end
|
355
|
+
return @verex.match(string)
|
356
|
+
end
|
357
|
+
|
358
|
+
# id:Verba (memper-kan)
|
359
|
+
def verba_memper_x_kan(string)
|
360
|
+
@verex = VerEx.new do
|
361
|
+
start_of_line
|
362
|
+
find 'memper'
|
363
|
+
begin_capture
|
364
|
+
anything
|
365
|
+
end_capture
|
366
|
+
find 'kan'
|
367
|
+
end_of_line
|
368
|
+
end
|
369
|
+
return @verex.match(string)
|
370
|
+
end
|
371
|
+
|
372
|
+
# id:Verba (per-kan)
|
373
|
+
def verba_per_x_kan(string)
|
374
|
+
@verex = VerEx.new do
|
375
|
+
start_of_line
|
376
|
+
find 'per'
|
377
|
+
begin_capture
|
378
|
+
anything
|
379
|
+
end_capture
|
380
|
+
find 'kan'
|
381
|
+
end_of_line
|
382
|
+
end
|
383
|
+
return @verex.match(string)
|
384
|
+
end
|
385
|
+
|
386
|
+
# id:Verba (plural -an)
|
387
|
+
def verbaplural_x_an(string)
|
388
|
+
@verex = VerEx.new do
|
389
|
+
start_of_line
|
390
|
+
begin_capture
|
391
|
+
anything
|
392
|
+
end_capture
|
393
|
+
find 'an'
|
394
|
+
end_of_line
|
395
|
+
end
|
396
|
+
return @verex.match(string)
|
397
|
+
end
|
398
|
+
|
399
|
+
# id:Verba (plural ber-)
|
400
|
+
def verbaplural_ber_x(string)
|
401
|
+
@verex = VerEx.new do
|
402
|
+
start_of_line
|
403
|
+
find 'ber'
|
404
|
+
begin_capture
|
405
|
+
anything
|
406
|
+
end_capture
|
407
|
+
end_of_line
|
408
|
+
end
|
409
|
+
return @verex.match(string)
|
410
|
+
end
|
411
|
+
|
412
|
+
# id:Verba (plural ber-an)
|
413
|
+
def verbaplural_ber_x_an(string)
|
414
|
+
@verex = VerEx.new do
|
415
|
+
start_of_line
|
416
|
+
find 'ber'
|
417
|
+
begin_capture
|
418
|
+
anything
|
419
|
+
end_capture
|
420
|
+
find 'an'
|
421
|
+
end_of_line
|
422
|
+
end
|
423
|
+
return @verex.match(string)
|
424
|
+
end
|
425
|
+
|
426
|
+
# id:Verba (plural me-)
|
427
|
+
def verbaplural_me_x(string)
|
428
|
+
@verex = VerEx.new do
|
429
|
+
start_of_line
|
430
|
+
find 'me'
|
431
|
+
begin_capture
|
432
|
+
anything
|
433
|
+
end_capture
|
434
|
+
end_of_line
|
435
|
+
end
|
436
|
+
return process_imbuhan_n_ng(@verex.match(string))
|
437
|
+
end
|
438
|
+
|
439
|
+
# id:Verba (plural me-i)
|
440
|
+
def verbaplural_me_x_i(string)
|
441
|
+
@verex = VerEx.new do
|
442
|
+
start_of_line
|
443
|
+
find 'me'
|
444
|
+
begin_capture
|
445
|
+
anything
|
446
|
+
end_capture
|
447
|
+
find 'i'
|
448
|
+
end_of_line
|
449
|
+
end
|
450
|
+
return process_imbuhan_n_ng(@verex.match(string))
|
451
|
+
end
|
452
|
+
|
453
|
+
# id:Verba (plural me-kan)
|
454
|
+
def verbaplural_me_x_kan(string)
|
455
|
+
@verex = VerEx.new do
|
456
|
+
start_of_line
|
457
|
+
find 'me'
|
458
|
+
begin_capture
|
459
|
+
anything
|
460
|
+
end_capture
|
461
|
+
find 'kan'
|
462
|
+
end_of_line
|
463
|
+
end
|
464
|
+
return process_imbuhan_n_ng(@verex.match(string))
|
465
|
+
end
|
466
|
+
|
467
|
+
# id:Verba (plural ter-)
|
468
|
+
def verbaplural_ter_x(string)
|
469
|
+
@verex = VerEx.new do
|
470
|
+
start_of_line
|
471
|
+
find 'ter'
|
472
|
+
begin_capture
|
473
|
+
anything
|
474
|
+
end_capture
|
475
|
+
end_of_line
|
476
|
+
end
|
477
|
+
return @verex.match(string)
|
478
|
+
end
|
479
|
+
|
480
|
+
# id:Verba (ter-)
|
481
|
+
def verba_ter_x(string)
|
482
|
+
@verex = VerEx.new do
|
483
|
+
find 'ter'
|
484
|
+
begin_capture
|
485
|
+
anything
|
486
|
+
end_capture
|
487
|
+
end
|
488
|
+
return @verex.match(string)
|
489
|
+
end
|
490
|
+
|
491
|
+
# id:Verba (ter-i)
|
492
|
+
def verba_ter_x_i(string)
|
493
|
+
@verex = VerEx.new do
|
494
|
+
start_of_line
|
495
|
+
find 'ter'
|
496
|
+
begin_capture
|
497
|
+
anything
|
498
|
+
end_capture
|
499
|
+
find 'i'
|
500
|
+
end_of_line
|
501
|
+
end
|
502
|
+
return @verex.match(string)
|
503
|
+
end
|
504
|
+
|
505
|
+
# id:Verba (ter-kan)
|
506
|
+
def verba_ter_x_kan(string)
|
507
|
+
@verex = VerEx.new do
|
508
|
+
start_of_line
|
509
|
+
find 'ter'
|
510
|
+
begin_capture
|
511
|
+
anything
|
512
|
+
end_capture
|
513
|
+
find 'kan'
|
514
|
+
end_of_line
|
515
|
+
end
|
516
|
+
return @verex.match(string)
|
517
|
+
end
|
518
|
+
|
519
|
+
end
|
520
|
+
end
|
metadata
ADDED
@@ -0,0 +1,108 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: indofix
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Muhammad K. Huda
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-04-28 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: verbal_expressions
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.1.5
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.1.5
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.16'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.16'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '10.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.0'
|
69
|
+
description: Check the word base derived from affixes in Bahasa
|
70
|
+
email:
|
71
|
+
- hello@mkhuda.com
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- lib/indofix.rb
|
77
|
+
- lib/indofix/errors.rb
|
78
|
+
- lib/indofix/indofix_kpst_helper.rb
|
79
|
+
- lib/indofix/indofix_nomina_helper.rb
|
80
|
+
- lib/indofix/indofix_other_helper.rb
|
81
|
+
- lib/indofix/indofix_verba_helper.rb
|
82
|
+
- lib/indofix/version.rb
|
83
|
+
homepage: https://github.com/iBahasa/indofix
|
84
|
+
licenses:
|
85
|
+
- MIT
|
86
|
+
metadata:
|
87
|
+
allowed_push_host: https://rubygems.org
|
88
|
+
post_install_message:
|
89
|
+
rdoc_options: []
|
90
|
+
require_paths:
|
91
|
+
- lib
|
92
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 2.2.0
|
97
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - ">="
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
requirements: []
|
103
|
+
rubyforge_project:
|
104
|
+
rubygems_version: 2.4.5.1
|
105
|
+
signing_key:
|
106
|
+
specification_version: 4
|
107
|
+
summary: Affixist for Bahasa
|
108
|
+
test_files: []
|