katsuyoujin 0.0.2.1 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/katsuyoujin/version.rb +1 -1
- data/rules/godan/conjugations.yml +14 -0
- data/rules/ichidan/conjugations.yml +14 -0
- data/rules/irregular/conjugations.yml +14 -0
- data/spec/fixtures/godan/bu_conjugations.yml +7 -0
- data/spec/fixtures/godan/gu_conjugations.yml +6 -0
- data/spec/fixtures/godan/ku_conjugations.yml +6 -0
- data/spec/fixtures/godan/mu_conjugations.yml +6 -0
- data/spec/fixtures/godan/nu_conjugations.yml +6 -0
- data/spec/fixtures/godan/ru_conjugations.yml +6 -0
- data/spec/fixtures/godan/su_conjugations.yml +6 -0
- data/spec/fixtures/godan/tsu_conjugations.yml +6 -0
- data/spec/fixtures/godan/u_conjugations.yml +6 -0
- data/spec/fixtures/ichidan/conjugations.yml +6 -0
- data/spec/fixtures/irregular/conjugations.yml +12 -0
- data/spec/spec_helper.rb +2 -1
- metadata +1 -3
- data/spec/fixtures/conjugations.yml +0 -180
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6dfac7255e207b5ca3df2e0779280563c11679dc
|
4
|
+
data.tar.gz: 8725ed3437ed00e27104a71a90284b0f7a45127f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 448dfd3fb21a5e490b00de79e47f4b6858aa0f3da91ad17b1849a3c55c7f2cd46d586da7fe6550cba220b4c5be89ed8bb03e455d841d43602e9a7ea604cae0d6
|
7
|
+
data.tar.gz: fb1de994b7d59dd8e3ed92493856f2edd349bbda9dd88fad32b1e10f719c6ee9e1c58a66a393e7a335e080ebe4ad06c5b6acacb57a424aee059371fdd97712b9
|
data/lib/katsuyoujin/version.rb
CHANGED
@@ -13,6 +13,13 @@
|
|
13
13
|
"negative":
|
14
14
|
"base": "あ"
|
15
15
|
"attachment": "なかった"
|
16
|
+
"volitional":
|
17
|
+
"affirmative":
|
18
|
+
"base": "お"
|
19
|
+
"attachment": ""
|
20
|
+
"negative":
|
21
|
+
"base": "う"
|
22
|
+
"attachment": "まい"
|
16
23
|
"polite":
|
17
24
|
"nonpast_indicative":
|
18
25
|
"affirmative":
|
@@ -28,3 +35,10 @@
|
|
28
35
|
"negative":
|
29
36
|
"base": "い"
|
30
37
|
"attachment": "ませんでした"
|
38
|
+
"volitional":
|
39
|
+
"affirmative":
|
40
|
+
"base": "い"
|
41
|
+
"attachment": "ましょう"
|
42
|
+
"negative":
|
43
|
+
"base": "い"
|
44
|
+
"attachment": "ますまい"
|
@@ -13,6 +13,13 @@
|
|
13
13
|
"negative":
|
14
14
|
"base": "あ"
|
15
15
|
"attachment": "なかった"
|
16
|
+
"volitional":
|
17
|
+
"affirmative":
|
18
|
+
"base": "お"
|
19
|
+
"attachment": ""
|
20
|
+
"negative":
|
21
|
+
"base": "い" # root
|
22
|
+
"attachment": "まい"
|
16
23
|
"polite":
|
17
24
|
"nonpast_indicative":
|
18
25
|
"affirmative":
|
@@ -28,3 +35,10 @@
|
|
28
35
|
"negative":
|
29
36
|
"base": "い"
|
30
37
|
"attachment": "ませんでした"
|
38
|
+
"volitional":
|
39
|
+
"affirmative":
|
40
|
+
"base": "い"
|
41
|
+
"attachment": "ましょう"
|
42
|
+
"negative":
|
43
|
+
"base": "い"
|
44
|
+
"attachment": "ますまい"
|
@@ -13,6 +13,13 @@
|
|
13
13
|
"negative":
|
14
14
|
"base": "あ"
|
15
15
|
"attachment": "なかった"
|
16
|
+
"volitional":
|
17
|
+
"affirmative":
|
18
|
+
"base": "お"
|
19
|
+
"attachment": ""
|
20
|
+
"negative":
|
21
|
+
"base": "う"
|
22
|
+
"attachment": "まい"
|
16
23
|
"polite":
|
17
24
|
"nonpast_indicative":
|
18
25
|
"affirmative":
|
@@ -28,3 +35,10 @@
|
|
28
35
|
"negative":
|
29
36
|
"base": "い"
|
30
37
|
"attachment": "ませんでした"
|
38
|
+
"volitional":
|
39
|
+
"affirmative":
|
40
|
+
"base": "い"
|
41
|
+
"attachment": "ましょう"
|
42
|
+
"negative":
|
43
|
+
"base": "い"
|
44
|
+
"attachment": "ますまい"
|
@@ -6,6 +6,9 @@
|
|
6
6
|
"past_indicative":
|
7
7
|
"affirmative": "よんだ"
|
8
8
|
"negative": "よばなかった"
|
9
|
+
"volitional":
|
10
|
+
"affirmative": "よぼう"
|
11
|
+
"negative": "よぶまい"
|
9
12
|
"polite":
|
10
13
|
"nonpast_indicative":
|
11
14
|
"affirmative": "よびます"
|
@@ -13,3 +16,7 @@
|
|
13
16
|
"past_indicative":
|
14
17
|
"affirmative": "よびました"
|
15
18
|
"negative": "よびませんでした"
|
19
|
+
"volitional":
|
20
|
+
"affirmative": "よびましょう"
|
21
|
+
"negative": "よびますまい"
|
22
|
+
|
@@ -6,6 +6,9 @@
|
|
6
6
|
"past_indicative":
|
7
7
|
"affirmative": "およいだ"
|
8
8
|
"negative": "およがなかった"
|
9
|
+
"volitional":
|
10
|
+
"affirmative": "およごう"
|
11
|
+
"negative": "およぐまい"
|
9
12
|
"polite":
|
10
13
|
"nonpast_indicative":
|
11
14
|
"affirmative": "およぎます"
|
@@ -13,3 +16,6 @@
|
|
13
16
|
"past_indicative":
|
14
17
|
"affirmative": "およぎました"
|
15
18
|
"negative": "およぎませんでした"
|
19
|
+
"volitional":
|
20
|
+
"affirmative": "およぎましょう"
|
21
|
+
"negative": "およぎますまい"
|
@@ -6,6 +6,9 @@
|
|
6
6
|
"past_indicative":
|
7
7
|
"affirmative": "あるいた"
|
8
8
|
"negative": "あるかなかった"
|
9
|
+
"volitional":
|
10
|
+
"affirmative": "あるこう"
|
11
|
+
"negative": "あるくまい"
|
9
12
|
"polite":
|
10
13
|
"nonpast_indicative":
|
11
14
|
"affirmative": "あるきます"
|
@@ -13,3 +16,6 @@
|
|
13
16
|
"past_indicative":
|
14
17
|
"affirmative": "あるきました"
|
15
18
|
"negative": "あるきませんでした"
|
19
|
+
"volitional":
|
20
|
+
"affirmative": "あるきましょう"
|
21
|
+
"negative": "あるきますまい"
|
@@ -6,6 +6,9 @@
|
|
6
6
|
"past_indicative":
|
7
7
|
"affirmative": "のんだ"
|
8
8
|
"negative": "のまなかった"
|
9
|
+
"volitional":
|
10
|
+
"affirmative": "のもう"
|
11
|
+
"negative": "のむまい"
|
9
12
|
"polite":
|
10
13
|
"nonpast_indicative":
|
11
14
|
"affirmative": "のみます"
|
@@ -13,3 +16,6 @@
|
|
13
16
|
"past_indicative":
|
14
17
|
"affirmative": "のみました"
|
15
18
|
"negative": "のみませんでした"
|
19
|
+
"volitional":
|
20
|
+
"affirmative": "のみましょう"
|
21
|
+
"negative": "のみますまい"
|
@@ -6,6 +6,9 @@
|
|
6
6
|
"past_indicative":
|
7
7
|
"affirmative": "しんだ"
|
8
8
|
"negative": "しななかった"
|
9
|
+
"volitional":
|
10
|
+
"affirmative": "しのう"
|
11
|
+
"negative": "しぬまい"
|
9
12
|
"polite":
|
10
13
|
"nonpast_indicative":
|
11
14
|
"affirmative": "しにます"
|
@@ -13,3 +16,6 @@
|
|
13
16
|
"past_indicative":
|
14
17
|
"affirmative": "しにました"
|
15
18
|
"negative": "しにませんでした"
|
19
|
+
"volitional":
|
20
|
+
"affirmative": "しにましょう"
|
21
|
+
"negative": "しにますまい"
|
@@ -6,6 +6,9 @@
|
|
6
6
|
"past_indicative":
|
7
7
|
"affirmative": "つくった"
|
8
8
|
"negative": "つくらなかった"
|
9
|
+
"volitional":
|
10
|
+
"affirmative": "つくろう"
|
11
|
+
"negative": "つくるまい"
|
9
12
|
"polite":
|
10
13
|
"nonpast_indicative":
|
11
14
|
"affirmative": "つくります"
|
@@ -13,3 +16,6 @@
|
|
13
16
|
"past_indicative":
|
14
17
|
"affirmative": "つくりました"
|
15
18
|
"negative": "つくりませんでした"
|
19
|
+
"volitional":
|
20
|
+
"affirmative": "つくりましょう"
|
21
|
+
"negative": "つくりますまい"
|
@@ -6,6 +6,9 @@
|
|
6
6
|
"past_indicative":
|
7
7
|
"affirmative": "はなした"
|
8
8
|
"negative": "はなさなかった"
|
9
|
+
"volitional":
|
10
|
+
"affirmative": "はなそう"
|
11
|
+
"negative": "はなすまい"
|
9
12
|
"polite":
|
10
13
|
"nonpast_indicative":
|
11
14
|
"affirmative": "はなします"
|
@@ -13,3 +16,6 @@
|
|
13
16
|
"past_indicative":
|
14
17
|
"affirmative": "はなしました"
|
15
18
|
"negative": "はなしませんでした"
|
19
|
+
"volitional":
|
20
|
+
"affirmative": "はなしましょう"
|
21
|
+
"negative": "はなしますまい"
|
@@ -6,6 +6,9 @@
|
|
6
6
|
"past_indicative":
|
7
7
|
"affirmative": "まった"
|
8
8
|
"negative": "またなかった"
|
9
|
+
"volitional":
|
10
|
+
"affirmative": "まとう"
|
11
|
+
"negative": "まつまい"
|
9
12
|
"polite":
|
10
13
|
"nonpast_indicative":
|
11
14
|
"affirmative": "まちます"
|
@@ -13,3 +16,6 @@
|
|
13
16
|
"past_indicative":
|
14
17
|
"affirmative": "まちました"
|
15
18
|
"negative": "まちませんでした"
|
19
|
+
"volitional":
|
20
|
+
"affirmative": "まちましょう"
|
21
|
+
"negative": "まちますまい"
|
@@ -6,6 +6,9 @@
|
|
6
6
|
"past_indicative":
|
7
7
|
"affirmative": "あらった"
|
8
8
|
"negative": "あらわなかった"
|
9
|
+
"volitional":
|
10
|
+
"affirmative": "あらおう"
|
11
|
+
"negative": "あらうまい"
|
9
12
|
"polite":
|
10
13
|
"nonpast_indicative":
|
11
14
|
"affirmative": "あらいます"
|
@@ -13,3 +16,6 @@
|
|
13
16
|
"past_indicative":
|
14
17
|
"affirmative": "あらいました"
|
15
18
|
"negative": "あらいませんでした"
|
19
|
+
"volitional":
|
20
|
+
"affirmative": "あらいましょう"
|
21
|
+
"negative": "あらいますまい"
|
@@ -6,6 +6,9 @@
|
|
6
6
|
"past_indicative":
|
7
7
|
"affirmative": "たべた"
|
8
8
|
"negative": "たべなかった"
|
9
|
+
"volitional":
|
10
|
+
"affirmative": "たべよう"
|
11
|
+
"negative": "たべまい"
|
9
12
|
"polite":
|
10
13
|
"nonpast_indicative":
|
11
14
|
"affirmative": "たべます"
|
@@ -13,3 +16,6 @@
|
|
13
16
|
"past_indicative":
|
14
17
|
"affirmative": "たべました"
|
15
18
|
"negative": "たべませんでした"
|
19
|
+
"volitional":
|
20
|
+
"affirmative": "たべましょう"
|
21
|
+
"negative": "たべますまい"
|
@@ -6,6 +6,9 @@
|
|
6
6
|
"past_indicative":
|
7
7
|
"affirmative": "した"
|
8
8
|
"negative": "しなかった"
|
9
|
+
"volitional":
|
10
|
+
"affirmative": "しよう"
|
11
|
+
"negative": "するまい"
|
9
12
|
"polite":
|
10
13
|
"nonpast_indicative":
|
11
14
|
"affirmative": "します"
|
@@ -13,6 +16,9 @@
|
|
13
16
|
"past_indicative":
|
14
17
|
"affirmative": "しました"
|
15
18
|
"negative": "しませんでした"
|
19
|
+
"volitional":
|
20
|
+
"affirmative": "しましょう"
|
21
|
+
"negative": "しますまい"
|
16
22
|
"来る":
|
17
23
|
"casual":
|
18
24
|
"nonpast_indicative":
|
@@ -21,6 +27,9 @@
|
|
21
27
|
"past_indicative":
|
22
28
|
"affirmative": "きた"
|
23
29
|
"negative": "こなかった"
|
30
|
+
"volitional":
|
31
|
+
"affirmative": "こよう"
|
32
|
+
"negative": "くるまい"
|
24
33
|
"polite":
|
25
34
|
"nonpast_indicative":
|
26
35
|
"affirmative": "きます"
|
@@ -28,3 +37,6 @@
|
|
28
37
|
"past_indicative":
|
29
38
|
"affirmative": "きました"
|
30
39
|
"negative": "きませんでした"
|
40
|
+
"volitional":
|
41
|
+
"affirmative": "きましょう"
|
42
|
+
"negative": "きますまい"
|
data/spec/spec_helper.rb
CHANGED
@@ -24,7 +24,8 @@ end.freeze
|
|
24
24
|
IRREGULAR_CONJUGATIONS = YAML.load_file('spec/fixtures/irregular/conjugations.yml').freeze
|
25
25
|
|
26
26
|
CONJUGATION_TYPES = ['nonpast_indicative',
|
27
|
-
'past_indicative'
|
27
|
+
'past_indicative',
|
28
|
+
'volitional'].freeze
|
28
29
|
|
29
30
|
RSpec.configure do |config|
|
30
31
|
config.run_all_when_everything_filtered = true
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: katsuyoujin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- LuckyThirteen
|
@@ -151,7 +151,6 @@ files:
|
|
151
151
|
- rules/ichidan/conjugations.yml
|
152
152
|
- rules/irregular/base.yml
|
153
153
|
- rules/irregular/conjugations.yml
|
154
|
-
- spec/fixtures/conjugations.yml
|
155
154
|
- spec/fixtures/godan/base.yml
|
156
155
|
- spec/fixtures/godan/bu_conjugations.yml
|
157
156
|
- spec/fixtures/godan/gu_conjugations.yml
|
@@ -197,7 +196,6 @@ signing_key:
|
|
197
196
|
specification_version: 4
|
198
197
|
summary: Japanese verb conjugator.
|
199
198
|
test_files:
|
200
|
-
- spec/fixtures/conjugations.yml
|
201
199
|
- spec/fixtures/godan/base.yml
|
202
200
|
- spec/fixtures/godan/bu_conjugations.yml
|
203
201
|
- spec/fixtures/godan/gu_conjugations.yml
|
@@ -1,180 +0,0 @@
|
|
1
|
-
"する":
|
2
|
-
"casual":
|
3
|
-
"nonpast_indicative":
|
4
|
-
"affirmative": "する"
|
5
|
-
"negative": "しない"
|
6
|
-
"past_indicative":
|
7
|
-
"affirmative": "した"
|
8
|
-
"negative": "しなかった"
|
9
|
-
"polite":
|
10
|
-
"nonpast_indicative":
|
11
|
-
"affirmative": "します"
|
12
|
-
"negative": "しません"
|
13
|
-
"past_indicative":
|
14
|
-
"affirmative": "しました"
|
15
|
-
"negative": "しませんでした"
|
16
|
-
"来る":
|
17
|
-
"casual":
|
18
|
-
"nonpast_indicative":
|
19
|
-
"affirmative": "くる"
|
20
|
-
"negative": "こない"
|
21
|
-
"past_indicative":
|
22
|
-
"affirmative": "きた"
|
23
|
-
"negative": "こなかった"
|
24
|
-
"polite":
|
25
|
-
"nonpast_indicative":
|
26
|
-
"affirmative": "きます"
|
27
|
-
"negative": "きません"
|
28
|
-
"past_indicative":
|
29
|
-
"affirmative": "きました"
|
30
|
-
"negative": "きませんでした"
|
31
|
-
"食べる":
|
32
|
-
"casual":
|
33
|
-
"nonpast_indicative":
|
34
|
-
"affirmative": "たべる"
|
35
|
-
"negative": "たべない"
|
36
|
-
"past_indicative":
|
37
|
-
"affirmative": "たべた"
|
38
|
-
"negative": "たべなかった"
|
39
|
-
"polite":
|
40
|
-
"nonpast_indicative":
|
41
|
-
"affirmative": "たべます"
|
42
|
-
"negative": "たべません"
|
43
|
-
"past_indicative":
|
44
|
-
"affirmative": "たべました"
|
45
|
-
"negative": "たべませんでした"
|
46
|
-
"話す":
|
47
|
-
"casual":
|
48
|
-
"nonpast_indicative":
|
49
|
-
"affirmative": "はなす"
|
50
|
-
"negative": "はなさない"
|
51
|
-
"past_indicative":
|
52
|
-
"affirmative": "はなした"
|
53
|
-
"negative": "はなさなかった"
|
54
|
-
"polite":
|
55
|
-
"nonpast_indicative":
|
56
|
-
"affirmative": "はなします"
|
57
|
-
"negative": "はなしません"
|
58
|
-
"past_indicative":
|
59
|
-
"affirmative": "はなしました"
|
60
|
-
"negative": "はなしませんでした"
|
61
|
-
"歩く":
|
62
|
-
"casual":
|
63
|
-
"nonpast_indicative":
|
64
|
-
"affirmative": "あるく"
|
65
|
-
"negative": "あるかない"
|
66
|
-
"past_indicative":
|
67
|
-
"affirmative": "あるいた"
|
68
|
-
"negative": "あるかなかった"
|
69
|
-
"polite":
|
70
|
-
"nonpast_indicative":
|
71
|
-
"affirmative": "あるきます"
|
72
|
-
"negative": "あるきません"
|
73
|
-
"past_indicative":
|
74
|
-
"affirmative": "あるきました"
|
75
|
-
"negative": "あるきませんでした"
|
76
|
-
"泳ぐ":
|
77
|
-
"casual":
|
78
|
-
"nonpast_indicative":
|
79
|
-
"affirmative": "およぐ"
|
80
|
-
"negative": "およがない"
|
81
|
-
"past_indicative":
|
82
|
-
"affirmative": "およいだ"
|
83
|
-
"negative": "およがなかった"
|
84
|
-
"polite":
|
85
|
-
"nonpast_indicative":
|
86
|
-
"affirmative": "およぎます"
|
87
|
-
"negative": "およぎません"
|
88
|
-
"past_indicative":
|
89
|
-
"affirmative": "およぎました"
|
90
|
-
"negative": "およぎませんでした"
|
91
|
-
"呼ぶ":
|
92
|
-
"casual":
|
93
|
-
"nonpast_indicative":
|
94
|
-
"affirmative": "よぶ"
|
95
|
-
"negative": "よばない"
|
96
|
-
"past_indicative":
|
97
|
-
"affirmative": "よんだ"
|
98
|
-
"negative": "よばなかった"
|
99
|
-
"polite":
|
100
|
-
"nonpast_indicative":
|
101
|
-
"affirmative": "よびます"
|
102
|
-
"negative": "よびません"
|
103
|
-
"past_indicative":
|
104
|
-
"affirmative": "よびました"
|
105
|
-
"negative": "よびませんでした"
|
106
|
-
"飲む":
|
107
|
-
"casual":
|
108
|
-
"nonpast_indicative":
|
109
|
-
"affirmative": "のむ"
|
110
|
-
"negative": "のまない"
|
111
|
-
"past_indicative":
|
112
|
-
"affirmative": "のんだ"
|
113
|
-
"negative": "のまなかった"
|
114
|
-
"polite":
|
115
|
-
"nonpast_indicative":
|
116
|
-
"affirmative": "のみます"
|
117
|
-
"negative": "のみません"
|
118
|
-
"past_indicative":
|
119
|
-
"affirmative": "のみました"
|
120
|
-
"negative": "のみませんでした"
|
121
|
-
"死ぬ":
|
122
|
-
"casual":
|
123
|
-
"nonpast_indicative":
|
124
|
-
"affirmative": "しぬ"
|
125
|
-
"negative": "しなない"
|
126
|
-
"past_indicative":
|
127
|
-
"affirmative": "しんだ"
|
128
|
-
"negative": "しななかった"
|
129
|
-
"polite":
|
130
|
-
"nonpast_indicative":
|
131
|
-
"affirmative": "しにます"
|
132
|
-
"negative": "しにません"
|
133
|
-
"past_indicative":
|
134
|
-
"affirmative": "しにました"
|
135
|
-
"negative": "しにませんでした"
|
136
|
-
"作る":
|
137
|
-
"casual":
|
138
|
-
"nonpast_indicative":
|
139
|
-
"affirmative": "つくる"
|
140
|
-
"negative": "つくらない"
|
141
|
-
"past_indicative":
|
142
|
-
"affirmative": "つくった"
|
143
|
-
"negative": "つくらなかった"
|
144
|
-
"polite":
|
145
|
-
"nonpast_indicative":
|
146
|
-
"affirmative": "つくります"
|
147
|
-
"negative": "つくりません"
|
148
|
-
"past_indicative":
|
149
|
-
"affirmative": "つくりました"
|
150
|
-
"negative": "つくりませんでした"
|
151
|
-
"待つ":
|
152
|
-
"casual":
|
153
|
-
"nonpast_indicative":
|
154
|
-
"affirmative": "まつ"
|
155
|
-
"negative": "またない"
|
156
|
-
"past_indicative":
|
157
|
-
"affirmative": "まった"
|
158
|
-
"negative": "またなかった"
|
159
|
-
"polite":
|
160
|
-
"nonpast_indicative":
|
161
|
-
"affirmative": "まちます"
|
162
|
-
"negative": "まちません"
|
163
|
-
"past_indicative":
|
164
|
-
"affirmative": "まちました"
|
165
|
-
"negative": "まちませんでした"
|
166
|
-
"洗う":
|
167
|
-
"casual":
|
168
|
-
"nonpast_indicative":
|
169
|
-
"affirmative": "あらう"
|
170
|
-
"negative": "あらわない"
|
171
|
-
"past_indicative":
|
172
|
-
"affirmative": "あらった"
|
173
|
-
"negative": "あらわなかった"
|
174
|
-
"polite":
|
175
|
-
"nonpast_indicative":
|
176
|
-
"affirmative": "あらいます"
|
177
|
-
"negative": "あらいません"
|
178
|
-
"past_indicative":
|
179
|
-
"affirmative": "あらいました"
|
180
|
-
"negative": "あらいませんでした"
|