Class: Indofix::IndofixOtherHelper
- Inherits:
-
Object
- Object
- Indofix::IndofixOtherHelper
- Defined in:
- lib/indofix/indofix_other_helper.rb
Instance Method Summary collapse
-
#adjektiva_ber_x(string) ⇒ Object
id:Adjektiva (ber-).
-
#adjektiva_ke_x_an(string) ⇒ Object
id:Adjektiva (ke-an).
-
#adjektiva_keter_x_an(string) ⇒ Object
id:Adjektiva (keter-an).
-
#adjektiva_me_x(string) ⇒ Object
id:Adjektiva (me-).
-
#adjektiva_me_x_an(string) ⇒ Object
id:Adjektiva (me-kan).
-
#adjektiva_se_x(string) ⇒ Object
id:Adjektiva (se-).
-
#adjektiva_ter_x(string) ⇒ Object
id:Adjektiva (ter-).
-
#adjektiva_x_an(string) ⇒ Object
id:Adjektiva (-an).
-
#adverbia_ke_x_an(string) ⇒ Object
id:Adverbia (se-nya).
-
#adverbia_se_x(string) ⇒ Object
id:Adverbia (se-).
-
#adverbia_x_an(string) ⇒ Object
id:Adverbia (-an).
-
#bilangan_se_x(string) ⇒ Object
id:Bilangan (se-).
Instance Method Details
#adjektiva_ber_x(string) ⇒ Object
id:Adjektiva (ber-)
20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/indofix/indofix_other_helper.rb', line 20 def adjektiva_ber_x (string) @verex = VerEx.new do start_of_line find 'ber' begin_capture anything end_capture end_of_line end return @verex.match(string) end |
#adjektiva_ke_x_an(string) ⇒ Object
id:Adjektiva (ke-an)
33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/indofix/indofix_other_helper.rb', line 33 def adjektiva_ke_x_an (string) @verex = VerEx.new do start_of_line find 'ke' begin_capture anything end_capture find 'an' end_of_line end return @verex.match(string) end |
#adjektiva_keter_x_an(string) ⇒ Object
id:Adjektiva (keter-an)
47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/indofix/indofix_other_helper.rb', line 47 def adjektiva_keter_x_an (string) @verex = VerEx.new do start_of_line find 'keter' begin_capture anything end_capture find 'an' end_of_line end return @verex.match(string) end |
#adjektiva_me_x(string) ⇒ Object
id:Adjektiva (me-)
61 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/indofix/indofix_other_helper.rb', line 61 def adjektiva_me_x (string) @verex = VerEx.new do start_of_line find 'me' begin_capture anything end_capture end_of_line end return process_imbuhan_n_ng(@verex.match(string)) end |
#adjektiva_me_x_an(string) ⇒ Object
id:Adjektiva (me-kan)
74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/indofix/indofix_other_helper.rb', line 74 def adjektiva_me_x_an (string) @verex = VerEx.new do start_of_line find 'me' begin_capture anything end_capture find 'an' end_of_line end return process_imbuhan_n_ng(@verex.match(string)) end |
#adjektiva_se_x(string) ⇒ Object
id:Adjektiva (se-)
88 89 90 91 92 93 94 95 96 97 98 |
# File 'lib/indofix/indofix_other_helper.rb', line 88 def adjektiva_se_x (string) @verex = VerEx.new do start_of_line find 'se' begin_capture anything end_capture end_of_line end return @verex.match(string) end |
#adjektiva_ter_x(string) ⇒ Object
id:Adjektiva (ter-)
100 101 102 103 104 105 106 107 108 109 110 |
# File 'lib/indofix/indofix_other_helper.rb', line 100 def adjektiva_ter_x (string) @verex = VerEx.new do start_of_line find 'ter' begin_capture anything end_capture end_of_line end return @verex.match(string) end |
#adjektiva_x_an(string) ⇒ Object
id:Adjektiva (-an)
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/indofix/indofix_other_helper.rb', line 7 def adjektiva_x_an (string) @verex = VerEx.new do start_of_line begin_capture anything end_capture find 'an' end_of_line end return @verex.match(string) end |
#adverbia_ke_x_an(string) ⇒ Object
id:Adverbia (se-nya)
139 140 141 142 143 144 145 146 147 148 149 150 |
# File 'lib/indofix/indofix_other_helper.rb', line 139 def adverbia_ke_x_an (string) @verex = VerEx.new do start_of_line find 'ke' begin_capture anything end_capture find 'an' end_of_line end return @verex.match(string) end |
#adverbia_se_x(string) ⇒ Object
id:Adverbia (se-)
126 127 128 129 130 131 132 133 134 135 136 |
# File 'lib/indofix/indofix_other_helper.rb', line 126 def adverbia_se_x (string) @verex = VerEx.new do start_of_line find 'se' begin_capture anything end_capture end_of_line end return @verex.match(string) end |
#adverbia_x_an(string) ⇒ Object
id:Adverbia (-an)
113 114 115 116 117 118 119 120 121 122 123 |
# File 'lib/indofix/indofix_other_helper.rb', line 113 def adverbia_x_an (string) @verex = VerEx.new do start_of_line begin_capture anything end_capture find 'an' end_of_line end return @verex.match(string) end |
#bilangan_se_x(string) ⇒ Object
id:Bilangan (se-)
153 154 155 156 157 158 159 160 161 162 163 |
# File 'lib/indofix/indofix_other_helper.rb', line 153 def bilangan_se_x (string) @verex = VerEx.new do start_of_line find 'se' begin_capture anything end_capture end_of_line end return @verex.match(string) end |