From 378cfdd6a606201388cd122ea6a242f2eada47fc Mon Sep 17 00:00:00 2001 From: Itsuki Toyota Date: Mon, 12 Feb 2018 20:32:41 +0900 Subject: [PATCH] 0.0.6 --- .gitignore | 4 ++++ Changes | 43 ++++++++++++++++++++++++++++++++++++ META6.json | 2 +- lib/MeCab.pm6 | 4 ++-- lib/MeCab/DictionaryInfo.pm6 | 2 +- lib/MeCab/Lattice.pm6 | 2 +- lib/MeCab/Model.pm6 | 2 +- lib/MeCab/Tagger.pm6 | 2 +- 8 files changed, 54 insertions(+), 7 deletions(-) create mode 100644 Changes diff --git a/.gitignore b/.gitignore index 9a38d39..7568d06 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,7 @@ /resources/*.so /resources/*.dylib .precomp/ +/mecab-ipadic* +/mecab-* +*.so +*~ \ No newline at end of file diff --git a/Changes b/Changes new file mode 100644 index 0000000..ae4ceb6 --- /dev/null +++ b/Changes @@ -0,0 +1,43 @@ +Revision history for MeCab + +{{$NEXT}} + +0.0.6 2018-02-12T20:31:45+09:00 + - Fixes: + - Fix constructor to introduce 3rd-party dictionary such as mecab-ipadic-neologd [#19] + - Additions: + - Add description to introduce mecab-ipadic-neologd [#19] + - Efficiency: + +0.0.5: + - Fixes: + - Use %vars instead of if-else [#13] + - Use SPDX identifier in license field of META6.json [#14] + - Use zef instead of panda [#16] + - Additions: + - Efficiency: + +0.0.4: + - Fixes: + - Delete both all-begin-nodes and all-end-nodes method, because they call internal functions + - Add MeCab::Lattice.begin-nodes and MeCab::Lattice.end-nodes methods + - Additions: + - Efficiency: + +0.0.3: + - Fixes: + - Fix some typos + - Improve the documentation + - Make MeCab::Tagger.new multi method + - Additions: + - Efficiency: + +0.0.2: + - Fixes: + - Fix some typos + - Make patch license more clearly + - Additions: + - Efficiency: + +0.0.1: + - Initial release diff --git a/META6.json b/META6.json index a3fe5e3..f505755 100644 --- a/META6.json +++ b/META6.json @@ -23,5 +23,5 @@ "source-url" : "git://github.com/titsuki/p6-MeCab.git", "tags" : [ ], "test-depends" : [ ], - "version" : "0.0.5" + "version" : "0.0.6" } diff --git a/lib/MeCab.pm6 b/lib/MeCab.pm6 index 66e0b30..e046a42 100644 --- a/lib/MeCab.pm6 +++ b/lib/MeCab.pm6 @@ -3,8 +3,8 @@ use NativeCall; my constant $library = %?RESOURCES.Str; -class MeCab::Path is repr('CStruct') { ... } -class MeCab::Node is repr('CStruct') is export { +class MeCab::Path:auth:ver<0.0.6> is repr('CStruct') { ... } +class MeCab::Node:auth:ver<0.0.6> is repr('CStruct') is export { enum Stat is export ( :MECAB_NOR_NODE(0), :MECAB_UNK_NODE(1), diff --git a/lib/MeCab/DictionaryInfo.pm6 b/lib/MeCab/DictionaryInfo.pm6 index 91f5717..d69fe81 100644 --- a/lib/MeCab/DictionaryInfo.pm6 +++ b/lib/MeCab/DictionaryInfo.pm6 @@ -1,5 +1,5 @@ use v6; -unit class MeCab::DictionaryInfo is repr('CStruct'); +unit class MeCab::DictionaryInfo:auth:ver<0.0.6> is repr('CStruct'); enum DictionaryInfoType is export ( :MECAB_SYS_DIC(0), diff --git a/lib/MeCab/Lattice.pm6 b/lib/MeCab/Lattice.pm6 index 4dd6d43..e365f82 100644 --- a/lib/MeCab/Lattice.pm6 +++ b/lib/MeCab/Lattice.pm6 @@ -2,7 +2,7 @@ use v6; use NativeCall; use experimental :pack; -unit class MeCab::Lattice is repr('CPointer'); +unit class MeCab::Lattice:auth:ver<0.0.6> is repr('CPointer'); use MeCab; diff --git a/lib/MeCab/Model.pm6 b/lib/MeCab/Model.pm6 index 699cdfd..659dc2e 100644 --- a/lib/MeCab/Model.pm6 +++ b/lib/MeCab/Model.pm6 @@ -1,5 +1,5 @@ use v6; -unit class MeCab::Model is repr('CPointer'); +unit class MeCab::Model:auth:ver<0.0.6> is repr('CPointer'); use NativeCall; use MeCab::Tagger; diff --git a/lib/MeCab/Tagger.pm6 b/lib/MeCab/Tagger.pm6 index 54eb20e..24d1c5e 100644 --- a/lib/MeCab/Tagger.pm6 +++ b/lib/MeCab/Tagger.pm6 @@ -1,5 +1,5 @@ use v6; -unit class MeCab::Tagger is repr('CPointer'); +unit class MeCab::Tagger:auth:ver<0.0.6> is repr('CPointer'); use NativeCall; use MeCab;