質問編集履歴

2

使ったコミットを追記

2020/09/15 07:35

投稿

matsu1985
matsu1985

スコア0

test CHANGED
File without changes
test CHANGED
@@ -255,3 +255,9 @@
255
255
  UTF-8
256
256
 
257
257
  102
258
+
259
+
260
+
261
+ 使ったコミット
262
+
263
+ https://github.com/neologd/mecab-ipadic-neologd/commit/45315fdad28456d3e98d5b36bea46a8010235cac

1

辞書のバージョン等追記

2020/09/15 07:35

投稿

matsu1985
matsu1985

スコア0

test CHANGED
File without changes
test CHANGED
@@ -214,6 +214,44 @@
214
214
 
215
215
  ### 補足情報(FW/ツールのバージョンなど)
216
216
 
217
-
217
+ 追記
218
+
218
-
219
+ ```
220
+
221
+ import MeCab
222
+
223
+ tagger = MeCab.Tagger('-d C:\ProgramData\Mecab\dic\ipadic-neologd')
224
+
225
+ info = tagger.dictionary_info()
226
+
227
+ print('neologd')
228
+
219
- ここにより詳細な情報を記載してください。
229
+ print(info.charset)
230
+
231
+ print(info.version)
232
+
233
+ print('ipadic')
234
+
235
+ tagger = MeCab.Tagger('-d C:\ProgramData\Mecab\dic\ipadic')
236
+
237
+ info = tagger.dictionary_info()
238
+
239
+ print(info.charset)
240
+
241
+ print(info.version)
242
+
243
+ ```
244
+
245
+ ↓出力結果
246
+
247
+ neologd
248
+
249
+ -utf-8
250
+
251
+ 102
252
+
253
+ ipadic
254
+
255
+ UTF-8
256
+
257
+ 102