Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pandanote-info/8c96853f8f0f7a3c44e49fb14d91e380 to your computer and use it in GitHub Desktop.
Save pandanote-info/8c96853f8f0f7a3c44e49fb14d91e380 to your computer and use it in GitHub Desktop.
kuromojiに最新のNEologdを組み込むためのパッチ(2/2)
--- /dev/null 2020-06-19 08:45:04.478343399 +0900
+++ kuromoji/kuromoji-ipadic-neologd/dictionary/mecab-ipadic-neologd/misc/patch/Noun.proper.reiwa.csv 2020-06-19 14:27:02.321778120 +0900
@@ -0,0 +1 @@
+令和,1288,1288,5904,名詞,固有名詞,一般,*,*,*,令和,レイワ,レイワ
--- kuromoji/kuromoji-ipadic-neologd/dictionary/mecab-ipadic-neologd/libexec/make-mecab-ipadic-neologd.sh.ORG 2020-06-19 14:37:24.771121187 +0900
+++ kuromoji/kuromoji-ipadic-neologd/dictionary/mecab-ipadic-neologd/libexec/make-mecab-ipadic-neologd.sh 2020-06-19 12:27:44.056021722 +0900
@@ -227,6 +227,8 @@
patch < ${BASEDIR}/../misc/patch/Noun.csv.20170317.diff
patch < ${BASEDIR}/../misc/patch/Noun.name.csv.20170317.diff
+cat ${BASEDIR}/../misc/patch/Noun.proper.reiwa.csv >> Noun.proper.csv
+
echo "${ECHO_PREFIX} Copy user dictionary resource"
SEED_FILE_NAME=mecab-user-dict-seed.${YMD}.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment