rroonga 5.1.1-x64-mingw32 → 6.0.0-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/bin/grndump +9 -0
- data/doc/text/cross-compile.md +72 -0
- data/doc/text/install.md +121 -0
- data/doc/text/news.md +1451 -0
- data/doc/text/release.md +135 -0
- data/doc/text/tutorial.md +402 -0
- data/ext/groonga/rb-grn-column.c +54 -24
- data/ext/groonga/rb-grn-config.c +131 -10
- data/ext/groonga/rb-grn-context.c +0 -10
- data/ext/groonga/rb-grn-encoding.c +0 -2
- data/ext/groonga/rb-grn-expression.c +63 -3
- data/ext/groonga/rb-grn-index.c +34 -0
- data/ext/groonga/rb-grn-object.c +10 -10
- data/ext/groonga/rb-grn-operator.c +7 -0
- data/ext/groonga/rb-grn-plugin.c +39 -0
- data/ext/groonga/rb-grn-utils.c +5 -65
- data/ext/groonga/rb-grn.h +9 -9
- data/ext/groonga/rb-groonga.c +31 -1
- data/lib/2.1/groonga.so +0 -0
- data/lib/2.2/groonga.so +0 -0
- data/lib/2.3/groonga.so +0 -0
- data/lib/groonga.rb +1 -0
- data/lib/groonga/column.rb +13 -0
- data/lib/groonga/dumper.rb +3 -1
- data/lib/groonga/expression-builder.rb +66 -18
- data/lib/groonga/{expression-builder-19.rb → index.rb} +11 -19
- data/lib/groonga/record.rb +1 -1
- data/lib/rroonga.rb +16 -0
- data/rroonga-build.rb +6 -6
- data/rroonga.gemspec +1 -1
- data/test/groonga-test-utils.rb +0 -8
- data/test/test-column.rb +107 -1
- data/test/test-config.rb +18 -0
- data/test/test-database.rb +0 -2
- data/test/test-error-message.rb +20 -0
- data/test/test-expression-builder.rb +172 -29
- data/test/test-plugin.rb +25 -1
- data/test/test-table-dumper.rb +35 -6
- data/test/test-table-select.rb +0 -1
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgcc_s_seh-1.dll +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-2.dll +0 -0
- data/vendor/local/bin/libmsgpack-4.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/libonig-5.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/lz4cat +0 -0
- data/vendor/local/bin/mecab-config +5 -5
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/onig-config +1 -1
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
- data/vendor/local/include/groonga/groonga.h +16 -11
- data/vendor/local/include/groonga/groonga/array.h +76 -0
- data/vendor/local/include/groonga/groonga/command.h +3 -5
- data/vendor/local/include/groonga/groonga/config.h +65 -0
- data/vendor/local/include/groonga/groonga/dat.h +100 -0
- data/vendor/local/include/groonga/groonga/dump.h +34 -0
- data/vendor/local/include/groonga/groonga/expr.h +21 -16
- data/vendor/local/include/groonga/groonga/file_reader.h +2 -5
- data/vendor/local/include/groonga/groonga/geo.h +2 -5
- data/vendor/local/include/groonga/groonga/groonga.h +28 -270
- data/vendor/local/include/groonga/groonga/hash.h +89 -0
- data/vendor/local/include/groonga/groonga/ii.h +3 -5
- data/vendor/local/include/groonga/groonga/nfkc.h +4 -5
- data/vendor/local/include/groonga/groonga/normalizer.h +3 -5
- data/vendor/local/include/groonga/groonga/obj.h +7 -5
- data/vendor/local/include/groonga/groonga/output.h +3 -5
- data/vendor/local/include/groonga/groonga/pat.h +102 -0
- data/vendor/local/include/groonga/groonga/plugin.h +29 -12
- data/vendor/local/include/groonga/groonga/portability.h +3 -5
- data/vendor/local/include/groonga/groonga/request_canceler.h +2 -5
- data/vendor/local/include/groonga/groonga/scorer.h +3 -5
- data/vendor/local/include/groonga/groonga/thread.h +2 -5
- data/vendor/local/include/groonga/groonga/token.h +5 -6
- data/vendor/local/include/groonga/groonga/token_filter.h +3 -5
- data/vendor/local/include/groonga/groonga/tokenizer.h +3 -5
- data/vendor/local/include/groonga/groonga/type.h +31 -0
- data/vendor/local/include/groonga/groonga/util.h +3 -5
- data/vendor/local/include/groonga/groonga/windows.h +2 -5
- data/vendor/local/include/groonga/groonga/windows_event_logger.h +2 -5
- data/vendor/local/include/mecab.h +1336 -96
- data/vendor/local/include/msgpack.h +3 -11
- data/vendor/local/include/msgpack.hpp +4 -11
- data/vendor/local/include/msgpack/adaptor/adaptor_base.hpp +84 -0
- data/vendor/local/include/msgpack/adaptor/array_ref.hpp +174 -0
- data/vendor/local/include/msgpack/adaptor/bool.hpp +41 -33
- data/vendor/local/include/msgpack/adaptor/boost/fusion.hpp +160 -0
- data/vendor/local/include/msgpack/adaptor/boost/msgpack_variant.hpp +430 -0
- data/vendor/local/include/msgpack/adaptor/boost/optional.hpp +96 -0
- data/vendor/local/include/msgpack/adaptor/boost/string_ref.hpp +87 -0
- data/vendor/local/include/msgpack/adaptor/char_ptr.hpp +132 -53
- data/vendor/local/include/msgpack/adaptor/check_container_size.hpp +18 -12
- data/vendor/local/include/msgpack/adaptor/cpp11/array.hpp +106 -44
- data/vendor/local/include/msgpack/adaptor/cpp11/array_char.hpp +59 -54
- data/vendor/local/include/msgpack/adaptor/cpp11/array_unsigned_char.hpp +89 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/forward_list.hpp +65 -46
- data/vendor/local/include/msgpack/adaptor/cpp11/reference_wrapper.hpp +68 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/shared_ptr.hpp +82 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/tuple.hpp +88 -64
- data/vendor/local/include/msgpack/adaptor/cpp11/unique_ptr.hpp +82 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/unordered_map.hpp +151 -111
- data/vendor/local/include/msgpack/adaptor/cpp11/unordered_set.hpp +142 -104
- data/vendor/local/include/msgpack/adaptor/define.hpp +15 -13
- data/vendor/local/include/msgpack/adaptor/deque.hpp +78 -53
- data/vendor/local/include/msgpack/adaptor/detail/{cpp03_define.hpp → cpp03_define_array.hpp} +225 -210
- data/vendor/local/include/msgpack/adaptor/detail/cpp03_define_map.hpp +2791 -0
- data/vendor/local/include/msgpack/adaptor/detail/cpp03_msgpack_tuple.hpp +3070 -3079
- data/vendor/local/include/msgpack/adaptor/detail/{cpp11_define.hpp → cpp11_define_array.hpp} +71 -62
- data/vendor/local/include/msgpack/adaptor/detail/cpp11_define_map.hpp +163 -0
- data/vendor/local/include/msgpack/adaptor/detail/cpp11_msgpack_tuple.hpp +105 -42
- data/vendor/local/include/msgpack/adaptor/ext.hpp +237 -0
- data/vendor/local/include/msgpack/adaptor/fixint.hpp +178 -92
- data/vendor/local/include/msgpack/adaptor/float.hpp +87 -69
- data/vendor/local/include/msgpack/adaptor/int.hpp +243 -123
- data/vendor/local/include/msgpack/adaptor/list.hpp +76 -53
- data/vendor/local/include/msgpack/adaptor/map.hpp +244 -157
- data/vendor/local/include/msgpack/adaptor/msgpack_tuple.hpp +3 -11
- data/vendor/local/include/msgpack/adaptor/nil.hpp +45 -29
- data/vendor/local/include/msgpack/adaptor/pair.hpp +58 -38
- data/vendor/local/include/msgpack/adaptor/raw.hpp +47 -39
- data/vendor/local/include/msgpack/adaptor/set.hpp +156 -102
- data/vendor/local/include/msgpack/adaptor/string.hpp +58 -50
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_map.hpp +120 -113
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_set.hpp +114 -106
- data/vendor/local/include/msgpack/adaptor/v4raw.hpp +106 -0
- data/vendor/local/include/msgpack/adaptor/vector.hpp +94 -60
- data/vendor/local/include/msgpack/adaptor/vector_bool.hpp +59 -51
- data/vendor/local/include/msgpack/adaptor/vector_char.hpp +62 -54
- data/vendor/local/include/msgpack/adaptor/vector_unsigned_char.hpp +89 -0
- data/vendor/local/include/msgpack/cpp_config.hpp +37 -22
- data/vendor/local/include/msgpack/detail/cpp03_zone.hpp +17 -11
- data/vendor/local/include/msgpack/detail/cpp11_zone.hpp +19 -19
- data/vendor/local/include/msgpack/fbuffer.h +3 -11
- data/vendor/local/include/msgpack/fbuffer.hpp +7 -11
- data/vendor/local/include/msgpack/gcc_atomic.h +3 -11
- data/vendor/local/include/msgpack/iterator.hpp +9 -13
- data/vendor/local/include/msgpack/meta.hpp +51 -0
- data/vendor/local/include/msgpack/object.h +3 -11
- data/vendor/local/include/msgpack/object.hpp +390 -290
- data/vendor/local/include/msgpack/object_fwd.hpp +57 -44
- data/vendor/local/include/msgpack/pack.h +6 -12
- data/vendor/local/include/msgpack/pack.hpp +58 -30
- data/vendor/local/include/msgpack/pack_define.h +3 -11
- data/vendor/local/include/msgpack/pack_template.h +35 -15
- data/vendor/local/include/msgpack/predef.h +19 -0
- data/vendor/local/include/msgpack/predef/architecture.h +30 -0
- data/vendor/local/include/msgpack/predef/architecture/alpha.h +60 -0
- data/vendor/local/include/msgpack/predef/architecture/arm.h +71 -0
- data/vendor/local/include/msgpack/predef/architecture/blackfin.h +47 -0
- data/vendor/local/include/msgpack/predef/architecture/convex.h +67 -0
- data/vendor/local/include/msgpack/predef/architecture/ia64.h +49 -0
- data/vendor/local/include/msgpack/predef/architecture/m68k.h +83 -0
- data/vendor/local/include/msgpack/predef/architecture/mips.h +74 -0
- data/vendor/local/include/msgpack/predef/architecture/parisc.h +65 -0
- data/vendor/local/include/msgpack/predef/architecture/ppc.h +73 -0
- data/vendor/local/include/msgpack/predef/architecture/pyramid.h +43 -0
- data/vendor/local/include/msgpack/predef/architecture/rs6k.h +56 -0
- data/vendor/local/include/msgpack/predef/architecture/sparc.h +55 -0
- data/vendor/local/include/msgpack/predef/architecture/superh.h +68 -0
- data/vendor/local/include/msgpack/predef/architecture/sys370.h +44 -0
- data/vendor/local/include/msgpack/predef/architecture/sys390.h +44 -0
- data/vendor/local/include/msgpack/predef/architecture/x86.h +38 -0
- data/vendor/local/include/msgpack/predef/architecture/x86/32.h +87 -0
- data/vendor/local/include/msgpack/predef/architecture/x86/64.h +50 -0
- data/vendor/local/include/msgpack/predef/architecture/z.h +43 -0
- data/vendor/local/include/msgpack/predef/compiler.h +41 -0
- data/vendor/local/include/msgpack/predef/compiler/borland.h +64 -0
- data/vendor/local/include/msgpack/predef/compiler/clang.h +57 -0
- data/vendor/local/include/msgpack/predef/compiler/comeau.h +62 -0
- data/vendor/local/include/msgpack/predef/compiler/compaq.h +67 -0
- data/vendor/local/include/msgpack/predef/compiler/diab.h +57 -0
- data/vendor/local/include/msgpack/predef/compiler/digitalmars.h +57 -0
- data/vendor/local/include/msgpack/predef/compiler/dignus.h +57 -0
- data/vendor/local/include/msgpack/predef/compiler/edg.h +57 -0
- data/vendor/local/include/msgpack/predef/compiler/ekopath.h +58 -0
- data/vendor/local/include/msgpack/predef/compiler/gcc.h +69 -0
- data/vendor/local/include/msgpack/predef/compiler/gcc_xml.h +53 -0
- data/vendor/local/include/msgpack/predef/compiler/greenhills.h +67 -0
- data/vendor/local/include/msgpack/predef/compiler/hp_acc.h +62 -0
- data/vendor/local/include/msgpack/predef/compiler/iar.h +57 -0
- data/vendor/local/include/msgpack/predef/compiler/ibm.h +73 -0
- data/vendor/local/include/msgpack/predef/compiler/intel.h +66 -0
- data/vendor/local/include/msgpack/predef/compiler/kai.h +57 -0
- data/vendor/local/include/msgpack/predef/compiler/llvm.h +58 -0
- data/vendor/local/include/msgpack/predef/compiler/metaware.h +54 -0
- data/vendor/local/include/msgpack/predef/compiler/metrowerks.h +78 -0
- data/vendor/local/include/msgpack/predef/compiler/microtec.h +54 -0
- data/vendor/local/include/msgpack/predef/compiler/mpw.h +64 -0
- data/vendor/local/include/msgpack/predef/compiler/palm.h +57 -0
- data/vendor/local/include/msgpack/predef/compiler/pgi.h +61 -0
- data/vendor/local/include/msgpack/predef/compiler/sgi_mipspro.h +67 -0
- data/vendor/local/include/msgpack/predef/compiler/sunpro.h +67 -0
- data/vendor/local/include/msgpack/predef/compiler/tendra.h +54 -0
- data/vendor/local/include/msgpack/predef/compiler/visualc.h +92 -0
- data/vendor/local/include/msgpack/predef/compiler/watcom.h +57 -0
- data/vendor/local/include/msgpack/predef/detail/_cassert.h +17 -0
- data/vendor/local/include/msgpack/predef/detail/_exception.h +15 -0
- data/vendor/local/include/msgpack/predef/detail/comp_detected.h +10 -0
- data/vendor/local/include/msgpack/predef/detail/endian_compat.h +26 -0
- data/vendor/local/include/msgpack/predef/detail/os_detected.h +10 -0
- data/vendor/local/include/msgpack/predef/detail/platform_detected.h +10 -0
- data/vendor/local/include/msgpack/predef/detail/test.h +17 -0
- data/vendor/local/include/msgpack/predef/language.h +15 -0
- data/vendor/local/include/msgpack/predef/language/objc.h +43 -0
- data/vendor/local/include/msgpack/predef/language/stdc.h +54 -0
- data/vendor/local/include/msgpack/predef/language/stdcpp.h +124 -0
- data/vendor/local/include/msgpack/predef/library.h +14 -0
- data/vendor/local/include/msgpack/predef/library/c.h +18 -0
- data/vendor/local/include/msgpack/predef/library/c/_prefix.h +13 -0
- data/vendor/local/include/msgpack/predef/library/c/gnu.h +62 -0
- data/vendor/local/include/msgpack/predef/library/c/uc.h +48 -0
- data/vendor/local/include/msgpack/predef/library/c/vms.h +48 -0
- data/vendor/local/include/msgpack/predef/library/c/zos.h +57 -0
- data/vendor/local/include/msgpack/predef/library/std.h +23 -0
- data/vendor/local/include/msgpack/predef/library/std/_prefix.h +23 -0
- data/vendor/local/include/msgpack/predef/library/std/cxx.h +47 -0
- data/vendor/local/include/msgpack/predef/library/std/dinkumware.h +53 -0
- data/vendor/local/include/msgpack/predef/library/std/libcomo.h +48 -0
- data/vendor/local/include/msgpack/predef/library/std/modena.h +46 -0
- data/vendor/local/include/msgpack/predef/library/std/msl.h +54 -0
- data/vendor/local/include/msgpack/predef/library/std/roguewave.h +57 -0
- data/vendor/local/include/msgpack/predef/library/std/sgi.h +52 -0
- data/vendor/local/include/msgpack/predef/library/std/stdcpp3.h +54 -0
- data/vendor/local/include/msgpack/predef/library/std/stlport.h +60 -0
- data/vendor/local/include/msgpack/predef/library/std/vacpp.h +45 -0
- data/vendor/local/include/msgpack/predef/make.h +89 -0
- data/vendor/local/include/msgpack/predef/os.h +31 -0
- data/vendor/local/include/msgpack/predef/os/aix.h +67 -0
- data/vendor/local/include/msgpack/predef/os/amigaos.h +47 -0
- data/vendor/local/include/msgpack/predef/os/android.h +46 -0
- data/vendor/local/include/msgpack/predef/os/beos.h +46 -0
- data/vendor/local/include/msgpack/predef/os/bsd.h +95 -0
- data/vendor/local/include/msgpack/predef/os/bsd/bsdi.h +48 -0
- data/vendor/local/include/msgpack/predef/os/bsd/dragonfly.h +50 -0
- data/vendor/local/include/msgpack/predef/os/bsd/free.h +60 -0
- data/vendor/local/include/msgpack/predef/os/bsd/net.h +84 -0
- data/vendor/local/include/msgpack/predef/os/bsd/open.h +171 -0
- data/vendor/local/include/msgpack/predef/os/cygwin.h +46 -0
- data/vendor/local/include/msgpack/predef/os/haiku.h +47 -0
- data/vendor/local/include/msgpack/predef/os/hpux.h +48 -0
- data/vendor/local/include/msgpack/predef/os/ios.h +51 -0
- data/vendor/local/include/msgpack/predef/os/irix.h +47 -0
- data/vendor/local/include/msgpack/predef/os/linux.h +47 -0
- data/vendor/local/include/msgpack/predef/os/macos.h +66 -0
- data/vendor/local/include/msgpack/predef/os/os400.h +46 -0
- data/vendor/local/include/msgpack/predef/os/qnxnto.h +60 -0
- data/vendor/local/include/msgpack/predef/os/solaris.h +47 -0
- data/vendor/local/include/msgpack/predef/os/unix.h +76 -0
- data/vendor/local/include/msgpack/predef/os/vms.h +53 -0
- data/vendor/local/include/msgpack/predef/os/windows.h +51 -0
- data/vendor/local/include/msgpack/predef/other.h +14 -0
- data/vendor/local/include/msgpack/predef/other/endian.h +205 -0
- data/vendor/local/include/msgpack/predef/platform.h +19 -0
- data/vendor/local/include/msgpack/predef/platform/mingw.h +70 -0
- data/vendor/local/include/msgpack/predef/platform/windows_desktop.h +44 -0
- data/vendor/local/include/msgpack/predef/platform/windows_phone.h +42 -0
- data/vendor/local/include/msgpack/predef/platform/windows_runtime.h +44 -0
- data/vendor/local/include/msgpack/predef/platform/windows_store.h +42 -0
- data/vendor/local/include/msgpack/predef/version.h +15 -0
- data/vendor/local/include/msgpack/predef/version_number.h +54 -0
- data/vendor/local/include/msgpack/preprocessor.hpp +19 -0
- data/vendor/local/include/msgpack/preprocessor/arithmetic.hpp +25 -0
- data/vendor/local/include/msgpack/preprocessor/arithmetic/add.hpp +51 -0
- data/vendor/local/include/msgpack/preprocessor/arithmetic/dec.hpp +288 -0
- data/vendor/local/include/msgpack/preprocessor/arithmetic/detail/div_base.hpp +61 -0
- data/vendor/local/include/msgpack/preprocessor/arithmetic/div.hpp +39 -0
- data/vendor/local/include/msgpack/preprocessor/arithmetic/inc.hpp +288 -0
- data/vendor/local/include/msgpack/preprocessor/arithmetic/mod.hpp +39 -0
- data/vendor/local/include/msgpack/preprocessor/arithmetic/mul.hpp +53 -0
- data/vendor/local/include/msgpack/preprocessor/arithmetic/sub.hpp +50 -0
- data/vendor/local/include/msgpack/preprocessor/array.hpp +32 -0
- data/vendor/local/include/msgpack/preprocessor/array/data.hpp +28 -0
- data/vendor/local/include/msgpack/preprocessor/array/detail/get_data.hpp +55 -0
- data/vendor/local/include/msgpack/preprocessor/array/elem.hpp +29 -0
- data/vendor/local/include/msgpack/preprocessor/array/enum.hpp +33 -0
- data/vendor/local/include/msgpack/preprocessor/array/insert.hpp +55 -0
- data/vendor/local/include/msgpack/preprocessor/array/pop_back.hpp +37 -0
- data/vendor/local/include/msgpack/preprocessor/array/pop_front.hpp +38 -0
- data/vendor/local/include/msgpack/preprocessor/array/push_back.hpp +35 -0
- data/vendor/local/include/msgpack/preprocessor/array/push_front.hpp +35 -0
- data/vendor/local/include/msgpack/preprocessor/array/remove.hpp +54 -0
- data/vendor/local/include/msgpack/preprocessor/array/replace.hpp +49 -0
- data/vendor/local/include/msgpack/preprocessor/array/reverse.hpp +29 -0
- data/vendor/local/include/msgpack/preprocessor/array/size.hpp +28 -0
- data/vendor/local/include/msgpack/preprocessor/array/to_list.hpp +47 -0
- data/vendor/local/include/msgpack/preprocessor/array/to_seq.hpp +46 -0
- data/vendor/local/include/msgpack/preprocessor/array/to_tuple.hpp +33 -0
- data/vendor/local/include/msgpack/preprocessor/assert_msg.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/cat.hpp +35 -0
- data/vendor/local/include/msgpack/preprocessor/comma.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/comma_if.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/comparison.hpp +24 -0
- data/vendor/local/include/msgpack/preprocessor/comparison/equal.hpp +34 -0
- data/vendor/local/include/msgpack/preprocessor/comparison/greater.hpp +38 -0
- data/vendor/local/include/msgpack/preprocessor/comparison/greater_equal.hpp +38 -0
- data/vendor/local/include/msgpack/preprocessor/comparison/less.hpp +46 -0
- data/vendor/local/include/msgpack/preprocessor/comparison/less_equal.hpp +39 -0
- data/vendor/local/include/msgpack/preprocessor/comparison/not_equal.hpp +814 -0
- data/vendor/local/include/msgpack/preprocessor/config/config.hpp +101 -0
- data/vendor/local/include/msgpack/preprocessor/config/limits.hpp +30 -0
- data/vendor/local/include/msgpack/preprocessor/control.hpp +22 -0
- data/vendor/local/include/msgpack/preprocessor/control/deduce_d.hpp +22 -0
- data/vendor/local/include/msgpack/preprocessor/control/detail/dmc/while.hpp +536 -0
- data/vendor/local/include/msgpack/preprocessor/control/detail/edg/while.hpp +534 -0
- data/vendor/local/include/msgpack/preprocessor/control/detail/msvc/while.hpp +277 -0
- data/vendor/local/include/msgpack/preprocessor/control/detail/while.hpp +536 -0
- data/vendor/local/include/msgpack/preprocessor/control/expr_if.hpp +30 -0
- data/vendor/local/include/msgpack/preprocessor/control/expr_iif.hpp +31 -0
- data/vendor/local/include/msgpack/preprocessor/control/if.hpp +30 -0
- data/vendor/local/include/msgpack/preprocessor/control/iif.hpp +34 -0
- data/vendor/local/include/msgpack/preprocessor/control/while.hpp +312 -0
- data/vendor/local/include/msgpack/preprocessor/debug.hpp +18 -0
- data/vendor/local/include/msgpack/preprocessor/debug/assert.hpp +44 -0
- data/vendor/local/include/msgpack/preprocessor/debug/error.hpp +33 -0
- data/vendor/local/include/msgpack/preprocessor/debug/line.hpp +35 -0
- data/vendor/local/include/msgpack/preprocessor/dec.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/detail/auto_rec.hpp +293 -0
- data/vendor/local/include/msgpack/preprocessor/detail/check.hpp +48 -0
- data/vendor/local/include/msgpack/preprocessor/detail/dmc/auto_rec.hpp +286 -0
- data/vendor/local/include/msgpack/preprocessor/detail/is_binary.hpp +30 -0
- data/vendor/local/include/msgpack/preprocessor/detail/is_nullary.hpp +30 -0
- data/vendor/local/include/msgpack/preprocessor/detail/is_unary.hpp +30 -0
- data/vendor/local/include/msgpack/preprocessor/detail/null.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/detail/split.hpp +35 -0
- data/vendor/local/include/msgpack/preprocessor/empty.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/enum.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/enum_params.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/enum_params_with_a_default.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/enum_params_with_defaults.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/enum_shifted.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/enum_shifted_params.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/expand.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/expr_if.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/facilities.hpp +23 -0
- data/vendor/local/include/msgpack/preprocessor/facilities/apply.hpp +34 -0
- data/vendor/local/include/msgpack/preprocessor/facilities/detail/is_empty.hpp +55 -0
- data/vendor/local/include/msgpack/preprocessor/facilities/empty.hpp +23 -0
- data/vendor/local/include/msgpack/preprocessor/facilities/expand.hpp +28 -0
- data/vendor/local/include/msgpack/preprocessor/facilities/identity.hpp +23 -0
- data/vendor/local/include/msgpack/preprocessor/facilities/intercept.hpp +277 -0
- data/vendor/local/include/msgpack/preprocessor/facilities/is_1.hpp +23 -0
- data/vendor/local/include/msgpack/preprocessor/facilities/is_empty.hpp +56 -0
- data/vendor/local/include/msgpack/preprocessor/facilities/is_empty_or_1.hpp +31 -0
- data/vendor/local/include/msgpack/preprocessor/facilities/is_empty_variadic.hpp +57 -0
- data/vendor/local/include/msgpack/preprocessor/facilities/overload.hpp +25 -0
- data/vendor/local/include/msgpack/preprocessor/for.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/identity.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/if.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/inc.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/iterate.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/iteration.hpp +19 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/lower1.hpp +99 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/lower2.hpp +99 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/lower3.hpp +99 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/lower4.hpp +99 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/lower5.hpp +99 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/upper1.hpp +99 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/upper2.hpp +99 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/upper3.hpp +99 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/upper4.hpp +99 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/upper5.hpp +99 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/finish.hpp +99 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/forward1.hpp +1342 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/forward2.hpp +1338 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/forward3.hpp +1338 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/forward4.hpp +1338 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/forward5.hpp +1338 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/reverse1.hpp +1296 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/reverse2.hpp +1296 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/reverse3.hpp +1296 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/reverse4.hpp +1296 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/reverse5.hpp +1296 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/local.hpp +812 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/rlocal.hpp +782 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/self.hpp +21 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/start.hpp +99 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/iterate.hpp +82 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/local.hpp +26 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/self.hpp +19 -0
- data/vendor/local/include/msgpack/preprocessor/library.hpp +36 -0
- data/vendor/local/include/msgpack/preprocessor/limits.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/list.hpp +37 -0
- data/vendor/local/include/msgpack/preprocessor/list/adt.hpp +73 -0
- data/vendor/local/include/msgpack/preprocessor/list/append.hpp +40 -0
- data/vendor/local/include/msgpack/preprocessor/list/at.hpp +39 -0
- data/vendor/local/include/msgpack/preprocessor/list/cat.hpp +42 -0
- data/vendor/local/include/msgpack/preprocessor/list/detail/dmc/fold_left.hpp +279 -0
- data/vendor/local/include/msgpack/preprocessor/list/detail/edg/fold_left.hpp +536 -0
- data/vendor/local/include/msgpack/preprocessor/list/detail/edg/fold_right.hpp +794 -0
- data/vendor/local/include/msgpack/preprocessor/list/detail/fold_left.hpp +279 -0
- data/vendor/local/include/msgpack/preprocessor/list/detail/fold_right.hpp +277 -0
- data/vendor/local/include/msgpack/preprocessor/list/enum.hpp +41 -0
- data/vendor/local/include/msgpack/preprocessor/list/filter.hpp +54 -0
- data/vendor/local/include/msgpack/preprocessor/list/first_n.hpp +58 -0
- data/vendor/local/include/msgpack/preprocessor/list/fold_left.hpp +303 -0
- data/vendor/local/include/msgpack/preprocessor/list/fold_right.hpp +40 -0
- data/vendor/local/include/msgpack/preprocessor/list/for_each.hpp +49 -0
- data/vendor/local/include/msgpack/preprocessor/list/for_each_i.hpp +65 -0
- data/vendor/local/include/msgpack/preprocessor/list/for_each_product.hpp +141 -0
- data/vendor/local/include/msgpack/preprocessor/list/rest_n.hpp +55 -0
- data/vendor/local/include/msgpack/preprocessor/list/reverse.hpp +40 -0
- data/vendor/local/include/msgpack/preprocessor/list/size.hpp +58 -0
- data/vendor/local/include/msgpack/preprocessor/list/to_array.hpp +155 -0
- data/vendor/local/include/msgpack/preprocessor/list/to_seq.hpp +32 -0
- data/vendor/local/include/msgpack/preprocessor/list/to_tuple.hpp +61 -0
- data/vendor/local/include/msgpack/preprocessor/list/transform.hpp +49 -0
- data/vendor/local/include/msgpack/preprocessor/logical.hpp +29 -0
- data/vendor/local/include/msgpack/preprocessor/logical/and.hpp +30 -0
- data/vendor/local/include/msgpack/preprocessor/logical/bitand.hpp +38 -0
- data/vendor/local/include/msgpack/preprocessor/logical/bitnor.hpp +38 -0
- data/vendor/local/include/msgpack/preprocessor/logical/bitor.hpp +38 -0
- data/vendor/local/include/msgpack/preprocessor/logical/bitxor.hpp +38 -0
- data/vendor/local/include/msgpack/preprocessor/logical/bool.hpp +288 -0
- data/vendor/local/include/msgpack/preprocessor/logical/compl.hpp +36 -0
- data/vendor/local/include/msgpack/preprocessor/logical/nor.hpp +30 -0
- data/vendor/local/include/msgpack/preprocessor/logical/not.hpp +30 -0
- data/vendor/local/include/msgpack/preprocessor/logical/or.hpp +30 -0
- data/vendor/local/include/msgpack/preprocessor/logical/xor.hpp +30 -0
- data/vendor/local/include/msgpack/preprocessor/max.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/min.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/punctuation.hpp +22 -0
- data/vendor/local/include/msgpack/preprocessor/punctuation/comma.hpp +21 -0
- data/vendor/local/include/msgpack/preprocessor/punctuation/comma_if.hpp +31 -0
- data/vendor/local/include/msgpack/preprocessor/punctuation/detail/is_begin_parens.hpp +48 -0
- data/vendor/local/include/msgpack/preprocessor/punctuation/is_begin_parens.hpp +51 -0
- data/vendor/local/include/msgpack/preprocessor/punctuation/paren.hpp +23 -0
- data/vendor/local/include/msgpack/preprocessor/punctuation/paren_if.hpp +38 -0
- data/vendor/local/include/msgpack/preprocessor/punctuation/remove_parens.hpp +39 -0
- data/vendor/local/include/msgpack/preprocessor/repeat.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/repeat_2nd.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/repeat_3rd.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/repeat_from_to.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/repeat_from_to_2nd.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/repeat_from_to_3rd.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/repetition.hpp +32 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/deduce_r.hpp +22 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/deduce_z.hpp +22 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/detail/dmc/for.hpp +536 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/detail/edg/for.hpp +534 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/detail/for.hpp +536 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/detail/msvc/for.hpp +277 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/enum.hpp +66 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/enum_binary_params.hpp +54 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/enum_params.hpp +41 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/enum_params_with_a_default.hpp +25 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/enum_params_with_defaults.hpp +24 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/enum_shifted.hpp +68 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/enum_shifted_binary_params.hpp +51 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/enum_shifted_params.hpp +44 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/enum_trailing.hpp +63 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/enum_trailing_binary_params.hpp +53 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/enum_trailing_params.hpp +38 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/for.hpp +306 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/repeat.hpp +825 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/repeat_from_to.hpp +87 -0
- data/vendor/local/include/msgpack/preprocessor/selection.hpp +18 -0
- data/vendor/local/include/msgpack/preprocessor/selection/max.hpp +39 -0
- data/vendor/local/include/msgpack/preprocessor/selection/min.hpp +39 -0
- data/vendor/local/include/msgpack/preprocessor/seq.hpp +44 -0
- data/vendor/local/include/msgpack/preprocessor/seq/cat.hpp +49 -0
- data/vendor/local/include/msgpack/preprocessor/seq/detail/binary_transform.hpp +48 -0
- data/vendor/local/include/msgpack/preprocessor/seq/detail/split.hpp +284 -0
- data/vendor/local/include/msgpack/preprocessor/seq/elem.hpp +304 -0
- data/vendor/local/include/msgpack/preprocessor/seq/enum.hpp +288 -0
- data/vendor/local/include/msgpack/preprocessor/seq/filter.hpp +54 -0
- data/vendor/local/include/msgpack/preprocessor/seq/first_n.hpp +30 -0
- data/vendor/local/include/msgpack/preprocessor/seq/fold_left.hpp +1070 -0
- data/vendor/local/include/msgpack/preprocessor/seq/fold_right.hpp +288 -0
- data/vendor/local/include/msgpack/preprocessor/seq/for_each.hpp +60 -0
- data/vendor/local/include/msgpack/preprocessor/seq/for_each_i.hpp +61 -0
- data/vendor/local/include/msgpack/preprocessor/seq/for_each_product.hpp +126 -0
- data/vendor/local/include/msgpack/preprocessor/seq/insert.hpp +28 -0
- data/vendor/local/include/msgpack/preprocessor/seq/pop_back.hpp +29 -0
- data/vendor/local/include/msgpack/preprocessor/seq/pop_front.hpp +27 -0
- data/vendor/local/include/msgpack/preprocessor/seq/push_back.hpp +19 -0
- data/vendor/local/include/msgpack/preprocessor/seq/push_front.hpp +19 -0
- data/vendor/local/include/msgpack/preprocessor/seq/remove.hpp +29 -0
- data/vendor/local/include/msgpack/preprocessor/seq/replace.hpp +29 -0
- data/vendor/local/include/msgpack/preprocessor/seq/rest_n.hpp +30 -0
- data/vendor/local/include/msgpack/preprocessor/seq/reverse.hpp +39 -0
- data/vendor/local/include/msgpack/preprocessor/seq/seq.hpp +44 -0
- data/vendor/local/include/msgpack/preprocessor/seq/size.hpp +547 -0
- data/vendor/local/include/msgpack/preprocessor/seq/subseq.hpp +28 -0
- data/vendor/local/include/msgpack/preprocessor/seq/to_array.hpp +28 -0
- data/vendor/local/include/msgpack/preprocessor/seq/to_list.hpp +29 -0
- data/vendor/local/include/msgpack/preprocessor/seq/to_tuple.hpp +27 -0
- data/vendor/local/include/msgpack/preprocessor/seq/transform.hpp +48 -0
- data/vendor/local/include/msgpack/preprocessor/seq/variadic_seq_to_seq.hpp +28 -0
- data/vendor/local/include/msgpack/preprocessor/slot.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/slot/counter.hpp +25 -0
- data/vendor/local/include/msgpack/preprocessor/slot/detail/counter.hpp +269 -0
- data/vendor/local/include/msgpack/preprocessor/slot/detail/def.hpp +49 -0
- data/vendor/local/include/msgpack/preprocessor/slot/detail/shared.hpp +247 -0
- data/vendor/local/include/msgpack/preprocessor/slot/detail/slot1.hpp +267 -0
- data/vendor/local/include/msgpack/preprocessor/slot/detail/slot2.hpp +267 -0
- data/vendor/local/include/msgpack/preprocessor/slot/detail/slot3.hpp +267 -0
- data/vendor/local/include/msgpack/preprocessor/slot/detail/slot4.hpp +267 -0
- data/vendor/local/include/msgpack/preprocessor/slot/detail/slot5.hpp +267 -0
- data/vendor/local/include/msgpack/preprocessor/slot/slot.hpp +32 -0
- data/vendor/local/include/msgpack/preprocessor/stringize.hpp +33 -0
- data/vendor/local/include/msgpack/preprocessor/tuple.hpp +35 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/detail/is_single_return.hpp +28 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/eat.hpp +106 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/elem.hpp +201 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/enum.hpp +22 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/insert.hpp +37 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/pop_back.hpp +64 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/pop_front.hpp +65 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/push_back.hpp +31 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/push_front.hpp +32 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/rem.hpp +149 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/remove.hpp +64 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/replace.hpp +37 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/reverse.hpp +117 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/size.hpp +28 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/to_array.hpp +39 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/to_list.hpp +118 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/to_seq.hpp +119 -0
- data/vendor/local/include/msgpack/preprocessor/variadic.hpp +23 -0
- data/vendor/local/include/msgpack/preprocessor/variadic/detail/is_single_return.hpp +28 -0
- data/vendor/local/include/msgpack/preprocessor/variadic/elem.hpp +94 -0
- data/vendor/local/include/msgpack/preprocessor/variadic/size.hpp +30 -0
- data/vendor/local/include/msgpack/preprocessor/variadic/to_array.hpp +32 -0
- data/vendor/local/include/msgpack/preprocessor/variadic/to_list.hpp +25 -0
- data/vendor/local/include/msgpack/preprocessor/variadic/to_seq.hpp +25 -0
- data/vendor/local/include/msgpack/preprocessor/variadic/to_tuple.hpp +24 -0
- data/vendor/local/include/msgpack/preprocessor/while.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/wstringize.hpp +29 -0
- data/vendor/local/include/msgpack/sbuffer.h +3 -11
- data/vendor/local/include/msgpack/sbuffer.hpp +34 -16
- data/vendor/local/include/msgpack/sysdep.h +102 -116
- data/vendor/local/include/msgpack/type.hpp +17 -0
- data/vendor/local/include/msgpack/unpack.h +3 -11
- data/vendor/local/include/msgpack/unpack.hpp +23 -47
- data/vendor/local/include/msgpack/unpack_define.h +3 -11
- data/vendor/local/include/msgpack/unpack_template.h +322 -328
- data/vendor/local/include/msgpack/util.h +3 -11
- data/vendor/local/include/msgpack/version.h +3 -11
- data/vendor/local/include/msgpack/version.hpp +3 -11
- data/vendor/local/include/msgpack/version_master.h +2 -2
- data/vendor/local/include/msgpack/versioning.hpp +27 -35
- data/vendor/local/include/msgpack/vrefbuffer.h +3 -11
- data/vendor/local/include/msgpack/vrefbuffer.hpp +7 -11
- data/vendor/local/include/msgpack/zbuffer.h +17 -25
- data/vendor/local/include/msgpack/zbuffer.hpp +9 -13
- data/vendor/local/include/msgpack/zone.h +3 -11
- data/vendor/local/include/msgpack/zone.hpp +3 -11
- data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.la +41 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.la +4 -4
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +4 -4
- data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.la +4 -4
- data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.la +4 -4
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +4 -4
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.la +4 -4
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +4 -4
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +4 -4
- data/vendor/local/lib/groonga/scripts/ruby/accessor.rb +5 -0
- data/vendor/local/lib/groonga/scripts/ruby/command_line/grndb.rb +202 -90
- data/vendor/local/lib/groonga/scripts/ruby/command_line_parser.rb +156 -0
- data/vendor/local/lib/groonga/scripts/ruby/context.rb +2 -4
- data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters.rb +5 -5
- data/vendor/local/lib/groonga/scripts/ruby/expression_size_estimator.rb +2 -1
- data/vendor/local/lib/groonga/scripts/ruby/fixed_size_column.rb +5 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +5 -0
- data/vendor/local/lib/groonga/scripts/ruby/logger.rb +1 -3
- data/vendor/local/lib/groonga/scripts/ruby/require.rb +4 -1
- data/vendor/local/lib/groonga/scripts/ruby/scan_info.rb +3 -0
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +29 -1
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +18 -14
- data/vendor/local/lib/groonga/scripts/ruby/table.rb +8 -0
- data/vendor/local/lib/groonga/scripts/ruby/table_cursor.rb +2 -0
- data/vendor/local/lib/groonga/scripts/ruby/variable_size_column.rb +5 -0
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +4 -4
- data/vendor/local/lib/liblz4.a +0 -0
- data/vendor/local/lib/liblz4.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +4 -4
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +2 -2
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +2 -2
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libonig.la +4 -4
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
- data/vendor/local/lib/pkgconfig/liblz4.pc +5 -5
- data/vendor/local/lib/pkgconfig/msgpack.pc +2 -2
- data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
- data/vendor/local/lib/pkgconfig/zlib.pc +3 -3
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/sbin/groonga-httpd-restart +1 -1
- data/vendor/local/sbin/groonga-httpd.exe +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +5 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +288 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +2 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/alias.txt +164 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_geo.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/command_version.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_copy.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_delete.txt +95 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_get.txt +96 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_set.txt +96 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_acquire.txt +102 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_clear.txt +10 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_release.txt +98 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_exist.txt +7 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_inspect.txt +385 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_remove.txt +140 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/reindex.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/schema.txt +627 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_list.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/configuration.txt +50 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grndb.txt +41 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations/geolocation_search.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/regular_expression.txt +4 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tokenizers.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/types.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/server/memcached.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/server/package.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/pygments.css +2 -0
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/client.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/community.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +57 -57
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +16 -16
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +16 -16
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/development.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/genindex.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/index.html +117 -97
- data/vendor/local/share/doc/groonga/en/html/install.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/install/others.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +13 -13
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/limitations.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/news.html +350 -102
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +117 -97
- data/vendor/local/share/doc/groonga/en/html/reference/alias.html +447 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +40 -40
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +21 -21
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +61 -53
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +255 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +239 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +237 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +35 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +60 -60
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +35 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +247 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +43 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +246 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +33 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +53 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +43 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +63 -63
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +135 -135
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +43 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +41 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +43 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +592 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +324 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +37 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +33 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +1188 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +187 -187
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +41 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +56 -56
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +52 -52
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +35 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +37 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +55 -55
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +178 -0
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +43 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +13 -13
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +47 -47
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +41 -41
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +16 -16
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +18 -18
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +35 -35
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +40 -40
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/search.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/server/http.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +8 -7
- data/vendor/local/share/doc/groonga/en/html/server/package.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/spec.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +13 -13
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +16 -16
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +13 -13
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +13 -13
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +18 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +18 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +16 -16
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +5 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +288 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +2 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/alias.txt +164 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_geo.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/command_version.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_copy.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_delete.txt +95 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_get.txt +96 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_set.txt +96 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_acquire.txt +102 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_clear.txt +10 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_release.txt +98 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_exist.txt +7 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_inspect.txt +385 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_remove.txt +140 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/reindex.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/schema.txt +627 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_list.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/configuration.txt +50 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grndb.txt +41 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations/geolocation_search.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/regular_expression.txt +4 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tokenizers.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/types.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/memcached.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/package.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/pygments.css +2 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/client.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/community.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +57 -57
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +16 -16
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +16 -16
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/development.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/index.html +116 -96
- data/vendor/local/share/doc/groonga/ja/html/install.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +13 -13
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news.html +329 -100
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +116 -96
- data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +419 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +40 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +56 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +254 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +235 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +234 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +35 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +46 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +60 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +37 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +242 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +242 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +53 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +63 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +135 -135
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +48 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +41 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +41 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +595 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +306 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +37 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +1196 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +187 -187
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +45 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +56 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +52 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +35 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +42 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +37 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +55 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +167 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +35 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +35 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +13 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +48 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +41 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +16 -16
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +18 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +35 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +40 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +46 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +16 -16
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +8 -7
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/spec.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +13 -13
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +16 -16
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +13 -13
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +13 -13
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +18 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +18 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +16 -16
- data/vendor/local/share/groonga/html/admin.old/index.html +1 -1
- data/vendor/local/share/groonga/html/admin.old/index.ja.html +1 -1
- data/vendor/local/share/groonga/html/admin.old/js/{jquery.flot-0.7.js → jquery.flot-0.8.3.js} +1540 -817
- data/vendor/local/share/groonga/html/admin.old/js/jquery.flot.license.txt +1 -1
- data/vendor/local/share/groonga/mruby/LEGAL +29 -29
- data/vendor/local/share/license/mruby/AUTHORS +3 -1
- data/vendor/local/share/license/mruby/MITL +1 -1
- data/vendor/local/share/license/mruby/README.md +13 -45
- data/vendor/local/share/license/msgpack/COPYING +4 -13
- data/vendor/local/share/license/msgpack/LICENSE_1_0.txt +23 -0
- data/vendor/local/share/license/msgpack/NOTICE +14 -0
- data/vendor/local/share/license/msgpack/{README → README.md} +4 -4
- data/vendor/local/share/man/ja/man1/groonga.1 +3429 -398
- data/vendor/local/share/man/man1/groonga.1 +3670 -500
- metadata +523 -89
- data/lib/2.0/groonga.so +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libwinpthread-1.dll +0 -0
- data/vendor/local/include/groonga/groonga/conf.h +0 -42
- data/vendor/local/include/msgpack/adaptor/bool_fwd.hpp +0 -39
- data/vendor/local/include/msgpack/adaptor/char_ptr_fwd.hpp +0 -43
- data/vendor/local/include/msgpack/adaptor/cpp11/array_char_fwd.hpp +0 -45
- data/vendor/local/include/msgpack/adaptor/cpp11/array_fwd.hpp +0 -44
- data/vendor/local/include/msgpack/adaptor/cpp11/forward_list_fwd.hpp +0 -44
- data/vendor/local/include/msgpack/adaptor/cpp11/tuple_fwd.hpp +0 -62
- data/vendor/local/include/msgpack/adaptor/cpp11/unordered_map_fwd.hpp +0 -53
- data/vendor/local/include/msgpack/adaptor/cpp11/unordered_set_fwd.hpp +0 -52
- data/vendor/local/include/msgpack/adaptor/deque_fwd.hpp +0 -40
- data/vendor/local/include/msgpack/adaptor/detail/cpp03_msgpack_tuple_fwd.hpp +0 -4341
- data/vendor/local/include/msgpack/adaptor/detail/cpp11_msgpack_tuple_fwd.hpp +0 -84
- data/vendor/local/include/msgpack/adaptor/fixint_fwd.hpp +0 -100
- data/vendor/local/include/msgpack/adaptor/float_fwd.hpp +0 -44
- data/vendor/local/include/msgpack/adaptor/int_fwd.hpp +0 -100
- data/vendor/local/include/msgpack/adaptor/list_fwd.hpp +0 -40
- data/vendor/local/include/msgpack/adaptor/map_fwd.hpp +0 -69
- data/vendor/local/include/msgpack/adaptor/msgpack_tuple_fwd.hpp +0 -29
- data/vendor/local/include/msgpack/adaptor/nil_fwd.hpp +0 -51
- data/vendor/local/include/msgpack/adaptor/pair_fwd.hpp +0 -42
- data/vendor/local/include/msgpack/adaptor/raw_fwd.hpp +0 -50
- data/vendor/local/include/msgpack/adaptor/set_fwd.hpp +0 -52
- data/vendor/local/include/msgpack/adaptor/string_fwd.hpp +0 -42
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_map_fwd.hpp +0 -75
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_set_fwd.hpp +0 -75
- data/vendor/local/include/msgpack/adaptor/vector_bool_fwd.hpp +0 -40
- data/vendor/local/include/msgpack/adaptor/vector_char_fwd.hpp +0 -42
- data/vendor/local/include/msgpack/adaptor/vector_fwd.hpp +0 -42
- data/vendor/local/include/msgpack_fwd.hpp +0 -28
- data/vendor/local/share/license/msgpack/LICENSE +0 -202
@@ -1,6 +1,6 @@
|
|
1
1
|
/* -*- c-basic-offset: 2 -*- */
|
2
2
|
/*
|
3
|
-
Copyright(C) 2014 Brazil
|
3
|
+
Copyright(C) 2014-2016 Brazil
|
4
4
|
|
5
5
|
This library is free software; you can redistribute it and/or
|
6
6
|
modify it under the terms of the GNU Lesser General Public
|
@@ -15,8 +15,8 @@
|
|
15
15
|
License along with this library; if not, write to the Free Software
|
16
16
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
*/
|
18
|
-
|
19
|
-
#
|
18
|
+
|
19
|
+
#pragma once
|
20
20
|
|
21
21
|
#include <groonga/tokenizer.h>
|
22
22
|
|
@@ -65,5 +65,3 @@ GRN_PLUGIN_EXPORT grn_rc grn_token_filter_register(grn_ctx *ctx,
|
|
65
65
|
#ifdef __cplusplus
|
66
66
|
} /* extern "C" */
|
67
67
|
#endif /* __cplusplus */
|
68
|
-
|
69
|
-
#endif /* GROONGA_TOKEN_FILTER_H */
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/* -*- c-basic-offset: 2 -*- */
|
2
2
|
/*
|
3
|
-
Copyright(C) 2012 Brazil
|
3
|
+
Copyright(C) 2012-2016 Brazil
|
4
4
|
|
5
5
|
This library is free software; you can redistribute it and/or
|
6
6
|
modify it under the terms of the GNU Lesser General Public
|
@@ -15,8 +15,8 @@
|
|
15
15
|
License along with this library; if not, write to the Free Software
|
16
16
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
*/
|
18
|
-
|
19
|
-
#
|
18
|
+
|
19
|
+
#pragma once
|
20
20
|
|
21
21
|
#include <groonga/plugin.h>
|
22
22
|
#include <groonga/token.h>
|
@@ -258,5 +258,3 @@ GRN_PLUGIN_EXPORT grn_rc grn_tokenizer_register(grn_ctx *ctx, const char *plugin
|
|
258
258
|
#ifdef __cplusplus
|
259
259
|
} /* extern "C" */
|
260
260
|
#endif /* __cplusplus */
|
261
|
-
|
262
|
-
#endif /* GROONGA_TOKENIZER_H */
|
@@ -0,0 +1,31 @@
|
|
1
|
+
/*
|
2
|
+
Copyright(C) 2009-2016 Brazil
|
3
|
+
|
4
|
+
This library is free software; you can redistribute it and/or
|
5
|
+
modify it under the terms of the GNU Lesser General Public
|
6
|
+
License as published by the Free Software Foundation; either
|
7
|
+
version 2.1 of the License, or (at your option) any later version.
|
8
|
+
|
9
|
+
This library is distributed in the hope that it will be useful,
|
10
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
12
|
+
Lesser General Public License for more details.
|
13
|
+
|
14
|
+
You should have received a copy of the GNU Lesser General Public
|
15
|
+
License along with this library; if not, write to the Free Software
|
16
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
|
+
*/
|
18
|
+
|
19
|
+
#pragma once
|
20
|
+
|
21
|
+
#ifdef __cplusplus
|
22
|
+
extern "C" {
|
23
|
+
#endif
|
24
|
+
|
25
|
+
GRN_API grn_obj *grn_type_create(grn_ctx *ctx, const char *name, unsigned int name_size,
|
26
|
+
grn_obj_flags flags, unsigned int size);
|
27
|
+
GRN_API uint32_t grn_type_size(grn_ctx *ctx, grn_obj *type);
|
28
|
+
|
29
|
+
#ifdef __cplusplus
|
30
|
+
}
|
31
|
+
#endif
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
Copyright(C) 2010-
|
2
|
+
Copyright(C) 2010-2016 Brazil
|
3
3
|
|
4
4
|
This library is free software; you can redistribute it and/or
|
5
5
|
modify it under the terms of the GNU Lesser General Public
|
@@ -15,8 +15,8 @@
|
|
15
15
|
License along with this library; if not, write to the Free Software
|
16
16
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
*/
|
18
|
-
|
19
|
-
#
|
18
|
+
|
19
|
+
#pragma once
|
20
20
|
|
21
21
|
#ifdef __cplusplus
|
22
22
|
extern "C" {
|
@@ -36,5 +36,3 @@ GRN_API void grn_p_ii_values(grn_ctx *ctx, grn_obj *obj);
|
|
36
36
|
#ifdef __cplusplus
|
37
37
|
}
|
38
38
|
#endif
|
39
|
-
|
40
|
-
#endif /* GROONGA_UTIL_H */
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
Copyright(C) 2015 Brazil
|
2
|
+
Copyright(C) 2015-2016 Brazil
|
3
3
|
|
4
4
|
This library is free software; you can redistribute it and/or
|
5
5
|
modify it under the terms of the GNU Lesser General Public
|
@@ -16,8 +16,7 @@
|
|
16
16
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
*/
|
18
18
|
|
19
|
-
#
|
20
|
-
#define GROONGA_WINDOWS_H
|
19
|
+
#pragma once
|
21
20
|
|
22
21
|
#ifdef __cplusplus
|
23
22
|
extern "C" {
|
@@ -30,5 +29,3 @@ GRN_API const char *grn_windows_base_dir(void);
|
|
30
29
|
#ifdef __cplusplus
|
31
30
|
}
|
32
31
|
#endif
|
33
|
-
|
34
|
-
#endif /* GROONGA_WINDOWS_H */
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
Copyright(C) 2015 Brazil
|
2
|
+
Copyright(C) 2015-2016 Brazil
|
3
3
|
|
4
4
|
This library is free software; you can redistribute it and/or
|
5
5
|
modify it under the terms of the GNU Lesser General Public
|
@@ -16,8 +16,7 @@
|
|
16
16
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
*/
|
18
18
|
|
19
|
-
#
|
20
|
-
#define GROONGA_WINDOWS_EVENT_LOGGER_H
|
19
|
+
#pragma once
|
21
20
|
|
22
21
|
#ifdef __cplusplus
|
23
22
|
extern "C" {
|
@@ -29,5 +28,3 @@ GRN_API grn_rc grn_windows_event_logger_set(grn_ctx *ctx,
|
|
29
28
|
#ifdef __cplusplus
|
30
29
|
}
|
31
30
|
#endif
|
32
|
-
|
33
|
-
#endif /* GROONGA_WINDOWS_EVENT_LOGGER_H */
|
@@ -1,121 +1,328 @@
|
|
1
1
|
/*
|
2
2
|
MeCab -- Yet Another Part-of-Speech and Morphological Analyzer
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
Copyright(C) 2001-2006 Taku Kudo <taku@chasen.org>
|
4
|
+
Copyright(C) 2001-2011 Taku Kudo <taku@chasen.org>
|
7
5
|
Copyright(C) 2004-2006 Nippon Telegraph and Telephone Corporation
|
8
6
|
*/
|
9
|
-
#ifndef
|
10
|
-
#define
|
7
|
+
#ifndef MECAB_MECAB_H_
|
8
|
+
#define MECAB_MECAB_H_
|
11
9
|
|
12
10
|
/* C/C++ common data structures */
|
11
|
+
|
12
|
+
/**
|
13
|
+
* DictionaryInfo structure
|
14
|
+
*/
|
13
15
|
struct mecab_dictionary_info_t {
|
16
|
+
/**
|
17
|
+
* filename of dictionary
|
18
|
+
* On Windows, filename is stored in UTF-8 encoding
|
19
|
+
*/
|
14
20
|
const char *filename;
|
21
|
+
|
22
|
+
/**
|
23
|
+
* character set of the dictionary. e.g., "SHIFT-JIS", "UTF-8"
|
24
|
+
*/
|
15
25
|
const char *charset;
|
26
|
+
|
27
|
+
/**
|
28
|
+
* How many words are registered in this dictionary.
|
29
|
+
*/
|
16
30
|
unsigned int size;
|
31
|
+
|
32
|
+
/**
|
33
|
+
* dictionary type
|
34
|
+
* this value should be MECAB_USR_DIC, MECAB_SYS_DIC, or MECAB_UNK_DIC.
|
35
|
+
*/
|
17
36
|
int type;
|
37
|
+
|
38
|
+
/**
|
39
|
+
* left attributes size
|
40
|
+
*/
|
18
41
|
unsigned int lsize;
|
42
|
+
|
43
|
+
/**
|
44
|
+
* right attributes size
|
45
|
+
*/
|
19
46
|
unsigned int rsize;
|
47
|
+
|
48
|
+
/**
|
49
|
+
* version of this dictionary
|
50
|
+
*/
|
20
51
|
unsigned short version;
|
52
|
+
|
53
|
+
/**
|
54
|
+
* pointer to the next dictionary info.
|
55
|
+
*/
|
21
56
|
struct mecab_dictionary_info_t *next;
|
22
57
|
};
|
23
58
|
|
59
|
+
/**
|
60
|
+
* Path structure
|
61
|
+
*/
|
24
62
|
struct mecab_path_t {
|
63
|
+
/**
|
64
|
+
* pointer to the right node
|
65
|
+
*/
|
25
66
|
struct mecab_node_t* rnode;
|
67
|
+
|
68
|
+
/**
|
69
|
+
* pointer to the next right path
|
70
|
+
*/
|
26
71
|
struct mecab_path_t* rnext;
|
72
|
+
|
73
|
+
/**
|
74
|
+
* pointer to the left node
|
75
|
+
*/
|
27
76
|
struct mecab_node_t* lnode;
|
77
|
+
|
78
|
+
/**
|
79
|
+
* pointer to the next left path
|
80
|
+
*/
|
81
|
+
|
28
82
|
struct mecab_path_t* lnext;
|
29
|
-
int cost;
|
30
|
-
float prob;
|
31
|
-
};
|
32
83
|
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
struct mecab_learner_path_t* lnext;
|
38
|
-
double cost;
|
39
|
-
const int *fvector;
|
40
|
-
};
|
84
|
+
/**
|
85
|
+
* local cost
|
86
|
+
*/
|
87
|
+
int cost;
|
41
88
|
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
short wcost;
|
47
|
-
unsigned int feature;
|
48
|
-
unsigned int compound; /* reserved for noun compound */
|
89
|
+
/**
|
90
|
+
* marginal probability
|
91
|
+
*/
|
92
|
+
float prob;
|
49
93
|
};
|
50
94
|
|
95
|
+
/**
|
96
|
+
* Node structure
|
97
|
+
*/
|
51
98
|
struct mecab_node_t {
|
99
|
+
/**
|
100
|
+
* pointer to the previous node.
|
101
|
+
*/
|
52
102
|
struct mecab_node_t *prev;
|
103
|
+
|
104
|
+
/**
|
105
|
+
* pointer to the next node.
|
106
|
+
*/
|
53
107
|
struct mecab_node_t *next;
|
108
|
+
|
109
|
+
/**
|
110
|
+
* pointer to the node which ends at the same position.
|
111
|
+
*/
|
54
112
|
struct mecab_node_t *enext;
|
113
|
+
|
114
|
+
/**
|
115
|
+
* pointer to the node which starts at the same position.
|
116
|
+
*/
|
55
117
|
struct mecab_node_t *bnext;
|
118
|
+
|
119
|
+
/**
|
120
|
+
* pointer to the right path.
|
121
|
+
* this value is NULL if MECAB_ONE_BEST mode.
|
122
|
+
*/
|
56
123
|
struct mecab_path_t *rpath;
|
124
|
+
|
125
|
+
/**
|
126
|
+
* pointer to the right path.
|
127
|
+
* this value is NULL if MECAB_ONE_BEST mode.
|
128
|
+
*/
|
57
129
|
struct mecab_path_t *lpath;
|
58
|
-
|
59
|
-
|
130
|
+
|
131
|
+
/**
|
132
|
+
* surface string.
|
133
|
+
* this value is not 0 terminated.
|
134
|
+
* You can get the length with length/rlength members.
|
135
|
+
*/
|
60
136
|
const char *surface;
|
137
|
+
|
138
|
+
/**
|
139
|
+
* feature string
|
140
|
+
*/
|
61
141
|
const char *feature;
|
142
|
+
|
143
|
+
/**
|
144
|
+
* unique node id
|
145
|
+
*/
|
62
146
|
unsigned int id;
|
63
|
-
|
64
|
-
|
147
|
+
|
148
|
+
/**
|
149
|
+
* length of the surface form.
|
150
|
+
*/
|
151
|
+
unsigned short length;
|
152
|
+
|
153
|
+
/**
|
154
|
+
* length of the surface form including white space before the morph.
|
155
|
+
*/
|
156
|
+
unsigned short rlength;
|
157
|
+
|
158
|
+
/**
|
159
|
+
* right attribute id
|
160
|
+
*/
|
65
161
|
unsigned short rcAttr;
|
162
|
+
|
163
|
+
/**
|
164
|
+
* left attribute id
|
165
|
+
*/
|
66
166
|
unsigned short lcAttr;
|
167
|
+
|
168
|
+
/**
|
169
|
+
* unique part of speech id. This value is defined in "pos.def" file.
|
170
|
+
*/
|
67
171
|
unsigned short posid;
|
172
|
+
|
173
|
+
/**
|
174
|
+
* character type
|
175
|
+
*/
|
68
176
|
unsigned char char_type;
|
177
|
+
|
178
|
+
/**
|
179
|
+
* status of this model.
|
180
|
+
* This value is MECAB_NOR_NODE, MECAB_UNK_NODE, MECAB_BOS_NODE, MECAB_EOS_NODE, or MECAB_EON_NODE.
|
181
|
+
*/
|
69
182
|
unsigned char stat;
|
183
|
+
|
184
|
+
/**
|
185
|
+
* set 1 if this node is best node.
|
186
|
+
*/
|
70
187
|
unsigned char isbest;
|
71
|
-
|
188
|
+
|
189
|
+
/**
|
190
|
+
* forward accumulative log summation.
|
191
|
+
* This value is only available when MECAB_MARGINAL_PROB is passed.
|
192
|
+
*/
|
72
193
|
float alpha;
|
194
|
+
|
195
|
+
/**
|
196
|
+
* backward accumulative log summation.
|
197
|
+
* This value is only available when MECAB_MARGINAL_PROB is passed.
|
198
|
+
*/
|
73
199
|
float beta;
|
200
|
+
|
201
|
+
/**
|
202
|
+
* marginal probability.
|
203
|
+
* This value is only available when MECAB_MARGINAL_PROB is passed.
|
204
|
+
*/
|
74
205
|
float prob;
|
206
|
+
|
207
|
+
/**
|
208
|
+
* word cost.
|
209
|
+
*/
|
75
210
|
short wcost;
|
211
|
+
|
212
|
+
/**
|
213
|
+
* best accumulative cost from bos node to this node.
|
214
|
+
*/
|
76
215
|
long cost;
|
77
|
-
struct mecab_token_t *token;
|
78
216
|
};
|
79
217
|
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
218
|
+
/**
|
219
|
+
* Parameters for MeCab::Node::stat
|
220
|
+
*/
|
221
|
+
enum {
|
222
|
+
/**
|
223
|
+
* Normal node defined in the dictionary.
|
224
|
+
*/
|
225
|
+
MECAB_NOR_NODE = 0,
|
226
|
+
/**
|
227
|
+
* Unknown node not defined in the dictionary.
|
228
|
+
*/
|
229
|
+
MECAB_UNK_NODE = 1,
|
230
|
+
/**
|
231
|
+
* Virtual node representing a beginning of the sentence.
|
232
|
+
*/
|
233
|
+
MECAB_BOS_NODE = 2,
|
234
|
+
/**
|
235
|
+
* Virtual node representing a end of the sentence.
|
236
|
+
*/
|
237
|
+
MECAB_EOS_NODE = 3,
|
238
|
+
|
239
|
+
/**
|
240
|
+
* Virtual node representing a end of the N-best enumeration.
|
241
|
+
*/
|
242
|
+
MECAB_EON_NODE = 4
|
243
|
+
};
|
244
|
+
|
245
|
+
/**
|
246
|
+
* Parameters for MeCab::DictionaryInfo::type
|
247
|
+
*/
|
248
|
+
enum {
|
249
|
+
/**
|
250
|
+
* This is a system dictionary.
|
251
|
+
*/
|
252
|
+
MECAB_SYS_DIC = 0,
|
253
|
+
|
254
|
+
/**
|
255
|
+
* This is a user dictionary.
|
256
|
+
*/
|
257
|
+
MECAB_USR_DIC = 1,
|
258
|
+
|
259
|
+
/**
|
260
|
+
* This is a unknown word dictionary.
|
261
|
+
*/
|
262
|
+
MECAB_UNK_DIC = 2
|
263
|
+
};
|
264
|
+
|
265
|
+
/**
|
266
|
+
* Parameters for MeCab::Lattice::request_type
|
267
|
+
*/
|
268
|
+
enum {
|
269
|
+
/**
|
270
|
+
* One best result is obtained (default mode)
|
271
|
+
*/
|
272
|
+
MECAB_ONE_BEST = 1,
|
273
|
+
/**
|
274
|
+
* Set this flag if you want to obtain N best results.
|
275
|
+
*/
|
276
|
+
MECAB_NBEST = 2,
|
277
|
+
/**
|
278
|
+
* Set this flag if you want to enable a partial parsing mode.
|
279
|
+
* When this flag is set, the input |sentence| needs to be written
|
280
|
+
* in partial parsing format.
|
281
|
+
*/
|
282
|
+
MECAB_PARTIAL = 4,
|
283
|
+
/**
|
284
|
+
* Set this flag if you want to obtain marginal probabilities.
|
285
|
+
* Marginal probability is set in MeCab::Node::prob.
|
286
|
+
* The parsing speed will get 3-5 times slower than the default mode.
|
287
|
+
*/
|
288
|
+
MECAB_MARGINAL_PROB = 8,
|
289
|
+
/**
|
290
|
+
* Set this flag if you want to obtain alternative results.
|
291
|
+
* Not implemented.
|
292
|
+
*/
|
293
|
+
MECAB_ALTERNATIVE = 16,
|
294
|
+
/**
|
295
|
+
* When this flag is set, the result linked-list (Node::next/prev)
|
296
|
+
* traverses all nodes in the lattice.
|
297
|
+
*/
|
298
|
+
MECAB_ALL_MORPHS = 32,
|
299
|
+
|
300
|
+
/**
|
301
|
+
* When this flag is set, tagger internally copies the body of passed
|
302
|
+
* sentence into internal buffer.
|
303
|
+
*/
|
304
|
+
MECAB_ALLOCATE_SENTENCE = 64
|
108
305
|
};
|
109
306
|
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
307
|
+
/**
|
308
|
+
* Parameters for MeCab::Lattice::boundary_constraint_type
|
309
|
+
*/
|
310
|
+
enum {
|
311
|
+
/**
|
312
|
+
* The token boundary is not specified.
|
313
|
+
*/
|
314
|
+
MECAB_ANY_BOUNDARY = 0,
|
115
315
|
|
116
|
-
|
117
|
-
|
118
|
-
|
316
|
+
/**
|
317
|
+
* The position is a strong token boundary.
|
318
|
+
*/
|
319
|
+
MECAB_TOKEN_BOUNDARY = 1,
|
320
|
+
|
321
|
+
/**
|
322
|
+
* The position is not a token boundary.
|
323
|
+
*/
|
324
|
+
MECAB_INSIDE_TOKEN = 2
|
325
|
+
};
|
119
326
|
|
120
327
|
/* C interface */
|
121
328
|
#ifdef __cplusplus
|
@@ -132,6 +339,7 @@ extern "C" {
|
|
132
339
|
#include <windows.h>
|
133
340
|
# ifdef DLL_EXPORT
|
134
341
|
# define MECAB_DLL_EXTERN __declspec(dllexport)
|
342
|
+
# define MECAB_DLL_CLASS_EXTERN __declspec(dllexport)
|
135
343
|
# else
|
136
344
|
# define MECAB_DLL_EXTERN __declspec(dllimport)
|
137
345
|
# endif
|
@@ -139,54 +347,414 @@ extern "C" {
|
|
139
347
|
|
140
348
|
#ifndef MECAB_DLL_EXTERN
|
141
349
|
# define MECAB_DLL_EXTERN extern
|
350
|
+
#endif
|
351
|
+
|
352
|
+
#ifndef MECAB_DLL_CLASS_EXTERN
|
353
|
+
# define MECAB_DLL_CLASS_EXTERN
|
142
354
|
#endif
|
143
355
|
|
144
356
|
typedef struct mecab_t mecab_t;
|
357
|
+
typedef struct mecab_model_t mecab_model_t;
|
358
|
+
typedef struct mecab_lattice_t mecab_lattice_t;
|
145
359
|
typedef struct mecab_dictionary_info_t mecab_dictionary_info_t;
|
146
360
|
typedef struct mecab_node_t mecab_node_t;
|
147
|
-
typedef struct mecab_learner_node_t mecab_learner_node_t;
|
148
361
|
typedef struct mecab_path_t mecab_path_t;
|
149
|
-
typedef struct mecab_learner_path_t mecab_learner_path_t;
|
150
|
-
typedef struct mecab_token_t mecab_token_t;
|
151
362
|
|
152
363
|
#ifndef SWIG
|
153
364
|
/* C interface */
|
154
|
-
MECAB_DLL_EXTERN int mecab_do (int argc, char **argv);
|
155
365
|
|
366
|
+
/* old mecab interface */
|
367
|
+
/**
|
368
|
+
* C wrapper of MeCab::Tagger::create(argc, argv)
|
369
|
+
*/
|
156
370
|
MECAB_DLL_EXTERN mecab_t* mecab_new(int argc, char **argv);
|
371
|
+
|
372
|
+
/**
|
373
|
+
* C wrapper of MeCab::Tagger::create(arg)
|
374
|
+
*/
|
157
375
|
MECAB_DLL_EXTERN mecab_t* mecab_new2(const char *arg);
|
376
|
+
|
377
|
+
/**
|
378
|
+
* C wrapper of MeCab::Tagger::version()
|
379
|
+
*/
|
158
380
|
MECAB_DLL_EXTERN const char* mecab_version();
|
381
|
+
|
382
|
+
/**
|
383
|
+
* C wrapper of MeCab::getLastError()
|
384
|
+
*/
|
159
385
|
MECAB_DLL_EXTERN const char* mecab_strerror(mecab_t *mecab);
|
386
|
+
|
387
|
+
/**
|
388
|
+
* C wrapper of MeCab::deleteTagger(tagger)
|
389
|
+
*/
|
160
390
|
MECAB_DLL_EXTERN void mecab_destroy(mecab_t *mecab);
|
161
391
|
|
392
|
+
/**
|
393
|
+
* C wrapper of MeCab::Tagger:set_partial()
|
394
|
+
*/
|
162
395
|
MECAB_DLL_EXTERN int mecab_get_partial(mecab_t *mecab);
|
396
|
+
|
397
|
+
/**
|
398
|
+
* C wrapper of MeCab::Tagger::partial()
|
399
|
+
*/
|
163
400
|
MECAB_DLL_EXTERN void mecab_set_partial(mecab_t *mecab, int partial);
|
401
|
+
|
402
|
+
/**
|
403
|
+
* C wrapper of MeCab::Tagger::theta()
|
404
|
+
*/
|
164
405
|
MECAB_DLL_EXTERN float mecab_get_theta(mecab_t *mecab);
|
406
|
+
|
407
|
+
/**
|
408
|
+
* C wrapper of MeCab::Tagger::set_theta()
|
409
|
+
*/
|
165
410
|
MECAB_DLL_EXTERN void mecab_set_theta(mecab_t *mecab, float theta);
|
411
|
+
|
412
|
+
/**
|
413
|
+
* C wrapper of MeCab::Tagger::lattice_level()
|
414
|
+
*/
|
166
415
|
MECAB_DLL_EXTERN int mecab_get_lattice_level(mecab_t *mecab);
|
416
|
+
|
417
|
+
/**
|
418
|
+
* C wrapper of MeCab::Tagger::set_lattice_level()
|
419
|
+
*/
|
167
420
|
MECAB_DLL_EXTERN void mecab_set_lattice_level(mecab_t *mecab, int level);
|
421
|
+
|
422
|
+
/**
|
423
|
+
* C wrapper of MeCab::Tagger::all_morphs()
|
424
|
+
*/
|
168
425
|
MECAB_DLL_EXTERN int mecab_get_all_morphs(mecab_t *mecab);
|
426
|
+
|
427
|
+
/**
|
428
|
+
* C wrapper of MeCab::Tagger::set_all_moprhs()
|
429
|
+
*/
|
169
430
|
MECAB_DLL_EXTERN void mecab_set_all_morphs(mecab_t *mecab, int all_morphs);
|
170
431
|
|
432
|
+
/**
|
433
|
+
* C wrapper of MeCab::Tagger::parse(MeCab::Lattice *lattice)
|
434
|
+
*/
|
435
|
+
MECAB_DLL_EXTERN int mecab_parse_lattice(mecab_t *mecab, mecab_lattice_t *lattice);
|
436
|
+
|
437
|
+
/**
|
438
|
+
* C wrapper of MeCab::Tagger::parse(const char *str)
|
439
|
+
*/
|
171
440
|
MECAB_DLL_EXTERN const char* mecab_sparse_tostr(mecab_t *mecab, const char *str);
|
441
|
+
|
442
|
+
/**
|
443
|
+
* C wrapper of MeCab::Tagger::parse(const char *str, size_t len)
|
444
|
+
*/
|
172
445
|
MECAB_DLL_EXTERN const char* mecab_sparse_tostr2(mecab_t *mecab, const char *str, size_t len);
|
446
|
+
|
447
|
+
/**
|
448
|
+
* C wrapper of MeCab::Tagger::parse(const char *str, char *ostr, size_t olen)
|
449
|
+
*/
|
173
450
|
MECAB_DLL_EXTERN char* mecab_sparse_tostr3(mecab_t *mecab, const char *str, size_t len,
|
174
451
|
char *ostr, size_t olen);
|
452
|
+
|
453
|
+
/**
|
454
|
+
* C wrapper of MeCab::Tagger::parseToNode(const char *str)
|
455
|
+
*/
|
175
456
|
MECAB_DLL_EXTERN const mecab_node_t* mecab_sparse_tonode(mecab_t *mecab, const char*);
|
457
|
+
|
458
|
+
/**
|
459
|
+
* C wrapper of MeCab::Tagger::parseToNode(const char *str, size_t len)
|
460
|
+
*/
|
176
461
|
MECAB_DLL_EXTERN const mecab_node_t* mecab_sparse_tonode2(mecab_t *mecab, const char*, size_t);
|
462
|
+
|
463
|
+
/**
|
464
|
+
* C wrapper of MeCab::Tagger::parseNBest(size_t N, const char *str)
|
465
|
+
*/
|
177
466
|
MECAB_DLL_EXTERN const char* mecab_nbest_sparse_tostr(mecab_t *mecab, size_t N, const char *str);
|
467
|
+
|
468
|
+
/**
|
469
|
+
* C wrapper of MeCab::Tagger::parseNBest(size_t N, const char *str, size_t len)
|
470
|
+
*/
|
178
471
|
MECAB_DLL_EXTERN const char* mecab_nbest_sparse_tostr2(mecab_t *mecab, size_t N,
|
179
472
|
const char *str, size_t len);
|
473
|
+
|
474
|
+
/**
|
475
|
+
* C wrapper of MeCab::Tagger::parseNBest(size_t N, const char *str, char *ostr, size_t olen)
|
476
|
+
*/
|
180
477
|
MECAB_DLL_EXTERN char* mecab_nbest_sparse_tostr3(mecab_t *mecab, size_t N,
|
181
478
|
const char *str, size_t len,
|
182
479
|
char *ostr, size_t olen);
|
480
|
+
|
481
|
+
/**
|
482
|
+
* C wrapper of MeCab::Tagger::parseNBestInit(const char *str)
|
483
|
+
*/
|
183
484
|
MECAB_DLL_EXTERN int mecab_nbest_init(mecab_t *mecab, const char *str);
|
485
|
+
|
486
|
+
/**
|
487
|
+
* C wrapper of MeCab::Tagger::parseNBestInit(const char *str, size_t len)
|
488
|
+
*/
|
184
489
|
MECAB_DLL_EXTERN int mecab_nbest_init2(mecab_t *mecab, const char *str, size_t len);
|
490
|
+
|
491
|
+
/**
|
492
|
+
* C wrapper of MeCab::Tagger::next()
|
493
|
+
*/
|
185
494
|
MECAB_DLL_EXTERN const char* mecab_nbest_next_tostr(mecab_t *mecab);
|
495
|
+
|
496
|
+
/**
|
497
|
+
* C wrapper of MeCab::Tagger::next(char *ostr, size_t olen)
|
498
|
+
*/
|
186
499
|
MECAB_DLL_EXTERN char* mecab_nbest_next_tostr2(mecab_t *mecab, char *ostr, size_t olen);
|
500
|
+
|
501
|
+
/**
|
502
|
+
* C wrapper of MeCab::Tagger::nextNode()
|
503
|
+
*/
|
187
504
|
MECAB_DLL_EXTERN const mecab_node_t* mecab_nbest_next_tonode(mecab_t *mecab);
|
505
|
+
|
506
|
+
/**
|
507
|
+
* C wrapper of MeCab::Tagger::formatNode(const Node *node)
|
508
|
+
*/
|
188
509
|
MECAB_DLL_EXTERN const char* mecab_format_node(mecab_t *mecab, const mecab_node_t *node);
|
510
|
+
|
511
|
+
/**
|
512
|
+
* C wrapper of MeCab::Tagger::dictionary_info()
|
513
|
+
*/
|
189
514
|
MECAB_DLL_EXTERN const mecab_dictionary_info_t* mecab_dictionary_info(mecab_t *mecab);
|
515
|
+
|
516
|
+
/* lattice interface */
|
517
|
+
/**
|
518
|
+
* C wrapper of MeCab::createLattice()
|
519
|
+
*/
|
520
|
+
MECAB_DLL_EXTERN mecab_lattice_t *mecab_lattice_new();
|
521
|
+
|
522
|
+
/**
|
523
|
+
* C wrapper of MeCab::deleteLattice(lattice)
|
524
|
+
*/
|
525
|
+
MECAB_DLL_EXTERN void mecab_lattice_destroy(mecab_lattice_t *lattice);
|
526
|
+
|
527
|
+
/**
|
528
|
+
* C wrapper of MeCab::Lattice::clear()
|
529
|
+
*/
|
530
|
+
MECAB_DLL_EXTERN void mecab_lattice_clear(mecab_lattice_t *lattice);
|
531
|
+
|
532
|
+
/**
|
533
|
+
* C wrapper of MeCab::Lattice::is_available()
|
534
|
+
*/
|
535
|
+
|
536
|
+
MECAB_DLL_EXTERN int mecab_lattice_is_available(mecab_lattice_t *lattice);
|
537
|
+
|
538
|
+
/**
|
539
|
+
* C wrapper of MeCab::Lattice::bos_node()
|
540
|
+
*/
|
541
|
+
MECAB_DLL_EXTERN mecab_node_t *mecab_lattice_get_bos_node(mecab_lattice_t *lattice);
|
542
|
+
|
543
|
+
/**
|
544
|
+
* C wrapper of MeCab::Lattice::eos_node()
|
545
|
+
*/
|
546
|
+
MECAB_DLL_EXTERN mecab_node_t *mecab_lattice_get_eos_node(mecab_lattice_t *lattice);
|
547
|
+
|
548
|
+
/**
|
549
|
+
* C wrapper of MeCab::Lattice::begin_nodes()
|
550
|
+
*/
|
551
|
+
|
552
|
+
MECAB_DLL_EXTERN mecab_node_t **mecab_lattice_get_all_begin_nodes(mecab_lattice_t *lattice);
|
553
|
+
/**
|
554
|
+
* C wrapper of MeCab::Lattice::end_nodes()
|
555
|
+
*/
|
556
|
+
MECAB_DLL_EXTERN mecab_node_t **mecab_lattice_get_all_end_nodes(mecab_lattice_t *lattice);
|
557
|
+
|
558
|
+
/**
|
559
|
+
* C wrapper of MeCab::Lattice::begin_nodes(pos)
|
560
|
+
*/
|
561
|
+
MECAB_DLL_EXTERN mecab_node_t *mecab_lattice_get_begin_nodes(mecab_lattice_t *lattice, size_t pos);
|
562
|
+
|
563
|
+
/**
|
564
|
+
* C wrapper of MeCab::Lattice::end_nodes(pos)
|
565
|
+
*/
|
566
|
+
MECAB_DLL_EXTERN mecab_node_t *mecab_lattice_get_end_nodes(mecab_lattice_t *lattice, size_t pos);
|
567
|
+
|
568
|
+
/**
|
569
|
+
* C wrapper of MeCab::Lattice::sentence()
|
570
|
+
*/
|
571
|
+
MECAB_DLL_EXTERN const char *mecab_lattice_get_sentence(mecab_lattice_t *lattice);
|
572
|
+
|
573
|
+
/**
|
574
|
+
* C wrapper of MeCab::Lattice::set_sentence(sentence)
|
575
|
+
*/
|
576
|
+
MECAB_DLL_EXTERN void mecab_lattice_set_sentence(mecab_lattice_t *lattice, const char *sentence);
|
577
|
+
|
578
|
+
/**
|
579
|
+
* C wrapper of MeCab::Lattice::set_sentence(sentence, len)
|
580
|
+
*/
|
581
|
+
|
582
|
+
MECAB_DLL_EXTERN void mecab_lattice_set_sentence2(mecab_lattice_t *lattice, const char *sentence, size_t len);
|
583
|
+
|
584
|
+
/**
|
585
|
+
* C wrapper of MeCab::Lattice::size()
|
586
|
+
*/
|
587
|
+
MECAB_DLL_EXTERN size_t mecab_lattice_get_size(mecab_lattice_t *lattice);
|
588
|
+
|
589
|
+
/**
|
590
|
+
* C wrapper of MeCab::Lattice::Z()
|
591
|
+
*/
|
592
|
+
MECAB_DLL_EXTERN double mecab_lattice_get_z(mecab_lattice_t *lattice);
|
593
|
+
|
594
|
+
/**
|
595
|
+
* C wrapper of MeCab::Lattice::set_Z()
|
596
|
+
*/
|
597
|
+
MECAB_DLL_EXTERN void mecab_lattice_set_z(mecab_lattice_t *lattice, double Z);
|
598
|
+
|
599
|
+
/**
|
600
|
+
* C wrapper of MeCab::Lattice::theta()
|
601
|
+
*/
|
602
|
+
MECAB_DLL_EXTERN double mecab_lattice_get_theta(mecab_lattice_t *lattice);
|
603
|
+
|
604
|
+
/**
|
605
|
+
* C wrapper of MeCab::Lattice::set_theta()
|
606
|
+
*/
|
607
|
+
|
608
|
+
MECAB_DLL_EXTERN void mecab_lattice_set_theta(mecab_lattice_t *lattice, double theta);
|
609
|
+
|
610
|
+
/**
|
611
|
+
* C wrapper of MeCab::Lattice::next()
|
612
|
+
*/
|
613
|
+
MECAB_DLL_EXTERN int mecab_lattice_next(mecab_lattice_t *lattice);
|
614
|
+
|
615
|
+
/**
|
616
|
+
* C wrapper of MeCab::Lattice::request_type()
|
617
|
+
*/
|
618
|
+
MECAB_DLL_EXTERN int mecab_lattice_get_request_type(mecab_lattice_t *lattice);
|
619
|
+
|
620
|
+
/**
|
621
|
+
* C wrapper of MeCab::Lattice::has_request_type()
|
622
|
+
*/
|
623
|
+
MECAB_DLL_EXTERN int mecab_lattice_has_request_type(mecab_lattice_t *lattice, int request_type);
|
624
|
+
|
625
|
+
/**
|
626
|
+
* C wrapper of MeCab::Lattice::set_request_type()
|
627
|
+
*/
|
628
|
+
MECAB_DLL_EXTERN void mecab_lattice_set_request_type(mecab_lattice_t *lattice, int request_type);
|
629
|
+
|
630
|
+
/**
|
631
|
+
* C wrapper of MeCab::Lattice::add_request_type()
|
632
|
+
*/
|
633
|
+
|
634
|
+
MECAB_DLL_EXTERN void mecab_lattice_add_request_type(mecab_lattice_t *lattice, int request_type);
|
635
|
+
|
636
|
+
/**
|
637
|
+
* C wrapper of MeCab::Lattice::remove_request_type()
|
638
|
+
*/
|
639
|
+
MECAB_DLL_EXTERN void mecab_lattice_remove_request_type(mecab_lattice_t *lattice, int request_type);
|
640
|
+
|
641
|
+
/**
|
642
|
+
* C wrapper of MeCab::Lattice::newNode();
|
643
|
+
*/
|
644
|
+
MECAB_DLL_EXTERN mecab_node_t *mecab_lattice_new_node(mecab_lattice_t *lattice);
|
645
|
+
|
646
|
+
/**
|
647
|
+
* C wrapper of MeCab::Lattice::toString()
|
648
|
+
*/
|
649
|
+
MECAB_DLL_EXTERN const char *mecab_lattice_tostr(mecab_lattice_t *lattice);
|
650
|
+
|
651
|
+
/**
|
652
|
+
* C wrapper of MeCab::Lattice::toString(buf, size)
|
653
|
+
*/
|
654
|
+
MECAB_DLL_EXTERN const char *mecab_lattice_tostr2(mecab_lattice_t *lattice, char *buf, size_t size);
|
655
|
+
|
656
|
+
/**
|
657
|
+
* C wrapper of MeCab::Lattice::enumNBestAsString(N)
|
658
|
+
*/
|
659
|
+
MECAB_DLL_EXTERN const char *mecab_lattice_nbest_tostr(mecab_lattice_t *lattice, size_t N);
|
660
|
+
|
661
|
+
/**
|
662
|
+
* C wrapper of MeCab::Lattice::enumNBestAsString(N, buf, size)
|
663
|
+
*/
|
664
|
+
|
665
|
+
MECAB_DLL_EXTERN const char *mecab_lattice_nbest_tostr2(mecab_lattice_t *lattice, size_t N, char *buf, size_t size);
|
666
|
+
|
667
|
+
/**
|
668
|
+
* C wrapper of MeCab::Lattice::has_constraint()
|
669
|
+
*/
|
670
|
+
MECAB_DLL_EXTERN int mecab_lattice_has_constraint(mecab_lattice_t *lattice);
|
671
|
+
|
672
|
+
/**
|
673
|
+
* C wrapper of MeCab::Lattice::boundary_constraint(pos)
|
674
|
+
*/
|
675
|
+
MECAB_DLL_EXTERN int mecab_lattice_get_boundary_constraint(mecab_lattice_t *lattice, size_t pos);
|
676
|
+
|
677
|
+
|
678
|
+
/**
|
679
|
+
* C wrapper of MeCab::Lattice::feature_constraint(pos)
|
680
|
+
*/
|
681
|
+
MECAB_DLL_EXTERN const char *mecab_lattice_get_feature_constraint(mecab_lattice_t *lattice, size_t pos);
|
682
|
+
|
683
|
+
/**
|
684
|
+
* C wrapper of MeCab::Lattice::boundary_constraint(pos, type)
|
685
|
+
*/
|
686
|
+
MECAB_DLL_EXTERN void mecab_lattice_set_boundary_constraint(mecab_lattice_t *lattice, size_t pos, int boundary_type);
|
687
|
+
|
688
|
+
/**
|
689
|
+
* C wrapper of MeCab::Lattice::set_feature_constraint(begin_pos, end_pos, feature)
|
690
|
+
*/
|
691
|
+
MECAB_DLL_EXTERN void mecab_lattice_set_feature_constraint(mecab_lattice_t *lattice, size_t begin_pos, size_t end_pos, const char *feature);
|
692
|
+
|
693
|
+
/**
|
694
|
+
* C wrapper of MeCab::Lattice::set_result(result);
|
695
|
+
*/
|
696
|
+
MECAB_DLL_EXTERN void mecab_lattice_set_result(mecab_lattice_t *lattice, const char *result);
|
697
|
+
|
698
|
+
/**
|
699
|
+
* C wrapper of MeCab::Lattice::what()
|
700
|
+
*/
|
701
|
+
MECAB_DLL_EXTERN const char *mecab_lattice_strerror(mecab_lattice_t *lattice);
|
702
|
+
|
703
|
+
|
704
|
+
/* model interface */
|
705
|
+
/**
|
706
|
+
* C wapper of MeCab::Model::create(argc, argv)
|
707
|
+
*/
|
708
|
+
MECAB_DLL_EXTERN mecab_model_t *mecab_model_new(int argc, char **argv);
|
709
|
+
|
710
|
+
/**
|
711
|
+
* C wapper of MeCab::Model::create(arg)
|
712
|
+
*/
|
713
|
+
MECAB_DLL_EXTERN mecab_model_t *mecab_model_new2(const char *arg);
|
714
|
+
|
715
|
+
/**
|
716
|
+
* C wapper of MeCab::deleteModel(model)
|
717
|
+
*/
|
718
|
+
|
719
|
+
MECAB_DLL_EXTERN void mecab_model_destroy(mecab_model_t *model);
|
720
|
+
|
721
|
+
/**
|
722
|
+
* C wapper of MeCab::Model::createTagger()
|
723
|
+
*/
|
724
|
+
MECAB_DLL_EXTERN mecab_t *mecab_model_new_tagger(mecab_model_t *model);
|
725
|
+
|
726
|
+
/**
|
727
|
+
* C wapper of MeCab::Model::createLattice()
|
728
|
+
*/
|
729
|
+
MECAB_DLL_EXTERN mecab_lattice_t *mecab_model_new_lattice(mecab_model_t *model);
|
730
|
+
|
731
|
+
/**
|
732
|
+
* C wrapper of MeCab::Model::swap()
|
733
|
+
*/
|
734
|
+
MECAB_DLL_EXTERN int mecab_model_swap(mecab_model_t *model, mecab_model_t *new_model);
|
735
|
+
|
736
|
+
/**
|
737
|
+
* C wapper of MeCab::Model::dictionary_info()
|
738
|
+
*/
|
739
|
+
MECAB_DLL_EXTERN const mecab_dictionary_info_t* mecab_model_dictionary_info(mecab_model_t *model);
|
740
|
+
|
741
|
+
/**
|
742
|
+
* C wrapper of MeCab::Model::transition_cost()
|
743
|
+
*/
|
744
|
+
MECAB_DLL_EXTERN int mecab_model_transition_cost(mecab_model_t *model,
|
745
|
+
unsigned short rcAttr,
|
746
|
+
unsigned short lcAttr);
|
747
|
+
|
748
|
+
/**
|
749
|
+
* C wrapper of MeCab::Model::lookup()
|
750
|
+
*/
|
751
|
+
MECAB_DLL_EXTERN mecab_node_t *mecab_model_lookup(mecab_model_t *model,
|
752
|
+
const char *begin,
|
753
|
+
const char *end,
|
754
|
+
mecab_lattice_t *lattice);
|
755
|
+
|
756
|
+
/* static functions */
|
757
|
+
MECAB_DLL_EXTERN int mecab_do(int argc, char **argv);
|
190
758
|
MECAB_DLL_EXTERN int mecab_dict_index(int argc, char **argv);
|
191
759
|
MECAB_DLL_EXTERN int mecab_dict_gen(int argc, char **argv);
|
192
760
|
MECAB_DLL_EXTERN int mecab_cost_train(int argc, char **argv);
|
@@ -205,65 +773,737 @@ namespace MeCab {
|
|
205
773
|
typedef struct mecab_dictionary_info_t DictionaryInfo;
|
206
774
|
typedef struct mecab_path_t Path;
|
207
775
|
typedef struct mecab_node_t Node;
|
208
|
-
typedef struct mecab_learner_path_t LearnerPath;
|
209
|
-
typedef struct mecab_learner_node_t LearnerNode;
|
210
|
-
typedef struct mecab_token_t Token;
|
211
776
|
|
212
|
-
class
|
213
|
-
|
777
|
+
template <typename N, typename P> class Allocator;
|
778
|
+
class Tagger;
|
779
|
+
|
780
|
+
/**
|
781
|
+
* Lattice class
|
782
|
+
*/
|
783
|
+
class MECAB_DLL_CLASS_EXTERN Lattice {
|
784
|
+
public:
|
785
|
+
/**
|
786
|
+
* Clear all internal lattice data.
|
787
|
+
*/
|
788
|
+
virtual void clear() = 0;
|
789
|
+
|
790
|
+
/**
|
791
|
+
* Return true if result object is available.
|
792
|
+
* @return boolean
|
793
|
+
*/
|
794
|
+
virtual bool is_available() const = 0;
|
795
|
+
|
796
|
+
/**
|
797
|
+
* Return bos (begin of sentence) node.
|
798
|
+
* You can obtain all nodes via "for (const Node *node = lattice->bos_node(); node; node = node->next) {}"
|
799
|
+
* @return bos node object
|
800
|
+
*/
|
801
|
+
virtual Node *bos_node() const = 0;
|
802
|
+
|
803
|
+
/**
|
804
|
+
* Return eos (end of sentence) node.
|
805
|
+
* @return eos node object
|
806
|
+
*/
|
807
|
+
virtual Node *eos_node() const = 0;
|
214
808
|
|
215
809
|
#ifndef SWIG
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
virtual
|
220
|
-
|
810
|
+
/**
|
811
|
+
* This method is used internally.
|
812
|
+
*/
|
813
|
+
virtual Node **begin_nodes() const = 0;
|
814
|
+
|
815
|
+
/**
|
816
|
+
* This method is used internally.
|
817
|
+
*/
|
818
|
+
virtual Node **end_nodes() const = 0;
|
819
|
+
#endif
|
820
|
+
|
821
|
+
/**
|
822
|
+
* Return node linked list ending at |pos|.
|
823
|
+
* You can obtain all nodes via "for (const Node *node = lattice->end_nodes(pos); node; node = node->enext) {}"
|
824
|
+
* @param pos position of nodes. 0 <= pos < size()
|
825
|
+
* @return node linked list
|
826
|
+
*/
|
827
|
+
virtual Node *end_nodes(size_t pos) const = 0;
|
828
|
+
|
829
|
+
/**
|
830
|
+
* Return node linked list starting at |pos|.
|
831
|
+
* You can obtain all nodes via "for (const Node *node = lattice->begin_nodes(pos); node; node = node->bnext) {}"
|
832
|
+
* @param pos position of nodes. 0 <= pos < size()
|
833
|
+
* @return node linked list
|
834
|
+
*/
|
835
|
+
virtual Node *begin_nodes(size_t pos) const = 0;
|
836
|
+
|
837
|
+
/**
|
838
|
+
* Return sentence.
|
839
|
+
* If MECAB_NBEST or MECAB_PARTIAL mode is off, the returned poiner is the same as the one set by set_sentence().
|
840
|
+
* @return sentence
|
841
|
+
*/
|
842
|
+
virtual const char *sentence() const = 0;
|
843
|
+
|
844
|
+
/**
|
845
|
+
* Set sentence. This method does not take the ownership of the object.
|
846
|
+
* @param sentence sentence
|
847
|
+
*/
|
848
|
+
virtual void set_sentence(const char *sentence) = 0;
|
849
|
+
|
850
|
+
#ifndef SWIG
|
851
|
+
/**
|
852
|
+
* Set sentence. This method does not take the ownership of the object.
|
853
|
+
* @param sentence sentence
|
854
|
+
* @param len length of the sentence
|
855
|
+
*/
|
856
|
+
virtual void set_sentence(const char *sentence, size_t len) = 0;
|
857
|
+
#endif
|
858
|
+
|
859
|
+
/**
|
860
|
+
* Return sentence size.
|
861
|
+
* @return sentence size
|
862
|
+
*/
|
863
|
+
virtual size_t size() const = 0;
|
864
|
+
|
865
|
+
/**
|
866
|
+
* Set normalization factor of CRF.
|
867
|
+
* @param Z new normalization factor.
|
868
|
+
*/
|
869
|
+
virtual void set_Z(double Z) = 0;
|
870
|
+
|
871
|
+
/**
|
872
|
+
* return normalization factor of CRF.
|
873
|
+
* @return normalization factor.
|
874
|
+
*/
|
875
|
+
virtual double Z() const = 0;
|
876
|
+
|
877
|
+
/**
|
878
|
+
* Set temparature parameter theta.
|
879
|
+
* @param theta temparature parameter.
|
880
|
+
*/
|
881
|
+
virtual void set_theta(float theta) = 0;
|
882
|
+
|
883
|
+
/**
|
884
|
+
* Return temparature parameter theta.
|
885
|
+
* @return temparature parameter.
|
886
|
+
*/
|
887
|
+
virtual float theta() const = 0;
|
888
|
+
|
889
|
+
/**
|
890
|
+
* Obtain next-best result. The internal linked list structure is updated.
|
891
|
+
* You should set MECAB_NBEST reques_type in advance.
|
892
|
+
* Return false if no more results are available or request_type is invalid.
|
893
|
+
* @return boolean
|
894
|
+
*/
|
895
|
+
virtual bool next() = 0;
|
896
|
+
|
897
|
+
/**
|
898
|
+
* Return the current request type.
|
899
|
+
* @return request type
|
900
|
+
*/
|
901
|
+
virtual int request_type() const = 0;
|
902
|
+
|
903
|
+
/**
|
904
|
+
* Return true if the object has a specified request type.
|
905
|
+
* @return boolean
|
906
|
+
*/
|
907
|
+
virtual bool has_request_type(int request_type) const = 0;
|
908
|
+
|
909
|
+
/**
|
910
|
+
* Set request type.
|
911
|
+
* @param request_type new request type assigned
|
912
|
+
*/
|
913
|
+
virtual void set_request_type(int request_type) = 0;
|
914
|
+
|
915
|
+
/**
|
916
|
+
* Add request type.
|
917
|
+
* @param request_type new request type added
|
918
|
+
*/
|
919
|
+
virtual void add_request_type(int request_type) = 0;
|
920
|
+
|
921
|
+
/**
|
922
|
+
* Remove request type.
|
923
|
+
* @param request_type new request type removed
|
924
|
+
*/
|
925
|
+
virtual void remove_request_type(int request_type) = 0;
|
926
|
+
|
927
|
+
#ifndef SWIG
|
928
|
+
/**
|
929
|
+
* This method is used internally.
|
930
|
+
*/
|
931
|
+
virtual Allocator<Node, Path> *allocator() const = 0;
|
932
|
+
#endif
|
933
|
+
|
934
|
+
/**
|
935
|
+
* Return new node. Lattice objects has the ownership of the node.
|
936
|
+
* @return new node object
|
937
|
+
*/
|
938
|
+
virtual Node *newNode() = 0;
|
939
|
+
|
940
|
+
/**
|
941
|
+
* Return string representation of the lattice.
|
942
|
+
* Returned object is managed by this instance. When clear/set_sentence() method
|
943
|
+
* is called, the returned buffer is initialized.
|
944
|
+
* @return string representation of the lattice
|
945
|
+
*/
|
946
|
+
virtual const char *toString() = 0;
|
947
|
+
|
948
|
+
/**
|
949
|
+
* Return string representation of the node.
|
950
|
+
* Returned object is managed by this instance. When clear/set_sentence() method
|
951
|
+
* is called, the returned buffer is initialized.
|
952
|
+
* @return string representation of the node
|
953
|
+
* @param node node object
|
954
|
+
*/
|
955
|
+
virtual const char *toString(const Node *node) = 0;
|
956
|
+
|
957
|
+
/**
|
958
|
+
* Return string representation of the N-best results.
|
959
|
+
* Returned object is managed by this instance. When clear/set_sentence() method
|
960
|
+
* is called, the returned buffer is initialized.
|
961
|
+
* @return string representation of the node
|
962
|
+
* @param N how many results you want to obtain
|
963
|
+
*/
|
964
|
+
virtual const char *enumNBestAsString(size_t N) = 0;
|
965
|
+
|
966
|
+
#ifndef SWIG
|
967
|
+
/**
|
968
|
+
* Return string representation of the lattice.
|
969
|
+
* Result is saved in the specified buffer.
|
970
|
+
* @param buf output buffer
|
971
|
+
* @param size output buffer size
|
972
|
+
* @return string representation of the lattice
|
973
|
+
*/
|
974
|
+
virtual const char *toString(char *buf, size_t size) = 0;
|
975
|
+
|
976
|
+
/**
|
977
|
+
* Return string representation of the node.
|
978
|
+
* Result is saved in the specified buffer.
|
979
|
+
* @param node node object
|
980
|
+
* @param buf output buffer
|
981
|
+
* @param size output buffer size
|
982
|
+
* @return string representation of the lattice
|
983
|
+
*/
|
984
|
+
virtual const char *toString(const Node *node,
|
985
|
+
char *buf, size_t size) = 0;
|
986
|
+
|
987
|
+
/**
|
988
|
+
* Return string representation of the N-best result.
|
989
|
+
* Result is saved in the specified.
|
990
|
+
* @param N how many results you want to obtain
|
991
|
+
* @param buf output buffer
|
992
|
+
* @param size output buffer size
|
993
|
+
* @return string representation of the lattice
|
994
|
+
*/
|
995
|
+
virtual const char *enumNBestAsString(size_t N, char *buf, size_t size) = 0;
|
996
|
+
#endif
|
997
|
+
|
998
|
+
/**
|
999
|
+
* Returns true if any parsing constraint is set
|
1000
|
+
*/
|
1001
|
+
virtual bool has_constraint() const = 0;
|
1002
|
+
|
1003
|
+
/**
|
1004
|
+
* Returns the boundary constraint at the position.
|
1005
|
+
* @param pos the position of constraint
|
1006
|
+
* @return boundary constraint type
|
1007
|
+
*/
|
1008
|
+
virtual int boundary_constraint(size_t pos) const = 0;
|
1009
|
+
|
1010
|
+
/**
|
1011
|
+
* Returns the token constraint at the position.
|
1012
|
+
* @param pos the beginning position of constraint.
|
1013
|
+
* @return constrained node starting at the position.
|
1014
|
+
*/
|
1015
|
+
virtual const char *feature_constraint(size_t pos) const = 0;
|
1016
|
+
|
1017
|
+
/**
|
1018
|
+
* Set parsing constraint for partial parsing mode.
|
1019
|
+
* @param pos the position of the boundary
|
1020
|
+
* @param boundary_constraint_type the type of boundary
|
1021
|
+
*/
|
1022
|
+
virtual void set_boundary_constraint(size_t pos,
|
1023
|
+
int boundary_constraint_type) = 0;
|
1024
|
+
|
1025
|
+
/**
|
1026
|
+
* Set parsing constraint for partial parsing mode.
|
1027
|
+
* @param begin_pos the starting position of the constrained token.
|
1028
|
+
* @param end_pos the the ending position of the constrained token.
|
1029
|
+
* @param feature the feature of the constrained token.
|
1030
|
+
*/
|
1031
|
+
virtual void set_feature_constraint(
|
1032
|
+
size_t begin_pos, size_t end_pos,
|
1033
|
+
const char *feature) = 0;
|
1034
|
+
|
1035
|
+
/**
|
1036
|
+
* Set golden parsing results for unittesting.
|
1037
|
+
* @param result the parsing result written in the standard mecab output.
|
1038
|
+
*/
|
1039
|
+
virtual void set_result(const char *result) = 0;
|
1040
|
+
|
1041
|
+
/**
|
1042
|
+
* Return error string.
|
1043
|
+
* @return error string
|
1044
|
+
*/
|
1045
|
+
virtual const char *what() const = 0;
|
1046
|
+
|
1047
|
+
/**
|
1048
|
+
* Set error string. given string is copied to the internal buffer.
|
1049
|
+
* @param str new error string
|
1050
|
+
*/
|
1051
|
+
virtual void set_what(const char *str) = 0;
|
1052
|
+
|
1053
|
+
#ifndef SWIG
|
1054
|
+
/**
|
1055
|
+
* Create new Lattice object
|
1056
|
+
* @return new Lattice object
|
1057
|
+
*/
|
1058
|
+
static Lattice *create();
|
221
1059
|
#endif
|
222
1060
|
|
1061
|
+
virtual ~Lattice() {}
|
1062
|
+
};
|
1063
|
+
|
1064
|
+
/**
|
1065
|
+
* Model class
|
1066
|
+
*/
|
1067
|
+
class MECAB_DLL_CLASS_EXTERN Model {
|
1068
|
+
public:
|
1069
|
+
/**
|
1070
|
+
* Return DictionaryInfo linked list.
|
1071
|
+
* @return DictionaryInfo linked list
|
1072
|
+
*/
|
1073
|
+
virtual const DictionaryInfo *dictionary_info() const = 0;
|
1074
|
+
|
1075
|
+
/**
|
1076
|
+
* Return transtion cost from rcAttr to lcAttr.
|
1077
|
+
* @return transtion cost
|
1078
|
+
*/
|
1079
|
+
virtual int transition_cost(unsigned short rcAttr,
|
1080
|
+
unsigned short lcAttr) const = 0;
|
1081
|
+
|
1082
|
+
/**
|
1083
|
+
* perform common prefix search from the range [begin, end).
|
1084
|
+
* |lattice| takes the ownership of return value.
|
1085
|
+
* @return node linked list.
|
1086
|
+
*/
|
1087
|
+
virtual Node *lookup(const char *begin, const char *end,
|
1088
|
+
Lattice *lattice) const = 0;
|
1089
|
+
|
1090
|
+
/**
|
1091
|
+
* Create a new Tagger object.
|
1092
|
+
* All returned tagger object shares this model object as a parsing model.
|
1093
|
+
* Never delete this model object before deleting tagger object.
|
1094
|
+
* @return new Tagger object
|
1095
|
+
*/
|
1096
|
+
virtual Tagger *createTagger() const = 0;
|
1097
|
+
|
1098
|
+
/**
|
1099
|
+
* Create a new Lattice object.
|
1100
|
+
* @return new Lattice object
|
1101
|
+
*/
|
1102
|
+
virtual Lattice *createLattice() const = 0;
|
1103
|
+
|
1104
|
+
/**
|
1105
|
+
* Swap the instance with |model|.
|
1106
|
+
* The ownership of |model| always moves to this instance,
|
1107
|
+
* meaning that passed |model| will no longer be accessible after calling this method.
|
1108
|
+
* return true if new model is swapped successfully.
|
1109
|
+
* This method is thread safe. All taggers created by
|
1110
|
+
* Model::createTagger() method will also be updated asynchronously.
|
1111
|
+
* No need to stop the parsing thread excplicitly before swapping model object.
|
1112
|
+
* @return boolean
|
1113
|
+
* @param model new model which is going to be swapped with the current model.
|
1114
|
+
*/
|
1115
|
+
virtual bool swap(Model *model) = 0;
|
1116
|
+
|
1117
|
+
/**
|
1118
|
+
* Return a version string
|
1119
|
+
* @return version string
|
1120
|
+
*/
|
1121
|
+
static const char *version();
|
1122
|
+
|
1123
|
+
virtual ~Model() {}
|
1124
|
+
|
1125
|
+
#ifndef SIWG
|
1126
|
+
/**
|
1127
|
+
* Factory method to create a new Model with a specified main's argc/argv-style parameters.
|
1128
|
+
* Return NULL if new model cannot be initialized. Use MeCab::getLastError() to obtain the
|
1129
|
+
* cause of the errors.
|
1130
|
+
* @return new Model object
|
1131
|
+
* @param argc number of parameters
|
1132
|
+
* @param argv parameter list
|
1133
|
+
*/
|
1134
|
+
static Model* create(int argc, char **argv);
|
1135
|
+
|
1136
|
+
/**
|
1137
|
+
* Factory method to create a new Model with a string parameter representation, i.e.,
|
1138
|
+
* "-d /user/local/mecab/dic/ipadic -Ochasen".
|
1139
|
+
* Return NULL if new model cannot be initialized. Use MeCab::getLastError() to obtain the
|
1140
|
+
* cause of the errors.
|
1141
|
+
* @return new Model object
|
1142
|
+
* @param arg single string representation of the argment.
|
1143
|
+
*/
|
1144
|
+
static Model* create(const char *arg);
|
1145
|
+
#endif
|
1146
|
+
};
|
1147
|
+
|
1148
|
+
/**
|
1149
|
+
* Tagger class
|
1150
|
+
*/
|
1151
|
+
class MECAB_DLL_CLASS_EXTERN Tagger {
|
1152
|
+
public:
|
1153
|
+
/**
|
1154
|
+
* Handy static method.
|
1155
|
+
* Return true if lattice is parsed successfully.
|
1156
|
+
* This function is equivalent to
|
1157
|
+
* {
|
1158
|
+
* Tagger *tagger = model.createModel();
|
1159
|
+
* cosnt bool result = tagger->parse(lattice);
|
1160
|
+
* delete tagger;
|
1161
|
+
* return result;
|
1162
|
+
* }
|
1163
|
+
* @return boolean
|
1164
|
+
*/
|
1165
|
+
static bool parse(const Model &model, Lattice *lattice);
|
1166
|
+
|
1167
|
+
/**
|
1168
|
+
* Parse lattice object.
|
1169
|
+
* Return true if lattice is parsed successfully.
|
1170
|
+
* A sentence must be set to the lattice with Lattice:set_sentence object before calling this method.
|
1171
|
+
* Parsed node object can be obtained with Lattice:bos_node.
|
1172
|
+
* This method is thread safe.
|
1173
|
+
* @return lattice lattice object
|
1174
|
+
* @return boolean
|
1175
|
+
*/
|
1176
|
+
virtual bool parse(Lattice *lattice) const = 0;
|
1177
|
+
|
1178
|
+
/**
|
1179
|
+
* Parse given sentence and return parsed result as string.
|
1180
|
+
* You should not delete the returned string. The returned buffer
|
1181
|
+
* is overwritten when parse method is called again.
|
1182
|
+
* This method is NOT thread safe.
|
1183
|
+
* @param str sentence
|
1184
|
+
* @return parsed result
|
1185
|
+
*/
|
223
1186
|
virtual const char* parse(const char *str) = 0;
|
1187
|
+
|
1188
|
+
/**
|
1189
|
+
* Parse given sentence and return Node object.
|
1190
|
+
* You should not delete the returned node object. The returned buffer
|
1191
|
+
* is overwritten when parse method is called again.
|
1192
|
+
* You can traverse all nodes via Node::next member.
|
1193
|
+
* This method is NOT thread safe.
|
1194
|
+
* @param str sentence
|
1195
|
+
* @return bos node object
|
1196
|
+
*/
|
224
1197
|
virtual const Node* parseToNode(const char *str) = 0;
|
1198
|
+
|
1199
|
+
/**
|
1200
|
+
* Parse given sentence and obtain N-best results as a string format.
|
1201
|
+
* Currently, N must be 1 <= N <= 512 due to the limitation of the buffer size.
|
1202
|
+
* You should not delete the returned string. The returned buffer
|
1203
|
+
* is overwritten when parse method is called again.
|
1204
|
+
* This method is DEPRECATED. Use Lattice class.
|
1205
|
+
* @param N how many results you want to obtain
|
1206
|
+
* @param str sentence
|
1207
|
+
* @return parsed result
|
1208
|
+
*/
|
225
1209
|
virtual const char* parseNBest(size_t N, const char *str) = 0;
|
1210
|
+
|
1211
|
+
/**
|
1212
|
+
* Initialize N-best enumeration with a sentence.
|
1213
|
+
* Return true if initialization finishes successfully.
|
1214
|
+
* N-best result is obtained by calling next() or nextNode() in sequence.
|
1215
|
+
* This method is NOT thread safe.
|
1216
|
+
* This method is DEPRECATED. Use Lattice class.
|
1217
|
+
* @param str sentence
|
1218
|
+
* @return boolean
|
1219
|
+
*/
|
226
1220
|
virtual bool parseNBestInit(const char *str) = 0;
|
1221
|
+
|
1222
|
+
/**
|
1223
|
+
* Return next-best parsed result. You must call parseNBestInit() in advance.
|
1224
|
+
* Return NULL if no more reuslt is available.
|
1225
|
+
* This method is NOT thread safe.
|
1226
|
+
* This method is DEPRECATED. Use Lattice class.
|
1227
|
+
* @return node object
|
1228
|
+
*/
|
227
1229
|
virtual const Node* nextNode() = 0;
|
1230
|
+
|
1231
|
+
/**
|
1232
|
+
* Return next-best parsed result. You must call parseNBestInit() in advance.
|
1233
|
+
* Return NULL if no more reuslt is available.
|
1234
|
+
* This method is NOT thread safe.
|
1235
|
+
* This method is DEPRECATED. Use Lattice class.
|
1236
|
+
* @return parsed result
|
1237
|
+
*/
|
228
1238
|
virtual const char* next() = 0;
|
1239
|
+
|
1240
|
+
/**
|
1241
|
+
* Return formatted node object. The format is specified with
|
1242
|
+
* --unk-format, --bos-format, --eos-format, and --eon-format respectively.
|
1243
|
+
* You should not delete the returned string. The returned buffer
|
1244
|
+
* is overwritten when parse method is called again.
|
1245
|
+
* This method is NOT thread safe.
|
1246
|
+
* This method is DEPRECATED. Use Lattice class.
|
1247
|
+
* @param node node object.
|
1248
|
+
* @return parsed result
|
1249
|
+
*/
|
229
1250
|
virtual const char* formatNode(const Node *node) = 0;
|
230
1251
|
|
231
|
-
|
1252
|
+
#ifndef SWIG
|
1253
|
+
/**
|
1254
|
+
* The same as parse() method, but input length and output buffer are passed.
|
1255
|
+
* Return parsed result as string. The result pointer is the same as |ostr|.
|
1256
|
+
* Return NULL, if parsed result string cannot be stored within |olen| bytes.
|
1257
|
+
* @param str sentence
|
1258
|
+
* @param len sentence length
|
1259
|
+
* @param ostr output buffer
|
1260
|
+
* @param olen output buffer length
|
1261
|
+
* @return parsed result
|
1262
|
+
*/
|
1263
|
+
virtual const char* parse(const char *str, size_t len, char *ostr, size_t olen) = 0;
|
1264
|
+
|
1265
|
+
/**
|
1266
|
+
* The same as parse() method, but input length can be passed.
|
1267
|
+
* @param str sentence
|
1268
|
+
* @param len sentence length
|
1269
|
+
* @return parsed result
|
1270
|
+
*/
|
1271
|
+
virtual const char* parse(const char *str, size_t len) = 0;
|
1272
|
+
|
1273
|
+
/**
|
1274
|
+
* The same as parseToNode(), but input lenth can be passed.
|
1275
|
+
* @param str sentence
|
1276
|
+
* @param len sentence length
|
1277
|
+
* @return node object
|
1278
|
+
*/
|
1279
|
+
virtual const Node* parseToNode(const char *str, size_t len) = 0;
|
1280
|
+
|
1281
|
+
/**
|
1282
|
+
* The same as parseNBest(), but input length can be passed.
|
1283
|
+
* @param N how many results you want to obtain
|
1284
|
+
* @param str sentence
|
1285
|
+
* @param len sentence length
|
1286
|
+
* @return parsed result
|
1287
|
+
*/
|
1288
|
+
virtual const char* parseNBest(size_t N, const char *str, size_t len) = 0;
|
1289
|
+
|
1290
|
+
/**
|
1291
|
+
* The same as parseNBestInit(), but input length can be passed.
|
1292
|
+
* @param str sentence
|
1293
|
+
* @param len sentence length
|
1294
|
+
* @return boolean
|
1295
|
+
* @return parsed result
|
1296
|
+
*/
|
1297
|
+
virtual bool parseNBestInit(const char *str, size_t len) = 0;
|
1298
|
+
|
1299
|
+
/**
|
1300
|
+
* The same as next(), but output buffer can be passed.
|
1301
|
+
* Return NULL if more than |olen| buffer is required to store output string.
|
1302
|
+
* @param ostr output buffer
|
1303
|
+
* @param olen output buffer length
|
1304
|
+
* @return parsed result
|
1305
|
+
*/
|
1306
|
+
virtual const char* next(char *ostr , size_t olen) = 0;
|
1307
|
+
|
1308
|
+
/**
|
1309
|
+
* The same as parseNBest(), but input length and output buffer can be passed.
|
1310
|
+
* Return NULL if more than |olen| buffer is required to store output string.
|
1311
|
+
* @param N how many results you want to obtain
|
1312
|
+
* @param str input sentence
|
1313
|
+
* @param len input sentence length
|
1314
|
+
* @param ostr output buffer
|
1315
|
+
* @param olen output buffer length
|
1316
|
+
* @return parsed result
|
1317
|
+
*/
|
1318
|
+
virtual const char* parseNBest(size_t N, const char *str,
|
1319
|
+
size_t len, char *ostr, size_t olen) = 0;
|
1320
|
+
|
1321
|
+
/**
|
1322
|
+
* The same as formatNode(), but output buffer can be passed.
|
1323
|
+
* Return NULL if more than |olen| buffer is required to store output string.
|
1324
|
+
* @param node node object
|
1325
|
+
* @param ostr output buffer
|
1326
|
+
* @param olen output buffer length
|
1327
|
+
* @return parsed result
|
1328
|
+
*/
|
1329
|
+
virtual const char* formatNode(const Node *node, char *ostr, size_t olen) = 0;
|
1330
|
+
#endif
|
1331
|
+
|
1332
|
+
/**
|
1333
|
+
* Set request type.
|
1334
|
+
* This method is DEPRECATED. Use Lattice::set_request_type(MECAB_PARTIAL).
|
1335
|
+
* @param request_type new request type assigned
|
1336
|
+
*/
|
1337
|
+
virtual void set_request_type(int request_type) = 0;
|
1338
|
+
|
1339
|
+
/**
|
1340
|
+
* Return the current request type.
|
1341
|
+
* This method is DEPRECATED. Use Lattice class.
|
1342
|
+
* @return request type
|
1343
|
+
*/
|
1344
|
+
virtual int request_type() const = 0;
|
1345
|
+
|
1346
|
+
/**
|
1347
|
+
* Return true if partial parsing mode is on.
|
1348
|
+
* This method is DEPRECATED. Use Lattice::has_request_type(MECAB_PARTIAL).
|
1349
|
+
* @return boolean
|
1350
|
+
*/
|
232
1351
|
virtual bool partial() const = 0;
|
1352
|
+
|
1353
|
+
/**
|
1354
|
+
* set partial parsing mode.
|
1355
|
+
* This method is DEPRECATED. Use Lattice::add_request_type(MECAB_PARTIAL) or Lattice::remove_request_type(MECAB_PARTIAL)
|
1356
|
+
* @param partial partial mode
|
1357
|
+
*/
|
233
1358
|
virtual void set_partial(bool partial) = 0;
|
234
|
-
|
235
|
-
|
1359
|
+
|
1360
|
+
/**
|
1361
|
+
* Return lattice level.
|
1362
|
+
* This method is DEPRECATED. Use Lattice::*_request_type()
|
1363
|
+
* @return int lattice level
|
1364
|
+
*/
|
236
1365
|
virtual int lattice_level() const = 0;
|
1366
|
+
|
1367
|
+
/**
|
1368
|
+
* Set lattice level.
|
1369
|
+
* This method is DEPRECATED. Use Lattice::*_request_type()
|
1370
|
+
* @param level lattice level
|
1371
|
+
*/
|
237
1372
|
virtual void set_lattice_level(int level) = 0;
|
1373
|
+
|
1374
|
+
/**
|
1375
|
+
* Return true if all morphs output mode is on.
|
1376
|
+
* This method is DEPRECATED. Use Lattice::has_request_type(MECAB_ALL_MORPHS).
|
1377
|
+
* @return boolean
|
1378
|
+
*/
|
238
1379
|
virtual bool all_morphs() const = 0;
|
1380
|
+
|
1381
|
+
/**
|
1382
|
+
* set all-morphs output mode.
|
1383
|
+
* This method is DEPRECATED. Use Lattice::add_request_type(MECAB_ALL_MORPHS) or Lattice::remove_request_type(MECAB_ALL_MORPHS)
|
1384
|
+
* @param all_morphs
|
1385
|
+
*/
|
239
1386
|
virtual void set_all_morphs(bool all_morphs) = 0;
|
240
1387
|
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
virtual
|
246
|
-
#endif
|
1388
|
+
/**
|
1389
|
+
* Set temparature parameter theta.
|
1390
|
+
* @param theta temparature parameter.
|
1391
|
+
*/
|
1392
|
+
virtual void set_theta(float theta) = 0;
|
247
1393
|
|
1394
|
+
/**
|
1395
|
+
* Return temparature parameter theta.
|
1396
|
+
* @return temparature parameter.
|
1397
|
+
*/
|
1398
|
+
virtual float theta() const = 0;
|
1399
|
+
|
1400
|
+
/**
|
1401
|
+
* Return DictionaryInfo linked list.
|
1402
|
+
* @return DictionaryInfo linked list
|
1403
|
+
*/
|
248
1404
|
virtual const DictionaryInfo* dictionary_info() const = 0;
|
249
1405
|
|
250
|
-
|
1406
|
+
/**
|
1407
|
+
* Return error string.
|
1408
|
+
* @return error string
|
1409
|
+
*/
|
1410
|
+
virtual const char* what() const = 0;
|
251
1411
|
|
252
1412
|
virtual ~Tagger() {}
|
253
1413
|
|
254
1414
|
#ifndef SIWG
|
255
|
-
|
256
|
-
|
1415
|
+
/**
|
1416
|
+
* Factory method to create a new Tagger with a specified main's argc/argv-style parameters.
|
1417
|
+
* Return NULL if new model cannot be initialized. Use MeCab::getLastError() to obtain the
|
1418
|
+
* cause of the errors.
|
1419
|
+
* @return new Tagger object
|
1420
|
+
* @param argc number of parameters
|
1421
|
+
* @param argv parameter list
|
1422
|
+
*/
|
1423
|
+
static Tagger *create(int argc, char **argv);
|
1424
|
+
|
1425
|
+
/**
|
1426
|
+
* Factory method to create a new Tagger with a string parameter representation, i.e.,
|
1427
|
+
* "-d /user/local/mecab/dic/ipadic -Ochasen".
|
1428
|
+
* Return NULL if new model cannot be initialized. Use MeCab::getLastError() to obtain the
|
1429
|
+
* cause of the errors.
|
1430
|
+
* @return new Model object
|
1431
|
+
* @param arg single string representation of the argment.
|
1432
|
+
*/
|
1433
|
+
static Tagger *create(const char *arg);
|
257
1434
|
#endif
|
258
1435
|
|
1436
|
+
/**
|
1437
|
+
* Return a version string
|
1438
|
+
* @return version string
|
1439
|
+
*/
|
259
1440
|
static const char *version();
|
260
1441
|
};
|
261
1442
|
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
1443
|
+
#ifndef SWIG
|
1444
|
+
/**
|
1445
|
+
* Alias of Lattice::create()
|
1446
|
+
*/
|
1447
|
+
MECAB_DLL_EXTERN Lattice *createLattice();
|
1448
|
+
|
1449
|
+
/**
|
1450
|
+
* Alias of Mode::create(argc, argv)
|
1451
|
+
*/
|
1452
|
+
MECAB_DLL_EXTERN Model *createModel(int argc, char **argv);
|
1453
|
+
|
1454
|
+
/**
|
1455
|
+
* Alias of Mode::create(arg)
|
1456
|
+
*/
|
1457
|
+
MECAB_DLL_EXTERN Model *createModel(const char *arg);
|
1458
|
+
|
1459
|
+
/**
|
1460
|
+
* Alias of Tagger::create(argc, argv)
|
1461
|
+
*/
|
1462
|
+
MECAB_DLL_EXTERN Tagger *createTagger(int argc, char **argv);
|
267
1463
|
|
1464
|
+
/**
|
1465
|
+
* Alias of Tagger::create(arg)
|
1466
|
+
*/
|
1467
|
+
MECAB_DLL_EXTERN Tagger *createTagger(const char *arg);
|
1468
|
+
|
1469
|
+
/**
|
1470
|
+
* delete Lattice object.
|
1471
|
+
* This method calles "delete lattice".
|
1472
|
+
* In some environment, e.g., MS-Windows, an object allocated inside a DLL must be deleted in the same DLL too.
|
1473
|
+
* @param lattice lattice object
|
1474
|
+
*/
|
1475
|
+
MECAB_DLL_EXTERN void deleteLattice(Lattice *lattice);
|
1476
|
+
|
1477
|
+
|
1478
|
+
/**
|
1479
|
+
* delete Model object.
|
1480
|
+
* This method calles "delete model".
|
1481
|
+
* In some environment, e.g., MS-Windows, an object allocated inside a DLL must be deleted in the same DLL too.
|
1482
|
+
* @param model model object
|
1483
|
+
*/
|
1484
|
+
MECAB_DLL_EXTERN void deleteModel(Model *model);
|
1485
|
+
|
1486
|
+
/**
|
1487
|
+
* delete Tagger object.
|
1488
|
+
* This method calles "delete tagger".
|
1489
|
+
* In some environment, e.g., MS-Windows, an object allocated inside a DLL must be deleted in the same DLL too.
|
1490
|
+
* @param tagger tagger object
|
1491
|
+
*/
|
1492
|
+
MECAB_DLL_EXTERN void deleteTagger(Tagger *tagger);
|
1493
|
+
|
1494
|
+
/**
|
1495
|
+
* Return last error string.
|
1496
|
+
* @return error string
|
1497
|
+
*/
|
1498
|
+
MECAB_DLL_EXTERN const char* getLastError();
|
1499
|
+
|
1500
|
+
/**
|
1501
|
+
* An alias of getLastError.
|
1502
|
+
* It is kept for backward compatibility.
|
1503
|
+
* @return error string
|
1504
|
+
*/
|
1505
|
+
MECAB_DLL_EXTERN const char* getTaggerError();
|
268
1506
|
#endif
|
1507
|
+
}
|
269
1508
|
#endif
|
1509
|
+
#endif /* MECAB_MECAB_H_ */
|