jkf 0.5.0 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.envrc +1 -0
- data/.rubocop.yml +67 -0
- data/.rubocop_todo.yml +1 -454
- data/.yardopts +4 -0
- data/CHANGELOG.md +27 -0
- data/Gemfile +12 -11
- data/Guardfile +3 -3
- data/README.en.md +27 -23
- data/README.md +32 -21
- data/Rakefile +4 -4
- data/bench.rb +12 -0
- data/bin/console +4 -4
- data/jkf.gemspec +16 -15
- data/lib/jkf/converter/base.rb +12 -10
- data/lib/jkf/converter/csa.rb +141 -150
- data/lib/jkf/converter/ki2.rb +94 -92
- data/lib/jkf/converter/kif.rb +105 -99
- data/lib/jkf/converter/kifuable.rb +160 -160
- data/lib/jkf/converter.rb +6 -8
- data/lib/jkf/parser/base.rb +81 -95
- data/lib/jkf/parser/csa.rb +651 -654
- data/lib/jkf/parser/ki2.rb +331 -333
- data/lib/jkf/parser/kif.rb +467 -468
- data/lib/jkf/parser/kifuable.rb +511 -517
- data/lib/jkf/parser.rb +5 -7
- data/lib/jkf/version.rb +1 -2
- data/lib/jkf.rb +6 -6
- data/manifest.scm +3 -30
- data/po/all.pot +64 -48
- data/po/en.po +83 -82
- data/po/en.rdoc.po +580 -0
- metadata +18 -10
data/po/en.rdoc.po
ADDED
@@ -0,0 +1,580 @@
|
|
1
|
+
# English translations for PACKAGE package.
|
2
|
+
# Copyright (C) 2024 THE PACKAGE'S COPYRIGHT HOLDER
|
3
|
+
# This file is distributed under the same license as the PACKAGE package.
|
4
|
+
# gemmaro <gemmaro.dev@gmail.com>, 2024.
|
5
|
+
msgid ""
|
6
|
+
msgstr ""
|
7
|
+
"Project-Id-Version: PACKAGE VERSEION\n"
|
8
|
+
"Report-Msgid-Bugs-To:\n"
|
9
|
+
"PO-Revision-Date: 2024-06-16 09:57+0900\n"
|
10
|
+
"Last-Translator: gemmaro <gemmaro.dev@gmail.com>\n"
|
11
|
+
"Language-Team: English\n"
|
12
|
+
"Language:en_US\n"
|
13
|
+
"MIME-Version: 1.0\n"
|
14
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
15
|
+
"Content-Transfer-Encoding: 8bit\n"
|
16
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
17
|
+
|
18
|
+
#. Jkf::Parser::Ki2#parse_comment
|
19
|
+
msgid "\"*\" nonls nl"
|
20
|
+
msgstr "\"*\" nonls nl"
|
21
|
+
|
22
|
+
#. Jkf::Converter::Base#convert
|
23
|
+
msgid ""
|
24
|
+
"@param [String, Hash] jkf\n"
|
25
|
+
"@return [String] kif or ki2 or csa text"
|
26
|
+
msgstr ""
|
27
|
+
"@param [String, Hash] jkf\n"
|
28
|
+
"@return [String] kif or ki2 or csa text"
|
29
|
+
|
30
|
+
#. Jkf::parse_file
|
31
|
+
msgid "@param [String] filename"
|
32
|
+
msgstr "@param [String] filename"
|
33
|
+
|
34
|
+
#. Jkf::Parser::Base#parse
|
35
|
+
msgid "@param [String] input"
|
36
|
+
msgstr "@param [String] input"
|
37
|
+
|
38
|
+
#. Jkf::parse
|
39
|
+
msgid "@param [String] str"
|
40
|
+
msgstr "@param [String] str"
|
41
|
+
|
42
|
+
#. Jkf::Parser::Base#parse
|
43
|
+
#. Jkf::parse
|
44
|
+
msgid "@return [Hash] JKF"
|
45
|
+
msgstr "@return [Hash] JKF"
|
46
|
+
|
47
|
+
#. Jkf::parse_file
|
48
|
+
msgid "@return [String] KIF, KI2, CSA, JKF(JSON)"
|
49
|
+
msgstr "@return [String] KIF, KI2, CSA, JKF(JSON)"
|
50
|
+
|
51
|
+
#. Jkf::Converter::Base
|
52
|
+
msgid "Base of Converter"
|
53
|
+
msgstr "Base of Converter"
|
54
|
+
|
55
|
+
#. Jkf::Parser::Base
|
56
|
+
msgid "Base of Parser"
|
57
|
+
msgstr "Base of Parser"
|
58
|
+
|
59
|
+
#. Jkf::Parser::Csa
|
60
|
+
msgid "CSA Parser"
|
61
|
+
msgstr "CSA Parser"
|
62
|
+
|
63
|
+
#. Jkf::Converter::Csa
|
64
|
+
msgid "CSA v2.2 Converter"
|
65
|
+
msgstr "CSA v2.2 Converter"
|
66
|
+
|
67
|
+
#. Jkf::Converter::Kifuable
|
68
|
+
#. Jkf::Parser::Kifuable
|
69
|
+
msgid "Intersection of KIF and KI2"
|
70
|
+
msgstr "Intersection of KIF and KI2"
|
71
|
+
|
72
|
+
#. Jkf
|
73
|
+
msgid "JSON Kifu Format"
|
74
|
+
msgstr "JSON Kifu Format"
|
75
|
+
|
76
|
+
#. Jkf::Converter::Ki2
|
77
|
+
msgid "KI2 Converter"
|
78
|
+
msgstr "KI2 Converter"
|
79
|
+
|
80
|
+
#. Jkf::Parser::Ki2
|
81
|
+
msgid "KI2 Parser"
|
82
|
+
msgstr "KI2 Parser"
|
83
|
+
|
84
|
+
#. Jkf::Converter::Kif
|
85
|
+
msgid "KIF Converter"
|
86
|
+
msgstr "KIF Converter"
|
87
|
+
|
88
|
+
#. Jkf::Parser::Kif
|
89
|
+
msgid "KIF Parser"
|
90
|
+
msgstr "KIF Parser"
|
91
|
+
|
92
|
+
#. Jkf::Parser::Csa#parse_comment
|
93
|
+
msgid "comment : \"'\" nonls nl"
|
94
|
+
msgstr "comment : \"'\" nonls nl"
|
95
|
+
|
96
|
+
#. Jkf::Parser::Kif#parse_comment
|
97
|
+
msgid "comment : \"*\" nonls nl | \"&\" nonls nl"
|
98
|
+
msgstr "comment : \"*\" nonls nl | \"&\" nonls nl"
|
99
|
+
|
100
|
+
#. Jkf::Parser::Csa#parse_comments
|
101
|
+
msgid "comments : comment*"
|
102
|
+
msgstr "comments : comment*"
|
103
|
+
|
104
|
+
#. Jkf::Parser::Csa#parse_csa1
|
105
|
+
msgid "csa1 : players? initialboard? moves"
|
106
|
+
msgstr "csa1 : players? initialboard? moves"
|
107
|
+
|
108
|
+
#. Jkf::Parser::Csa#parse_csa2
|
109
|
+
msgid "csa2 : version22 information? initialboard moves?"
|
110
|
+
msgstr "csa2 : version22 information? initialboard moves?"
|
111
|
+
|
112
|
+
#. Jkf::Parser::Ki2#parse_dousa
|
113
|
+
msgid "dousa : [上寄引]"
|
114
|
+
msgstr "dousa : [上寄引]"
|
115
|
+
|
116
|
+
#. Jkf::Parser::Kif#reverse_color
|
117
|
+
msgid "exchange sente gote"
|
118
|
+
msgstr "exchange sente gote"
|
119
|
+
|
120
|
+
#. Jkf::Parser::Csa#parse_firstboard
|
121
|
+
msgid "firstboard : comment*"
|
122
|
+
msgstr "firstboard : comment*"
|
123
|
+
|
124
|
+
#. Jkf::Parser::Ki2#parse_firstboard
|
125
|
+
#. Jkf::Parser::Kif#parse_firstboard
|
126
|
+
msgid "firstboard : comment* pointer?"
|
127
|
+
msgstr "firstboard : comment* pointer?"
|
128
|
+
|
129
|
+
#. Jkf::Parser::Kif#parse_fork
|
130
|
+
msgid "fork : \"変化:\" \" \"* [0-9]+ \"手\" nl moves"
|
131
|
+
msgstr "fork : \"変化:\" \" \"* [0-9]+ \"手\" nl moves"
|
132
|
+
|
133
|
+
#. Jkf::Parser::Ki2#parse_fork
|
134
|
+
msgid "fork : \"変化:\" \" \"* [0-9]+ \"手\" nl moves"
|
135
|
+
msgstr "fork : \"変化:\" \" \"* [0-9]+ \"手\" nl moves"
|
136
|
+
|
137
|
+
#. Jkf::Parser::Kif#parse_from
|
138
|
+
msgid "from : \"打\" | \"(\" [1-9] [1-9] \")\""
|
139
|
+
msgstr "from : \"打\" | \"(\" [1-9] [1-9] \")\""
|
140
|
+
|
141
|
+
#. Jkf::Parser::Kif#parse_fugou
|
142
|
+
msgid "fugou : place piece \"成\"?"
|
143
|
+
msgstr "fugou : place piece \"成\"?"
|
144
|
+
|
145
|
+
#. Jkf::Parser::Ki2#parse_fugou
|
146
|
+
msgid "fugou : place piece soutai? dousa? (\"成\" | \"不成\")? \"打\"?"
|
147
|
+
msgstr "fugou : place piece soutai? dousa? (\"成\" | \"不成\")? \"打\"?"
|
148
|
+
|
149
|
+
#. Jkf::Parser::Ki2#make_hand
|
150
|
+
#. Jkf::Parser::Kif#make_hand
|
151
|
+
msgid "generate motigoma"
|
152
|
+
msgstr "generate motigoma"
|
153
|
+
|
154
|
+
#. Jkf::Parser::Kif#parse_header
|
155
|
+
msgid ""
|
156
|
+
"header : [^:\\r\\n]+ \":\" nonls nl\n"
|
157
|
+
" | turn \"手番\" nl\n"
|
158
|
+
" | \"盤面回転\" nl"
|
159
|
+
msgstr ""
|
160
|
+
"header : [^:\\r\\n]+ \":\" nonls nl\n"
|
161
|
+
" | turn \"手番\" nl\n"
|
162
|
+
" | \"盤面回転\" nl"
|
163
|
+
|
164
|
+
#. Jkf::Parser::Ki2#parse_header
|
165
|
+
msgid "header : [^:\\r\\n]+ \":\" nonls nl+ | header_teban"
|
166
|
+
msgstr "header : [^:\\r\\n]+ \":\" nonls nl+ | header_teban"
|
167
|
+
|
168
|
+
#. Jkf::Parser::Csa#parse_header
|
169
|
+
msgid "header : comment* \"$\" [^:]+ \":\" nonls nl"
|
170
|
+
msgstr "header : comment* \"$\" [^:]+ \":\" nonls nl"
|
171
|
+
|
172
|
+
#. Jkf::Parser::Ki2#parse_header_teban
|
173
|
+
msgid "header_teban : [先後上下] \"手番\" nl"
|
174
|
+
msgstr "header_teban : [先後上下] \"手番\" nl"
|
175
|
+
|
176
|
+
#. Jkf::Parser::Csa#parse_headers
|
177
|
+
msgid "headers : header*"
|
178
|
+
msgstr "headers : header*"
|
179
|
+
|
180
|
+
#. Jkf::Parser::Csa#parse_hirate
|
181
|
+
msgid "hirate : \"PI\" xypiece* nl"
|
182
|
+
msgstr "hirate : \"PI\" xypiece* nl"
|
183
|
+
|
184
|
+
#. Jkf::Parser::Kif#parse_hms
|
185
|
+
msgid "hms : [0-9]+ \":\" [0-9]+ \":\" [0-9]+"
|
186
|
+
msgstr "hms : [0-9]+ \":\" [0-9]+ \":\" [0-9]+"
|
187
|
+
|
188
|
+
#. Jkf::Parser::Csa#parse_ikkatsu
|
189
|
+
msgid "ikkatsu : ikkatsuline+"
|
190
|
+
msgstr "ikkatsu : ikkatsuline+"
|
191
|
+
|
192
|
+
#. Jkf::Parser::Csa#parse_ikkatsu_line
|
193
|
+
msgid "ikkatsuline : \"P\" [1-9] masu+ nl"
|
194
|
+
msgstr "ikkatsuline : \"P\" [1-9] masu+ nl"
|
195
|
+
|
196
|
+
#. Jkf::Parser::Kifuable#parse_ikkatsuline
|
197
|
+
msgid "ikkatsuline : \"|\" masu:masu+ \"|\" nonls! nl"
|
198
|
+
msgstr "ikkatsuline : \"|\" masu:masu+ \"|\" nonls! nl"
|
199
|
+
|
200
|
+
#. Jkf::Parser::Csa#parse_information
|
201
|
+
msgid "information : players? headers"
|
202
|
+
msgstr "information : players? headers"
|
203
|
+
|
204
|
+
#. Jkf::Parser::Kifuable#parse_initialboard
|
205
|
+
msgid ""
|
206
|
+
"initialboard : (\" \" nonls nl)? (\"+\" nonls nl)? ikkatsuline+ (\"+\" nonls "
|
207
|
+
"nl)?"
|
208
|
+
msgstr ""
|
209
|
+
"initialboard : (\" \" nonls nl)? (\"+\" nonls nl)? ikkatsuline+ (\"+\" nonls "
|
210
|
+
"nl)?"
|
211
|
+
|
212
|
+
#. Jkf::Parser::Csa#parse_initial_board
|
213
|
+
msgid ""
|
214
|
+
"initialboard : comment* (hirate | ikkatsu | \"\") komabetsu comment* teban nl"
|
215
|
+
msgstr ""
|
216
|
+
"initialboard : comment* (hirate | ikkatsu | \"\") komabetsu comment* teban nl"
|
217
|
+
|
218
|
+
#. Jkf::Parser::Kifuable#kan2n
|
219
|
+
msgid "kanji number to number (1)"
|
220
|
+
msgstr "kanji number to number (1)"
|
221
|
+
|
222
|
+
#. Jkf::Parser::Kifuable#kan2n2
|
223
|
+
msgid "kanji number to number (2)"
|
224
|
+
msgstr "kanji number to number (2)"
|
225
|
+
|
226
|
+
#. Jkf::Parser::Kifuable#kind2csa
|
227
|
+
msgid "kanji piece-type to csa"
|
228
|
+
msgstr "kanji piece-type to csa"
|
229
|
+
|
230
|
+
#. Jkf::Parser::Csa#parse_root
|
231
|
+
msgid "kifu : csa2 | csa1"
|
232
|
+
msgstr "kifu : csa2 | csa1"
|
233
|
+
|
234
|
+
#. Jkf::Parser::Ki2#parse_root
|
235
|
+
msgid "kifu : header* initialboard? header* moves fork*"
|
236
|
+
msgstr "kifu : header* initialboard? header* moves fork*"
|
237
|
+
|
238
|
+
#. Jkf::Parser::Kif#parse_root
|
239
|
+
msgid "kifu : skipline* header* initialboard? header* split? moves fork* nl?"
|
240
|
+
msgstr "kifu : skipline* header* initialboard? header* split? moves fork* nl?"
|
241
|
+
|
242
|
+
#. Jkf::Parser::Csa#parse_komabetsu
|
243
|
+
msgid "komabetsu : komabetsuline*"
|
244
|
+
msgstr "komabetsu : komabetsuline*"
|
245
|
+
|
246
|
+
#. Jkf::Parser::Csa#parse_komabetsu_line
|
247
|
+
msgid "komabetsuline : \"P\" teban xypiece+ nl"
|
248
|
+
msgstr "komabetsuline : \"P\" teban xypiece+ nl"
|
249
|
+
|
250
|
+
#. Jkf::Parser::Kif#parse_line
|
251
|
+
msgid ""
|
252
|
+
"line : \" \"* te \" \"* (fugou from | [^\\r\\n ]*) \" \"* time? \"+\"? nl"
|
253
|
+
msgstr ""
|
254
|
+
"line : \" \"* te \" \"* (fugou from | [^\\r\\n ]*) \" \"* time? \"+\"? nl"
|
255
|
+
|
256
|
+
#. Jkf::Parser::Ki2#parse_line
|
257
|
+
msgid "line : [▲△] fugou (nl / \" \")*"
|
258
|
+
msgstr "line : [▲△] fugou (nl / \" \")*"
|
259
|
+
|
260
|
+
#. Jkf::Parser::Csa#transform_komabetsu_lines
|
261
|
+
msgid "lines to jkf"
|
262
|
+
msgstr "lines to jkf"
|
263
|
+
|
264
|
+
#. Jkf::Parser::Csa#parse_masu
|
265
|
+
msgid "masu : teban piece | \" * \""
|
266
|
+
msgstr "masu : teban piece | \" * \""
|
267
|
+
|
268
|
+
#. Jkf::Parser::Kifuable#parse_masu
|
269
|
+
msgid "masu : teban piece | \" ・\""
|
270
|
+
msgstr "masu : teban piece | \" ・\""
|
271
|
+
|
272
|
+
#. Jkf::Parser::Base#match_digit
|
273
|
+
msgid "match digit"
|
274
|
+
msgstr "match digit"
|
275
|
+
|
276
|
+
#. Jkf::Parser::Base#match_digits!
|
277
|
+
msgid "match digit one ore more"
|
278
|
+
msgstr "match digit one ore more"
|
279
|
+
|
280
|
+
#. Jkf::Parser::Base#match_digits
|
281
|
+
msgid "match digits"
|
282
|
+
msgstr "match digits"
|
283
|
+
|
284
|
+
#. Jkf::Parser::Base#match_space
|
285
|
+
msgid "match space"
|
286
|
+
msgstr "match space"
|
287
|
+
|
288
|
+
#. Jkf::Parser::Base#match_spaces
|
289
|
+
msgid "match space one or more"
|
290
|
+
msgstr "match space one or more"
|
291
|
+
|
292
|
+
#. Jkf::Parser::Csa#parse_move
|
293
|
+
msgid "move : (normalmove | specialmove) time? comment*"
|
294
|
+
msgstr "move : (normalmove | specialmove) time? comment*"
|
295
|
+
|
296
|
+
#. Jkf::Parser::Kif#parse_move
|
297
|
+
msgid "move : line comment* pointer?"
|
298
|
+
msgstr "move : line comment* pointer?"
|
299
|
+
|
300
|
+
#. Jkf::Parser::Ki2#parse_move
|
301
|
+
msgid "move : line comment* pointer? (nl | \" \")*"
|
302
|
+
msgstr "move : line comment* pointer? (nl | \" \")*"
|
303
|
+
|
304
|
+
#. Jkf::Parser::Ki2#dousa2relative
|
305
|
+
msgid "movement string to jkf"
|
306
|
+
msgstr "movement string to jkf"
|
307
|
+
|
308
|
+
#. Jkf::Parser::Ki2#parse_moves
|
309
|
+
msgid "moves : firstboard : move* result?"
|
310
|
+
msgstr "moves : firstboard : move* result?"
|
311
|
+
|
312
|
+
#. Jkf::Parser::Csa#parse_moves
|
313
|
+
msgid "moves : firstboard move* comment*"
|
314
|
+
msgstr "moves : firstboard move* comment*"
|
315
|
+
|
316
|
+
#. Jkf::Parser::Kif#parse_moves
|
317
|
+
msgid "moves : firstboard split? move* result?"
|
318
|
+
msgstr "moves : firstboard split? move* result?"
|
319
|
+
|
320
|
+
#. Jkf::Parser::Kif#parse_ms
|
321
|
+
msgid "ms : [0-9]+ \":\" [0-9]+"
|
322
|
+
msgstr "ms : [0-9]+ \":\" [0-9]+"
|
323
|
+
|
324
|
+
#. Jkf::Parser::Kifuable#parse_newline
|
325
|
+
msgid "newline : whitespace* (\"\\n\" | \"\\r\" \"\\n\"?)"
|
326
|
+
msgstr "newline : whitespace* (\"\\n\" | \"\\r\" \"\\n\"?)"
|
327
|
+
|
328
|
+
#. Jkf::Parser::Csa#parse_nl
|
329
|
+
msgid "nl : (\"\\r\"? \"\\n\") | \" \"* \",\""
|
330
|
+
msgstr "nl : (\"\\r\"? \"\\n\") | \" \"* \",\""
|
331
|
+
|
332
|
+
#. Jkf::Parser::Kifuable#parse_nl
|
333
|
+
msgid "nl : newline+ skipline*"
|
334
|
+
msgstr "nl : newline+ skipline*"
|
335
|
+
|
336
|
+
#. Jkf::Parser::Kifuable#parse_nonl
|
337
|
+
msgid "nonl :"
|
338
|
+
msgstr "nonl :"
|
339
|
+
|
340
|
+
#. Jkf::Parser::Csa#parse_nonl
|
341
|
+
msgid "nonl : [^\\r\\n]"
|
342
|
+
msgstr "nonl : [^\\r\\n]"
|
343
|
+
|
344
|
+
#. Jkf::Parser::Csa#parse_nonls
|
345
|
+
#. Jkf::Parser::Kifuable#parse_nonls
|
346
|
+
msgid "nonls : nonl*"
|
347
|
+
msgstr "nonls : nonl*"
|
348
|
+
|
349
|
+
#. Jkf::Parser::Kifuable#parse_nonls!
|
350
|
+
msgid "nonls! : nonl+"
|
351
|
+
msgstr "nonls! : nonl+"
|
352
|
+
|
353
|
+
#. Jkf::Parser::Csa#normalize_header_key
|
354
|
+
msgid "normalize header key"
|
355
|
+
msgstr "normalize header key"
|
356
|
+
|
357
|
+
#. Jkf::Parser::Csa#parse_normal_move
|
358
|
+
msgid "normalmove : teban xy xy piece nl"
|
359
|
+
msgstr "normalmove : teban xy xy piece nl"
|
360
|
+
|
361
|
+
#. Jkf::Parser::Kifuable#parse_num
|
362
|
+
msgid "num : [123456789]"
|
363
|
+
msgstr "num : [123456789]"
|
364
|
+
|
365
|
+
#. Jkf::Parser::Kifuable#parse_numkan
|
366
|
+
msgid "numkan : [一二三四五六七八九]"
|
367
|
+
msgstr "numkan : [一二三四五六七八九]"
|
368
|
+
|
369
|
+
#. Jkf::Parser::Kifuable#parse_piece
|
370
|
+
msgid "piece : \"成\"? [歩香桂銀金角飛王玉と杏圭全馬竜龍]"
|
371
|
+
msgstr "piece : \"成\"? [歩香桂銀金角飛王玉と杏圭全馬竜龍]"
|
372
|
+
|
373
|
+
#. Jkf::Parser::Csa#parse_piece
|
374
|
+
msgid "piece : [A-Z] [A-Z]"
|
375
|
+
msgstr "piece : [A-Z] [A-Z]"
|
376
|
+
|
377
|
+
#. Jkf::Parser::Ki2#parse_place
|
378
|
+
msgid "place : num numkan"
|
379
|
+
msgstr "place : num numkan"
|
380
|
+
|
381
|
+
#. Jkf::Parser::Kif#parse_place
|
382
|
+
msgid "place : num numkan | \"同 \""
|
383
|
+
msgstr "place : num numkan | \"同 \""
|
384
|
+
|
385
|
+
#. Jkf::Parser::Csa#parse_players
|
386
|
+
msgid "players : comment* (\"N+\" nonls nl)? comment* (\"N-\" nonls nl)?"
|
387
|
+
msgstr "players : comment* (\"N+\" nonls nl)? comment* (\"N-\" nonls nl)?"
|
388
|
+
|
389
|
+
#. Jkf::Parser::Kifuable#parse_pointer
|
390
|
+
msgid "pointer : \"&\" nonls nl"
|
391
|
+
msgstr "pointer : \"&\" nonls nl"
|
392
|
+
|
393
|
+
#. Jkf::Parser::Kifuable#preset2str
|
394
|
+
msgid "preset string to jkf"
|
395
|
+
msgstr "preset string to jkf"
|
396
|
+
|
397
|
+
#. Jkf::FileTypeError
|
398
|
+
msgid "raise when unsupport file type"
|
399
|
+
msgstr "raise when unsupport file type"
|
400
|
+
|
401
|
+
#. Jkf::Parser::Ki2#soutai2relative
|
402
|
+
msgid "relative string to jkf"
|
403
|
+
msgstr "relative string to jkf"
|
404
|
+
|
405
|
+
#. Jkf::Parser::Kifuable#parse_result
|
406
|
+
msgid ""
|
407
|
+
"result : \"まで\" [0-9]+ \"手\" (\n"
|
408
|
+
" \"で\" (turn \"手の\" (result_toryo | result_illegal)) |\n"
|
409
|
+
" result_timeup | result_chudan | result_jishogi |\n"
|
410
|
+
" result_sennichite | result_tsumi | result_fuzumi\n"
|
411
|
+
" ) nl"
|
412
|
+
msgstr ""
|
413
|
+
"result : \"まで\" [0-9]+ \"手\" (\n"
|
414
|
+
" \"で\" (turn \"手の\" (result_toryo | result_illegal)) |\n"
|
415
|
+
" result_timeup | result_chudan | result_jishogi |\n"
|
416
|
+
" result_sennichite | result_tsumi | result_fuzumi\n"
|
417
|
+
" ) nl"
|
418
|
+
|
419
|
+
#. Jkf::Parser::Kifuable#parse_result_chudan
|
420
|
+
msgid "result_chudan : \"で中断\""
|
421
|
+
msgstr "result_chudan : \"で中断\""
|
422
|
+
|
423
|
+
#. Jkf::Parser::Kifuable#parse_result_fuzumi
|
424
|
+
msgid "result_fuzumi : \"で不詰\""
|
425
|
+
msgstr "result_fuzumi : \"で不詰\""
|
426
|
+
|
427
|
+
#. Jkf::Parser::Kifuable#parse_result_illegal
|
428
|
+
msgid "result_illegal : \"反則\" (\"勝ち\" | \"負け\")"
|
429
|
+
msgstr "result_illegal : \"反則\" (\"勝ち\" | \"負け\")"
|
430
|
+
|
431
|
+
#. Jkf::Parser::Kifuable#parse_result_jishogi
|
432
|
+
msgid "result_jishogi : \"で持将棋\""
|
433
|
+
msgstr "result_jishogi : \"で持将棋\""
|
434
|
+
|
435
|
+
#. Jkf::Parser::Kifuable#parse_result_sennichite
|
436
|
+
msgid "result_sennichite : \"で千日手\""
|
437
|
+
msgstr "result_sennichite : \"で千日手\""
|
438
|
+
|
439
|
+
#. Jkf::Parser::Kifuable#parse_result_timeup
|
440
|
+
msgid "result_timeup : \"で時間切れにより\" turn \"手の勝ち\""
|
441
|
+
msgstr "result_timeup : \"で時間切れにより\" turn \"手の勝ち\""
|
442
|
+
|
443
|
+
#. Jkf::Parser::Kifuable#parse_result_toryo
|
444
|
+
msgid "result_toryo : \"勝ち\""
|
445
|
+
msgstr "result_toryo : \"勝ち\""
|
446
|
+
|
447
|
+
#. Jkf::Parser::Kifuable#parse_result_tsumi
|
448
|
+
msgid "result_tsumi : \"で\"? \"詰\" \"み\"?"
|
449
|
+
msgstr "result_tsumi : \"で\"? \"詰\" \"み\"?"
|
450
|
+
|
451
|
+
#. Jkf::Parser::Csa#generate_empty_board
|
452
|
+
msgid "return empty board jkf"
|
453
|
+
msgstr "return empty board jkf"
|
454
|
+
|
455
|
+
#. Jkf::Parser::Csa#hirate
|
456
|
+
msgid "return hirate board jkf"
|
457
|
+
msgstr "return hirate board jkf"
|
458
|
+
|
459
|
+
#. Jkf::Parser::Csa#sec2time
|
460
|
+
msgid "sec to time(m, s)"
|
461
|
+
msgstr "sec to time(m, s)"
|
462
|
+
|
463
|
+
#. Jkf::Parser::Kifuable#parse_skipline
|
464
|
+
msgid "skipline : \"#\" nonls newline"
|
465
|
+
msgstr "skipline : \"#\" nonls newline"
|
466
|
+
|
467
|
+
#. Jkf::Parser::Ki2#parse_soutai
|
468
|
+
msgid "soutai : [左直右]"
|
469
|
+
msgstr "soutai : [左直右]"
|
470
|
+
|
471
|
+
#. Jkf::Parser::Kif#special2csa
|
472
|
+
msgid "special string to csa"
|
473
|
+
msgstr "special string to csa"
|
474
|
+
|
475
|
+
#. Jkf::Parser::Csa#parse_special_move
|
476
|
+
msgid "specialmove : \"%\" [-+_A-Z]+ nl"
|
477
|
+
msgstr "specialmove : \"%\" [-+_A-Z]+ nl"
|
478
|
+
|
479
|
+
#. Jkf::Parser::Kif#parse_split
|
480
|
+
msgid "split : \"手数----指手--\" \"-------消費時間--\"? nl"
|
481
|
+
msgstr "split : \"手数----指手--\" \"-------消費時間--\"? nl"
|
482
|
+
|
483
|
+
#. Jkf::Converter::Base#convert
|
484
|
+
msgid "start convert"
|
485
|
+
msgstr "start convert"
|
486
|
+
|
487
|
+
#. Jkf::Parser::Base#parse
|
488
|
+
msgid "start parse"
|
489
|
+
msgstr "start parse"
|
490
|
+
|
491
|
+
#. Jkf::Parser::Kif#parse_te
|
492
|
+
msgid "te : [0-9]+"
|
493
|
+
msgstr "te : [0-9]+"
|
494
|
+
|
495
|
+
#. Jkf::Parser::Csa#parse_teban
|
496
|
+
msgid "teban : \"+\" | \"-\""
|
497
|
+
msgstr "teban : \"+\" | \"-\""
|
498
|
+
|
499
|
+
#. Jkf::Parser::Kifuable#parse_teban
|
500
|
+
msgid "teban : (\" \" | \"+\" | \"^\") | (\"v\" | \"V\")"
|
501
|
+
msgstr "teban : (\" \" | \"+\" | \"^\") | (\"v\" | \"V\")"
|
502
|
+
|
503
|
+
#. Jkf::Parser::Kif#teban2color
|
504
|
+
msgid "teban to color"
|
505
|
+
msgstr "teban to color"
|
506
|
+
|
507
|
+
#. Jkf::Parser::Kif#parse_time
|
508
|
+
msgid "time : \"(\" \" \"* ms \" \"* \"/\" \" \"* (hms | ms) \" \"* \")\""
|
509
|
+
msgstr "time : \"(\" \" \"* ms \" \"* \"/\" \" \"* (hms | ms) \" \"* \")\""
|
510
|
+
|
511
|
+
#. Jkf::Parser::Csa#parse_time
|
512
|
+
msgid "time : \"T\" [0-9]* nl"
|
513
|
+
msgstr "time : \"T\" [0-9]* nl"
|
514
|
+
|
515
|
+
#. Jkf::Parser::Kifuable#transform_root_header_data
|
516
|
+
msgid "transform header-data to jkf"
|
517
|
+
msgstr "transform header-data to jkf"
|
518
|
+
|
519
|
+
#. Jkf::Parser::Kifuable#transform_initialboard
|
520
|
+
msgid "transform initialboard to jkf"
|
521
|
+
msgstr "transform initialboard to jkf"
|
522
|
+
|
523
|
+
#. Jkf::Parser::Kif#transform_move
|
524
|
+
msgid "transform move to jkf"
|
525
|
+
msgstr "transform move to jkf"
|
526
|
+
|
527
|
+
#. Jkf::Parser::Kif#transform_teban_fugou_from
|
528
|
+
msgid "transform teban-fugou-from to jkf"
|
529
|
+
msgstr "transform teban-fugou-from to jkf"
|
530
|
+
|
531
|
+
#. Jkf::Parser::Ki2#transform_root
|
532
|
+
msgid "transform to jkf"
|
533
|
+
msgstr "transform to jkf"
|
534
|
+
|
535
|
+
#. Jkf::Parser::Kifuable#transform_root_forks
|
536
|
+
msgid "transfrom forks to jkf"
|
537
|
+
msgstr "transfrom forks to jkf"
|
538
|
+
|
539
|
+
#. Jkf::Parser::Ki2#transform_fugou
|
540
|
+
msgid "transfrom fugou to jkf"
|
541
|
+
msgstr "transfrom fugou to jkf"
|
542
|
+
|
543
|
+
#. Jkf::Parser::Kif#transform_root
|
544
|
+
msgid "transfrom to jkf"
|
545
|
+
msgstr "transfrom to jkf"
|
546
|
+
|
547
|
+
#. Jkf::Parser::Ki2#parse_turn
|
548
|
+
#. Jkf::Parser::Kif#parse_turn
|
549
|
+
msgid "turn : [先後上下]"
|
550
|
+
msgstr "turn : [先後上下]"
|
551
|
+
|
552
|
+
#. Jkf::Parser::Csa#parse_version22
|
553
|
+
msgid "version22 : comment* \"V2.2\" nl"
|
554
|
+
msgstr "version22 : comment* \"V2.2\" nl"
|
555
|
+
|
556
|
+
#. Jkf::Parser::Kifuable#parse_whitespace
|
557
|
+
msgid "whitespace : \" \" | \"\\t\""
|
558
|
+
msgstr "whitespace : \" \" | \"\\t\""
|
559
|
+
|
560
|
+
#. Jkf::Parser::Csa#parse_xy
|
561
|
+
msgid "xy : [0-9] [0-9]"
|
562
|
+
msgstr "xy : [0-9] [0-9]"
|
563
|
+
|
564
|
+
#. Jkf::Parser::Csa#parse_xy_piece
|
565
|
+
msgid "xypiece : xy piece"
|
566
|
+
msgstr "xypiece : xy piece"
|
567
|
+
|
568
|
+
#. Jkf::Parser::Kifuable#zen2n
|
569
|
+
msgid "zenkaku number to number"
|
570
|
+
msgstr "zenkaku number to number"
|
571
|
+
|
572
|
+
#. Jkf::parse_file
|
573
|
+
msgid "ファイルからパースします。拡張子でフォーマットの判定をします。"
|
574
|
+
msgstr "ファイルからパースします。拡張子でフォーマットの判定をします。"
|
575
|
+
|
576
|
+
#. Jkf::parse
|
577
|
+
msgid ""
|
578
|
+
"文字列からパースします。各パーサでパースに試みて成功した場合結果を返します。"
|
579
|
+
msgstr ""
|
580
|
+
"文字列からパースします。各パーサでパースに試みて成功した場合結果を返します。"
|
metadata
CHANGED
@@ -1,28 +1,33 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jkf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- iyuuya
|
8
|
-
|
9
|
-
|
8
|
+
- gemmaro
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2024-10-26 00:00:00.000000000 Z
|
12
13
|
dependencies: []
|
13
|
-
description:
|
14
|
+
description: The jkf gem provides parsers and converters (generaters) for several
|
15
|
+
shogi formats.
|
14
16
|
email:
|
15
17
|
- i.yuuya@gmail.com
|
18
|
+
- gemmaro.dev@gmail.com
|
16
19
|
executables: []
|
17
20
|
extensions: []
|
18
21
|
extra_rdoc_files: []
|
19
22
|
files:
|
23
|
+
- ".envrc"
|
20
24
|
- ".github/workflows/ci.yml"
|
21
25
|
- ".gitignore"
|
22
26
|
- ".hound.yml"
|
23
27
|
- ".rspec"
|
24
28
|
- ".rubocop.yml"
|
25
29
|
- ".rubocop_todo.yml"
|
30
|
+
- ".yardopts"
|
26
31
|
- CHANGELOG.md
|
27
32
|
- Gemfile
|
28
33
|
- Guardfile
|
@@ -30,6 +35,7 @@ files:
|
|
30
35
|
- README.en.md
|
31
36
|
- README.md
|
32
37
|
- Rakefile
|
38
|
+
- bench.rb
|
33
39
|
- bin/console
|
34
40
|
- bin/setup
|
35
41
|
- jkf.gemspec
|
@@ -50,13 +56,15 @@ files:
|
|
50
56
|
- manifest.scm
|
51
57
|
- po/all.pot
|
52
58
|
- po/en.po
|
59
|
+
- po/en.rdoc.po
|
53
60
|
- po4a.cfg
|
54
61
|
homepage: https://github.com/iyuuya/jkf
|
55
62
|
licenses:
|
56
63
|
- MIT
|
57
64
|
metadata:
|
58
65
|
rubygems_mfa_required: 'true'
|
59
|
-
|
66
|
+
documentation_uri: https://www.rubydoc.info/gems/jkf
|
67
|
+
post_install_message:
|
60
68
|
rdoc_options: []
|
61
69
|
require_paths:
|
62
70
|
- lib
|
@@ -64,15 +72,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
64
72
|
requirements:
|
65
73
|
- - ">="
|
66
74
|
- !ruby/object:Gem::Version
|
67
|
-
version: '
|
75
|
+
version: '3.0'
|
68
76
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
69
77
|
requirements:
|
70
78
|
- - ">="
|
71
79
|
- !ruby/object:Gem::Version
|
72
80
|
version: '0'
|
73
81
|
requirements: []
|
74
|
-
rubygems_version: 3.
|
75
|
-
signing_key:
|
82
|
+
rubygems_version: 3.3.26
|
83
|
+
signing_key:
|
76
84
|
specification_version: 4
|
77
|
-
summary:
|
85
|
+
summary: Shogi formats parser and converter
|
78
86
|
test_files: []
|