rroonga 5.1.1-x86-mingw32 → 6.0.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1228) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +2 -1
  3. data/bin/grndump +9 -0
  4. data/doc/text/cross-compile.md +72 -0
  5. data/doc/text/install.md +121 -0
  6. data/doc/text/news.md +1451 -0
  7. data/doc/text/release.md +135 -0
  8. data/doc/text/tutorial.md +402 -0
  9. data/ext/groonga/rb-grn-column.c +54 -24
  10. data/ext/groonga/rb-grn-config.c +131 -10
  11. data/ext/groonga/rb-grn-context.c +0 -10
  12. data/ext/groonga/rb-grn-encoding.c +0 -2
  13. data/ext/groonga/rb-grn-expression.c +63 -3
  14. data/ext/groonga/rb-grn-index.c +34 -0
  15. data/ext/groonga/rb-grn-object.c +10 -10
  16. data/ext/groonga/rb-grn-operator.c +7 -0
  17. data/ext/groonga/rb-grn-plugin.c +39 -0
  18. data/ext/groonga/rb-grn-utils.c +5 -65
  19. data/ext/groonga/rb-grn.h +9 -9
  20. data/ext/groonga/rb-groonga.c +31 -1
  21. data/lib/2.1/groonga.so +0 -0
  22. data/lib/2.2/groonga.so +0 -0
  23. data/lib/2.3/groonga.so +0 -0
  24. data/lib/groonga.rb +1 -0
  25. data/lib/groonga/column.rb +13 -0
  26. data/lib/groonga/dumper.rb +3 -1
  27. data/lib/groonga/expression-builder.rb +66 -18
  28. data/lib/groonga/{expression-builder-19.rb → index.rb} +11 -19
  29. data/lib/groonga/record.rb +1 -1
  30. data/lib/rroonga.rb +16 -0
  31. data/rroonga-build.rb +6 -6
  32. data/rroonga.gemspec +1 -1
  33. data/test/groonga-test-utils.rb +0 -8
  34. data/test/test-column.rb +107 -1
  35. data/test/test-config.rb +18 -0
  36. data/test/test-database.rb +0 -2
  37. data/test/test-error-message.rb +20 -0
  38. data/test/test-expression-builder.rb +172 -29
  39. data/test/test-plugin.rb +25 -1
  40. data/test/test-table-dumper.rb +35 -6
  41. data/test/test-table-select.rb +0 -1
  42. data/vendor/local/bin/grndb.exe +0 -0
  43. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  44. data/vendor/local/bin/groonga.exe +0 -0
  45. data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
  46. data/vendor/local/bin/libgroonga-0.dll +0 -0
  47. data/vendor/local/bin/libmecab-2.dll +0 -0
  48. data/vendor/local/bin/libmsgpack-4.dll +0 -0
  49. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  50. data/vendor/local/bin/libonig-5.dll +0 -0
  51. data/vendor/local/bin/libstdc++-6.dll +0 -0
  52. data/vendor/local/bin/lz4.exe +0 -0
  53. data/vendor/local/bin/lz4c.exe +0 -0
  54. data/vendor/local/bin/lz4cat +0 -0
  55. data/vendor/local/bin/mecab-config +5 -5
  56. data/vendor/local/bin/mecab.exe +0 -0
  57. data/vendor/local/bin/onig-config +1 -1
  58. data/vendor/local/bin/zlib1.dll +0 -0
  59. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
  60. data/vendor/local/include/groonga/groonga.h +16 -11
  61. data/vendor/local/include/groonga/groonga/array.h +76 -0
  62. data/vendor/local/include/groonga/groonga/command.h +3 -5
  63. data/vendor/local/include/groonga/groonga/config.h +65 -0
  64. data/vendor/local/include/groonga/groonga/dat.h +100 -0
  65. data/vendor/local/include/groonga/groonga/dump.h +34 -0
  66. data/vendor/local/include/groonga/groonga/expr.h +21 -16
  67. data/vendor/local/include/groonga/groonga/file_reader.h +2 -5
  68. data/vendor/local/include/groonga/groonga/geo.h +2 -5
  69. data/vendor/local/include/groonga/groonga/groonga.h +28 -270
  70. data/vendor/local/include/groonga/groonga/hash.h +89 -0
  71. data/vendor/local/include/groonga/groonga/ii.h +3 -5
  72. data/vendor/local/include/groonga/groonga/nfkc.h +4 -5
  73. data/vendor/local/include/groonga/groonga/normalizer.h +3 -5
  74. data/vendor/local/include/groonga/groonga/obj.h +7 -5
  75. data/vendor/local/include/groonga/groonga/output.h +3 -5
  76. data/vendor/local/include/groonga/groonga/pat.h +102 -0
  77. data/vendor/local/include/groonga/groonga/plugin.h +29 -12
  78. data/vendor/local/include/groonga/groonga/portability.h +3 -5
  79. data/vendor/local/include/groonga/groonga/request_canceler.h +2 -5
  80. data/vendor/local/include/groonga/groonga/scorer.h +3 -5
  81. data/vendor/local/include/groonga/groonga/thread.h +2 -5
  82. data/vendor/local/include/groonga/groonga/token.h +5 -6
  83. data/vendor/local/include/groonga/groonga/token_filter.h +3 -5
  84. data/vendor/local/include/groonga/groonga/tokenizer.h +3 -5
  85. data/vendor/local/include/groonga/groonga/type.h +31 -0
  86. data/vendor/local/include/groonga/groonga/util.h +3 -5
  87. data/vendor/local/include/groonga/groonga/windows.h +2 -5
  88. data/vendor/local/include/groonga/groonga/windows_event_logger.h +2 -5
  89. data/vendor/local/include/mecab.h +1336 -96
  90. data/vendor/local/include/msgpack.h +3 -11
  91. data/vendor/local/include/msgpack.hpp +4 -11
  92. data/vendor/local/include/msgpack/adaptor/adaptor_base.hpp +84 -0
  93. data/vendor/local/include/msgpack/adaptor/array_ref.hpp +174 -0
  94. data/vendor/local/include/msgpack/adaptor/bool.hpp +41 -33
  95. data/vendor/local/include/msgpack/adaptor/boost/fusion.hpp +160 -0
  96. data/vendor/local/include/msgpack/adaptor/boost/msgpack_variant.hpp +430 -0
  97. data/vendor/local/include/msgpack/adaptor/boost/optional.hpp +96 -0
  98. data/vendor/local/include/msgpack/adaptor/boost/string_ref.hpp +87 -0
  99. data/vendor/local/include/msgpack/adaptor/char_ptr.hpp +132 -53
  100. data/vendor/local/include/msgpack/adaptor/check_container_size.hpp +18 -12
  101. data/vendor/local/include/msgpack/adaptor/cpp11/array.hpp +106 -44
  102. data/vendor/local/include/msgpack/adaptor/cpp11/array_char.hpp +59 -54
  103. data/vendor/local/include/msgpack/adaptor/cpp11/array_unsigned_char.hpp +89 -0
  104. data/vendor/local/include/msgpack/adaptor/cpp11/forward_list.hpp +65 -46
  105. data/vendor/local/include/msgpack/adaptor/cpp11/reference_wrapper.hpp +68 -0
  106. data/vendor/local/include/msgpack/adaptor/cpp11/shared_ptr.hpp +82 -0
  107. data/vendor/local/include/msgpack/adaptor/cpp11/tuple.hpp +88 -64
  108. data/vendor/local/include/msgpack/adaptor/cpp11/unique_ptr.hpp +82 -0
  109. data/vendor/local/include/msgpack/adaptor/cpp11/unordered_map.hpp +151 -111
  110. data/vendor/local/include/msgpack/adaptor/cpp11/unordered_set.hpp +142 -104
  111. data/vendor/local/include/msgpack/adaptor/define.hpp +15 -13
  112. data/vendor/local/include/msgpack/adaptor/deque.hpp +78 -53
  113. data/vendor/local/include/msgpack/adaptor/detail/{cpp03_define.hpp → cpp03_define_array.hpp} +225 -210
  114. data/vendor/local/include/msgpack/adaptor/detail/cpp03_define_map.hpp +2791 -0
  115. data/vendor/local/include/msgpack/adaptor/detail/cpp03_msgpack_tuple.hpp +3070 -3079
  116. data/vendor/local/include/msgpack/adaptor/detail/{cpp11_define.hpp → cpp11_define_array.hpp} +71 -62
  117. data/vendor/local/include/msgpack/adaptor/detail/cpp11_define_map.hpp +163 -0
  118. data/vendor/local/include/msgpack/adaptor/detail/cpp11_msgpack_tuple.hpp +105 -42
  119. data/vendor/local/include/msgpack/adaptor/ext.hpp +237 -0
  120. data/vendor/local/include/msgpack/adaptor/fixint.hpp +178 -92
  121. data/vendor/local/include/msgpack/adaptor/float.hpp +87 -69
  122. data/vendor/local/include/msgpack/adaptor/int.hpp +243 -123
  123. data/vendor/local/include/msgpack/adaptor/list.hpp +76 -53
  124. data/vendor/local/include/msgpack/adaptor/map.hpp +244 -157
  125. data/vendor/local/include/msgpack/adaptor/msgpack_tuple.hpp +3 -11
  126. data/vendor/local/include/msgpack/adaptor/nil.hpp +45 -29
  127. data/vendor/local/include/msgpack/adaptor/pair.hpp +58 -38
  128. data/vendor/local/include/msgpack/adaptor/raw.hpp +47 -39
  129. data/vendor/local/include/msgpack/adaptor/set.hpp +156 -102
  130. data/vendor/local/include/msgpack/adaptor/string.hpp +58 -50
  131. data/vendor/local/include/msgpack/adaptor/tr1/unordered_map.hpp +120 -113
  132. data/vendor/local/include/msgpack/adaptor/tr1/unordered_set.hpp +114 -106
  133. data/vendor/local/include/msgpack/adaptor/v4raw.hpp +106 -0
  134. data/vendor/local/include/msgpack/adaptor/vector.hpp +94 -60
  135. data/vendor/local/include/msgpack/adaptor/vector_bool.hpp +59 -51
  136. data/vendor/local/include/msgpack/adaptor/vector_char.hpp +62 -54
  137. data/vendor/local/include/msgpack/adaptor/vector_unsigned_char.hpp +89 -0
  138. data/vendor/local/include/msgpack/cpp_config.hpp +37 -22
  139. data/vendor/local/include/msgpack/detail/cpp03_zone.hpp +17 -11
  140. data/vendor/local/include/msgpack/detail/cpp11_zone.hpp +19 -19
  141. data/vendor/local/include/msgpack/fbuffer.h +3 -11
  142. data/vendor/local/include/msgpack/fbuffer.hpp +7 -11
  143. data/vendor/local/include/msgpack/gcc_atomic.h +3 -11
  144. data/vendor/local/include/msgpack/iterator.hpp +9 -13
  145. data/vendor/local/include/msgpack/meta.hpp +51 -0
  146. data/vendor/local/include/msgpack/object.h +3 -11
  147. data/vendor/local/include/msgpack/object.hpp +390 -290
  148. data/vendor/local/include/msgpack/object_fwd.hpp +57 -44
  149. data/vendor/local/include/msgpack/pack.h +6 -12
  150. data/vendor/local/include/msgpack/pack.hpp +58 -30
  151. data/vendor/local/include/msgpack/pack_define.h +3 -11
  152. data/vendor/local/include/msgpack/pack_template.h +35 -15
  153. data/vendor/local/include/msgpack/predef.h +19 -0
  154. data/vendor/local/include/msgpack/predef/architecture.h +30 -0
  155. data/vendor/local/include/msgpack/predef/architecture/alpha.h +60 -0
  156. data/vendor/local/include/msgpack/predef/architecture/arm.h +71 -0
  157. data/vendor/local/include/msgpack/predef/architecture/blackfin.h +47 -0
  158. data/vendor/local/include/msgpack/predef/architecture/convex.h +67 -0
  159. data/vendor/local/include/msgpack/predef/architecture/ia64.h +49 -0
  160. data/vendor/local/include/msgpack/predef/architecture/m68k.h +83 -0
  161. data/vendor/local/include/msgpack/predef/architecture/mips.h +74 -0
  162. data/vendor/local/include/msgpack/predef/architecture/parisc.h +65 -0
  163. data/vendor/local/include/msgpack/predef/architecture/ppc.h +73 -0
  164. data/vendor/local/include/msgpack/predef/architecture/pyramid.h +43 -0
  165. data/vendor/local/include/msgpack/predef/architecture/rs6k.h +56 -0
  166. data/vendor/local/include/msgpack/predef/architecture/sparc.h +55 -0
  167. data/vendor/local/include/msgpack/predef/architecture/superh.h +68 -0
  168. data/vendor/local/include/msgpack/predef/architecture/sys370.h +44 -0
  169. data/vendor/local/include/msgpack/predef/architecture/sys390.h +44 -0
  170. data/vendor/local/include/msgpack/predef/architecture/x86.h +38 -0
  171. data/vendor/local/include/msgpack/predef/architecture/x86/32.h +87 -0
  172. data/vendor/local/include/msgpack/predef/architecture/x86/64.h +50 -0
  173. data/vendor/local/include/msgpack/predef/architecture/z.h +43 -0
  174. data/vendor/local/include/msgpack/predef/compiler.h +41 -0
  175. data/vendor/local/include/msgpack/predef/compiler/borland.h +64 -0
  176. data/vendor/local/include/msgpack/predef/compiler/clang.h +57 -0
  177. data/vendor/local/include/msgpack/predef/compiler/comeau.h +62 -0
  178. data/vendor/local/include/msgpack/predef/compiler/compaq.h +67 -0
  179. data/vendor/local/include/msgpack/predef/compiler/diab.h +57 -0
  180. data/vendor/local/include/msgpack/predef/compiler/digitalmars.h +57 -0
  181. data/vendor/local/include/msgpack/predef/compiler/dignus.h +57 -0
  182. data/vendor/local/include/msgpack/predef/compiler/edg.h +57 -0
  183. data/vendor/local/include/msgpack/predef/compiler/ekopath.h +58 -0
  184. data/vendor/local/include/msgpack/predef/compiler/gcc.h +69 -0
  185. data/vendor/local/include/msgpack/predef/compiler/gcc_xml.h +53 -0
  186. data/vendor/local/include/msgpack/predef/compiler/greenhills.h +67 -0
  187. data/vendor/local/include/msgpack/predef/compiler/hp_acc.h +62 -0
  188. data/vendor/local/include/msgpack/predef/compiler/iar.h +57 -0
  189. data/vendor/local/include/msgpack/predef/compiler/ibm.h +73 -0
  190. data/vendor/local/include/msgpack/predef/compiler/intel.h +66 -0
  191. data/vendor/local/include/msgpack/predef/compiler/kai.h +57 -0
  192. data/vendor/local/include/msgpack/predef/compiler/llvm.h +58 -0
  193. data/vendor/local/include/msgpack/predef/compiler/metaware.h +54 -0
  194. data/vendor/local/include/msgpack/predef/compiler/metrowerks.h +78 -0
  195. data/vendor/local/include/msgpack/predef/compiler/microtec.h +54 -0
  196. data/vendor/local/include/msgpack/predef/compiler/mpw.h +64 -0
  197. data/vendor/local/include/msgpack/predef/compiler/palm.h +57 -0
  198. data/vendor/local/include/msgpack/predef/compiler/pgi.h +61 -0
  199. data/vendor/local/include/msgpack/predef/compiler/sgi_mipspro.h +67 -0
  200. data/vendor/local/include/msgpack/predef/compiler/sunpro.h +67 -0
  201. data/vendor/local/include/msgpack/predef/compiler/tendra.h +54 -0
  202. data/vendor/local/include/msgpack/predef/compiler/visualc.h +92 -0
  203. data/vendor/local/include/msgpack/predef/compiler/watcom.h +57 -0
  204. data/vendor/local/include/msgpack/predef/detail/_cassert.h +17 -0
  205. data/vendor/local/include/msgpack/predef/detail/_exception.h +15 -0
  206. data/vendor/local/include/msgpack/predef/detail/comp_detected.h +10 -0
  207. data/vendor/local/include/msgpack/predef/detail/endian_compat.h +26 -0
  208. data/vendor/local/include/msgpack/predef/detail/os_detected.h +10 -0
  209. data/vendor/local/include/msgpack/predef/detail/platform_detected.h +10 -0
  210. data/vendor/local/include/msgpack/predef/detail/test.h +17 -0
  211. data/vendor/local/include/msgpack/predef/language.h +15 -0
  212. data/vendor/local/include/msgpack/predef/language/objc.h +43 -0
  213. data/vendor/local/include/msgpack/predef/language/stdc.h +54 -0
  214. data/vendor/local/include/msgpack/predef/language/stdcpp.h +124 -0
  215. data/vendor/local/include/msgpack/predef/library.h +14 -0
  216. data/vendor/local/include/msgpack/predef/library/c.h +18 -0
  217. data/vendor/local/include/msgpack/predef/library/c/_prefix.h +13 -0
  218. data/vendor/local/include/msgpack/predef/library/c/gnu.h +62 -0
  219. data/vendor/local/include/msgpack/predef/library/c/uc.h +48 -0
  220. data/vendor/local/include/msgpack/predef/library/c/vms.h +48 -0
  221. data/vendor/local/include/msgpack/predef/library/c/zos.h +57 -0
  222. data/vendor/local/include/msgpack/predef/library/std.h +23 -0
  223. data/vendor/local/include/msgpack/predef/library/std/_prefix.h +23 -0
  224. data/vendor/local/include/msgpack/predef/library/std/cxx.h +47 -0
  225. data/vendor/local/include/msgpack/predef/library/std/dinkumware.h +53 -0
  226. data/vendor/local/include/msgpack/predef/library/std/libcomo.h +48 -0
  227. data/vendor/local/include/msgpack/predef/library/std/modena.h +46 -0
  228. data/vendor/local/include/msgpack/predef/library/std/msl.h +54 -0
  229. data/vendor/local/include/msgpack/predef/library/std/roguewave.h +57 -0
  230. data/vendor/local/include/msgpack/predef/library/std/sgi.h +52 -0
  231. data/vendor/local/include/msgpack/predef/library/std/stdcpp3.h +54 -0
  232. data/vendor/local/include/msgpack/predef/library/std/stlport.h +60 -0
  233. data/vendor/local/include/msgpack/predef/library/std/vacpp.h +45 -0
  234. data/vendor/local/include/msgpack/predef/make.h +89 -0
  235. data/vendor/local/include/msgpack/predef/os.h +31 -0
  236. data/vendor/local/include/msgpack/predef/os/aix.h +67 -0
  237. data/vendor/local/include/msgpack/predef/os/amigaos.h +47 -0
  238. data/vendor/local/include/msgpack/predef/os/android.h +46 -0
  239. data/vendor/local/include/msgpack/predef/os/beos.h +46 -0
  240. data/vendor/local/include/msgpack/predef/os/bsd.h +95 -0
  241. data/vendor/local/include/msgpack/predef/os/bsd/bsdi.h +48 -0
  242. data/vendor/local/include/msgpack/predef/os/bsd/dragonfly.h +50 -0
  243. data/vendor/local/include/msgpack/predef/os/bsd/free.h +60 -0
  244. data/vendor/local/include/msgpack/predef/os/bsd/net.h +84 -0
  245. data/vendor/local/include/msgpack/predef/os/bsd/open.h +171 -0
  246. data/vendor/local/include/msgpack/predef/os/cygwin.h +46 -0
  247. data/vendor/local/include/msgpack/predef/os/haiku.h +47 -0
  248. data/vendor/local/include/msgpack/predef/os/hpux.h +48 -0
  249. data/vendor/local/include/msgpack/predef/os/ios.h +51 -0
  250. data/vendor/local/include/msgpack/predef/os/irix.h +47 -0
  251. data/vendor/local/include/msgpack/predef/os/linux.h +47 -0
  252. data/vendor/local/include/msgpack/predef/os/macos.h +66 -0
  253. data/vendor/local/include/msgpack/predef/os/os400.h +46 -0
  254. data/vendor/local/include/msgpack/predef/os/qnxnto.h +60 -0
  255. data/vendor/local/include/msgpack/predef/os/solaris.h +47 -0
  256. data/vendor/local/include/msgpack/predef/os/unix.h +76 -0
  257. data/vendor/local/include/msgpack/predef/os/vms.h +53 -0
  258. data/vendor/local/include/msgpack/predef/os/windows.h +51 -0
  259. data/vendor/local/include/msgpack/predef/other.h +14 -0
  260. data/vendor/local/include/msgpack/predef/other/endian.h +205 -0
  261. data/vendor/local/include/msgpack/predef/platform.h +19 -0
  262. data/vendor/local/include/msgpack/predef/platform/mingw.h +70 -0
  263. data/vendor/local/include/msgpack/predef/platform/windows_desktop.h +44 -0
  264. data/vendor/local/include/msgpack/predef/platform/windows_phone.h +42 -0
  265. data/vendor/local/include/msgpack/predef/platform/windows_runtime.h +44 -0
  266. data/vendor/local/include/msgpack/predef/platform/windows_store.h +42 -0
  267. data/vendor/local/include/msgpack/predef/version.h +15 -0
  268. data/vendor/local/include/msgpack/predef/version_number.h +54 -0
  269. data/vendor/local/include/msgpack/preprocessor.hpp +19 -0
  270. data/vendor/local/include/msgpack/preprocessor/arithmetic.hpp +25 -0
  271. data/vendor/local/include/msgpack/preprocessor/arithmetic/add.hpp +51 -0
  272. data/vendor/local/include/msgpack/preprocessor/arithmetic/dec.hpp +288 -0
  273. data/vendor/local/include/msgpack/preprocessor/arithmetic/detail/div_base.hpp +61 -0
  274. data/vendor/local/include/msgpack/preprocessor/arithmetic/div.hpp +39 -0
  275. data/vendor/local/include/msgpack/preprocessor/arithmetic/inc.hpp +288 -0
  276. data/vendor/local/include/msgpack/preprocessor/arithmetic/mod.hpp +39 -0
  277. data/vendor/local/include/msgpack/preprocessor/arithmetic/mul.hpp +53 -0
  278. data/vendor/local/include/msgpack/preprocessor/arithmetic/sub.hpp +50 -0
  279. data/vendor/local/include/msgpack/preprocessor/array.hpp +32 -0
  280. data/vendor/local/include/msgpack/preprocessor/array/data.hpp +28 -0
  281. data/vendor/local/include/msgpack/preprocessor/array/detail/get_data.hpp +55 -0
  282. data/vendor/local/include/msgpack/preprocessor/array/elem.hpp +29 -0
  283. data/vendor/local/include/msgpack/preprocessor/array/enum.hpp +33 -0
  284. data/vendor/local/include/msgpack/preprocessor/array/insert.hpp +55 -0
  285. data/vendor/local/include/msgpack/preprocessor/array/pop_back.hpp +37 -0
  286. data/vendor/local/include/msgpack/preprocessor/array/pop_front.hpp +38 -0
  287. data/vendor/local/include/msgpack/preprocessor/array/push_back.hpp +35 -0
  288. data/vendor/local/include/msgpack/preprocessor/array/push_front.hpp +35 -0
  289. data/vendor/local/include/msgpack/preprocessor/array/remove.hpp +54 -0
  290. data/vendor/local/include/msgpack/preprocessor/array/replace.hpp +49 -0
  291. data/vendor/local/include/msgpack/preprocessor/array/reverse.hpp +29 -0
  292. data/vendor/local/include/msgpack/preprocessor/array/size.hpp +28 -0
  293. data/vendor/local/include/msgpack/preprocessor/array/to_list.hpp +47 -0
  294. data/vendor/local/include/msgpack/preprocessor/array/to_seq.hpp +46 -0
  295. data/vendor/local/include/msgpack/preprocessor/array/to_tuple.hpp +33 -0
  296. data/vendor/local/include/msgpack/preprocessor/assert_msg.hpp +17 -0
  297. data/vendor/local/include/msgpack/preprocessor/cat.hpp +35 -0
  298. data/vendor/local/include/msgpack/preprocessor/comma.hpp +17 -0
  299. data/vendor/local/include/msgpack/preprocessor/comma_if.hpp +17 -0
  300. data/vendor/local/include/msgpack/preprocessor/comparison.hpp +24 -0
  301. data/vendor/local/include/msgpack/preprocessor/comparison/equal.hpp +34 -0
  302. data/vendor/local/include/msgpack/preprocessor/comparison/greater.hpp +38 -0
  303. data/vendor/local/include/msgpack/preprocessor/comparison/greater_equal.hpp +38 -0
  304. data/vendor/local/include/msgpack/preprocessor/comparison/less.hpp +46 -0
  305. data/vendor/local/include/msgpack/preprocessor/comparison/less_equal.hpp +39 -0
  306. data/vendor/local/include/msgpack/preprocessor/comparison/not_equal.hpp +814 -0
  307. data/vendor/local/include/msgpack/preprocessor/config/config.hpp +101 -0
  308. data/vendor/local/include/msgpack/preprocessor/config/limits.hpp +30 -0
  309. data/vendor/local/include/msgpack/preprocessor/control.hpp +22 -0
  310. data/vendor/local/include/msgpack/preprocessor/control/deduce_d.hpp +22 -0
  311. data/vendor/local/include/msgpack/preprocessor/control/detail/dmc/while.hpp +536 -0
  312. data/vendor/local/include/msgpack/preprocessor/control/detail/edg/while.hpp +534 -0
  313. data/vendor/local/include/msgpack/preprocessor/control/detail/msvc/while.hpp +277 -0
  314. data/vendor/local/include/msgpack/preprocessor/control/detail/while.hpp +536 -0
  315. data/vendor/local/include/msgpack/preprocessor/control/expr_if.hpp +30 -0
  316. data/vendor/local/include/msgpack/preprocessor/control/expr_iif.hpp +31 -0
  317. data/vendor/local/include/msgpack/preprocessor/control/if.hpp +30 -0
  318. data/vendor/local/include/msgpack/preprocessor/control/iif.hpp +34 -0
  319. data/vendor/local/include/msgpack/preprocessor/control/while.hpp +312 -0
  320. data/vendor/local/include/msgpack/preprocessor/debug.hpp +18 -0
  321. data/vendor/local/include/msgpack/preprocessor/debug/assert.hpp +44 -0
  322. data/vendor/local/include/msgpack/preprocessor/debug/error.hpp +33 -0
  323. data/vendor/local/include/msgpack/preprocessor/debug/line.hpp +35 -0
  324. data/vendor/local/include/msgpack/preprocessor/dec.hpp +17 -0
  325. data/vendor/local/include/msgpack/preprocessor/detail/auto_rec.hpp +293 -0
  326. data/vendor/local/include/msgpack/preprocessor/detail/check.hpp +48 -0
  327. data/vendor/local/include/msgpack/preprocessor/detail/dmc/auto_rec.hpp +286 -0
  328. data/vendor/local/include/msgpack/preprocessor/detail/is_binary.hpp +30 -0
  329. data/vendor/local/include/msgpack/preprocessor/detail/is_nullary.hpp +30 -0
  330. data/vendor/local/include/msgpack/preprocessor/detail/is_unary.hpp +30 -0
  331. data/vendor/local/include/msgpack/preprocessor/detail/null.hpp +17 -0
  332. data/vendor/local/include/msgpack/preprocessor/detail/split.hpp +35 -0
  333. data/vendor/local/include/msgpack/preprocessor/empty.hpp +17 -0
  334. data/vendor/local/include/msgpack/preprocessor/enum.hpp +17 -0
  335. data/vendor/local/include/msgpack/preprocessor/enum_params.hpp +17 -0
  336. data/vendor/local/include/msgpack/preprocessor/enum_params_with_a_default.hpp +17 -0
  337. data/vendor/local/include/msgpack/preprocessor/enum_params_with_defaults.hpp +17 -0
  338. data/vendor/local/include/msgpack/preprocessor/enum_shifted.hpp +17 -0
  339. data/vendor/local/include/msgpack/preprocessor/enum_shifted_params.hpp +17 -0
  340. data/vendor/local/include/msgpack/preprocessor/expand.hpp +17 -0
  341. data/vendor/local/include/msgpack/preprocessor/expr_if.hpp +17 -0
  342. data/vendor/local/include/msgpack/preprocessor/facilities.hpp +23 -0
  343. data/vendor/local/include/msgpack/preprocessor/facilities/apply.hpp +34 -0
  344. data/vendor/local/include/msgpack/preprocessor/facilities/detail/is_empty.hpp +55 -0
  345. data/vendor/local/include/msgpack/preprocessor/facilities/empty.hpp +23 -0
  346. data/vendor/local/include/msgpack/preprocessor/facilities/expand.hpp +28 -0
  347. data/vendor/local/include/msgpack/preprocessor/facilities/identity.hpp +23 -0
  348. data/vendor/local/include/msgpack/preprocessor/facilities/intercept.hpp +277 -0
  349. data/vendor/local/include/msgpack/preprocessor/facilities/is_1.hpp +23 -0
  350. data/vendor/local/include/msgpack/preprocessor/facilities/is_empty.hpp +56 -0
  351. data/vendor/local/include/msgpack/preprocessor/facilities/is_empty_or_1.hpp +31 -0
  352. data/vendor/local/include/msgpack/preprocessor/facilities/is_empty_variadic.hpp +57 -0
  353. data/vendor/local/include/msgpack/preprocessor/facilities/overload.hpp +25 -0
  354. data/vendor/local/include/msgpack/preprocessor/for.hpp +17 -0
  355. data/vendor/local/include/msgpack/preprocessor/identity.hpp +17 -0
  356. data/vendor/local/include/msgpack/preprocessor/if.hpp +17 -0
  357. data/vendor/local/include/msgpack/preprocessor/inc.hpp +17 -0
  358. data/vendor/local/include/msgpack/preprocessor/iterate.hpp +17 -0
  359. data/vendor/local/include/msgpack/preprocessor/iteration.hpp +19 -0
  360. data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/lower1.hpp +99 -0
  361. data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/lower2.hpp +99 -0
  362. data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/lower3.hpp +99 -0
  363. data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/lower4.hpp +99 -0
  364. data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/lower5.hpp +99 -0
  365. data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/upper1.hpp +99 -0
  366. data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/upper2.hpp +99 -0
  367. data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/upper3.hpp +99 -0
  368. data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/upper4.hpp +99 -0
  369. data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/upper5.hpp +99 -0
  370. data/vendor/local/include/msgpack/preprocessor/iteration/detail/finish.hpp +99 -0
  371. data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/forward1.hpp +1342 -0
  372. data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/forward2.hpp +1338 -0
  373. data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/forward3.hpp +1338 -0
  374. data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/forward4.hpp +1338 -0
  375. data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/forward5.hpp +1338 -0
  376. data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/reverse1.hpp +1296 -0
  377. data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/reverse2.hpp +1296 -0
  378. data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/reverse3.hpp +1296 -0
  379. data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/reverse4.hpp +1296 -0
  380. data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/reverse5.hpp +1296 -0
  381. data/vendor/local/include/msgpack/preprocessor/iteration/detail/local.hpp +812 -0
  382. data/vendor/local/include/msgpack/preprocessor/iteration/detail/rlocal.hpp +782 -0
  383. data/vendor/local/include/msgpack/preprocessor/iteration/detail/self.hpp +21 -0
  384. data/vendor/local/include/msgpack/preprocessor/iteration/detail/start.hpp +99 -0
  385. data/vendor/local/include/msgpack/preprocessor/iteration/iterate.hpp +82 -0
  386. data/vendor/local/include/msgpack/preprocessor/iteration/local.hpp +26 -0
  387. data/vendor/local/include/msgpack/preprocessor/iteration/self.hpp +19 -0
  388. data/vendor/local/include/msgpack/preprocessor/library.hpp +36 -0
  389. data/vendor/local/include/msgpack/preprocessor/limits.hpp +17 -0
  390. data/vendor/local/include/msgpack/preprocessor/list.hpp +37 -0
  391. data/vendor/local/include/msgpack/preprocessor/list/adt.hpp +73 -0
  392. data/vendor/local/include/msgpack/preprocessor/list/append.hpp +40 -0
  393. data/vendor/local/include/msgpack/preprocessor/list/at.hpp +39 -0
  394. data/vendor/local/include/msgpack/preprocessor/list/cat.hpp +42 -0
  395. data/vendor/local/include/msgpack/preprocessor/list/detail/dmc/fold_left.hpp +279 -0
  396. data/vendor/local/include/msgpack/preprocessor/list/detail/edg/fold_left.hpp +536 -0
  397. data/vendor/local/include/msgpack/preprocessor/list/detail/edg/fold_right.hpp +794 -0
  398. data/vendor/local/include/msgpack/preprocessor/list/detail/fold_left.hpp +279 -0
  399. data/vendor/local/include/msgpack/preprocessor/list/detail/fold_right.hpp +277 -0
  400. data/vendor/local/include/msgpack/preprocessor/list/enum.hpp +41 -0
  401. data/vendor/local/include/msgpack/preprocessor/list/filter.hpp +54 -0
  402. data/vendor/local/include/msgpack/preprocessor/list/first_n.hpp +58 -0
  403. data/vendor/local/include/msgpack/preprocessor/list/fold_left.hpp +303 -0
  404. data/vendor/local/include/msgpack/preprocessor/list/fold_right.hpp +40 -0
  405. data/vendor/local/include/msgpack/preprocessor/list/for_each.hpp +49 -0
  406. data/vendor/local/include/msgpack/preprocessor/list/for_each_i.hpp +65 -0
  407. data/vendor/local/include/msgpack/preprocessor/list/for_each_product.hpp +141 -0
  408. data/vendor/local/include/msgpack/preprocessor/list/rest_n.hpp +55 -0
  409. data/vendor/local/include/msgpack/preprocessor/list/reverse.hpp +40 -0
  410. data/vendor/local/include/msgpack/preprocessor/list/size.hpp +58 -0
  411. data/vendor/local/include/msgpack/preprocessor/list/to_array.hpp +155 -0
  412. data/vendor/local/include/msgpack/preprocessor/list/to_seq.hpp +32 -0
  413. data/vendor/local/include/msgpack/preprocessor/list/to_tuple.hpp +61 -0
  414. data/vendor/local/include/msgpack/preprocessor/list/transform.hpp +49 -0
  415. data/vendor/local/include/msgpack/preprocessor/logical.hpp +29 -0
  416. data/vendor/local/include/msgpack/preprocessor/logical/and.hpp +30 -0
  417. data/vendor/local/include/msgpack/preprocessor/logical/bitand.hpp +38 -0
  418. data/vendor/local/include/msgpack/preprocessor/logical/bitnor.hpp +38 -0
  419. data/vendor/local/include/msgpack/preprocessor/logical/bitor.hpp +38 -0
  420. data/vendor/local/include/msgpack/preprocessor/logical/bitxor.hpp +38 -0
  421. data/vendor/local/include/msgpack/preprocessor/logical/bool.hpp +288 -0
  422. data/vendor/local/include/msgpack/preprocessor/logical/compl.hpp +36 -0
  423. data/vendor/local/include/msgpack/preprocessor/logical/nor.hpp +30 -0
  424. data/vendor/local/include/msgpack/preprocessor/logical/not.hpp +30 -0
  425. data/vendor/local/include/msgpack/preprocessor/logical/or.hpp +30 -0
  426. data/vendor/local/include/msgpack/preprocessor/logical/xor.hpp +30 -0
  427. data/vendor/local/include/msgpack/preprocessor/max.hpp +17 -0
  428. data/vendor/local/include/msgpack/preprocessor/min.hpp +17 -0
  429. data/vendor/local/include/msgpack/preprocessor/punctuation.hpp +22 -0
  430. data/vendor/local/include/msgpack/preprocessor/punctuation/comma.hpp +21 -0
  431. data/vendor/local/include/msgpack/preprocessor/punctuation/comma_if.hpp +31 -0
  432. data/vendor/local/include/msgpack/preprocessor/punctuation/detail/is_begin_parens.hpp +48 -0
  433. data/vendor/local/include/msgpack/preprocessor/punctuation/is_begin_parens.hpp +51 -0
  434. data/vendor/local/include/msgpack/preprocessor/punctuation/paren.hpp +23 -0
  435. data/vendor/local/include/msgpack/preprocessor/punctuation/paren_if.hpp +38 -0
  436. data/vendor/local/include/msgpack/preprocessor/punctuation/remove_parens.hpp +39 -0
  437. data/vendor/local/include/msgpack/preprocessor/repeat.hpp +17 -0
  438. data/vendor/local/include/msgpack/preprocessor/repeat_2nd.hpp +17 -0
  439. data/vendor/local/include/msgpack/preprocessor/repeat_3rd.hpp +17 -0
  440. data/vendor/local/include/msgpack/preprocessor/repeat_from_to.hpp +17 -0
  441. data/vendor/local/include/msgpack/preprocessor/repeat_from_to_2nd.hpp +17 -0
  442. data/vendor/local/include/msgpack/preprocessor/repeat_from_to_3rd.hpp +17 -0
  443. data/vendor/local/include/msgpack/preprocessor/repetition.hpp +32 -0
  444. data/vendor/local/include/msgpack/preprocessor/repetition/deduce_r.hpp +22 -0
  445. data/vendor/local/include/msgpack/preprocessor/repetition/deduce_z.hpp +22 -0
  446. data/vendor/local/include/msgpack/preprocessor/repetition/detail/dmc/for.hpp +536 -0
  447. data/vendor/local/include/msgpack/preprocessor/repetition/detail/edg/for.hpp +534 -0
  448. data/vendor/local/include/msgpack/preprocessor/repetition/detail/for.hpp +536 -0
  449. data/vendor/local/include/msgpack/preprocessor/repetition/detail/msvc/for.hpp +277 -0
  450. data/vendor/local/include/msgpack/preprocessor/repetition/enum.hpp +66 -0
  451. data/vendor/local/include/msgpack/preprocessor/repetition/enum_binary_params.hpp +54 -0
  452. data/vendor/local/include/msgpack/preprocessor/repetition/enum_params.hpp +41 -0
  453. data/vendor/local/include/msgpack/preprocessor/repetition/enum_params_with_a_default.hpp +25 -0
  454. data/vendor/local/include/msgpack/preprocessor/repetition/enum_params_with_defaults.hpp +24 -0
  455. data/vendor/local/include/msgpack/preprocessor/repetition/enum_shifted.hpp +68 -0
  456. data/vendor/local/include/msgpack/preprocessor/repetition/enum_shifted_binary_params.hpp +51 -0
  457. data/vendor/local/include/msgpack/preprocessor/repetition/enum_shifted_params.hpp +44 -0
  458. data/vendor/local/include/msgpack/preprocessor/repetition/enum_trailing.hpp +63 -0
  459. data/vendor/local/include/msgpack/preprocessor/repetition/enum_trailing_binary_params.hpp +53 -0
  460. data/vendor/local/include/msgpack/preprocessor/repetition/enum_trailing_params.hpp +38 -0
  461. data/vendor/local/include/msgpack/preprocessor/repetition/for.hpp +306 -0
  462. data/vendor/local/include/msgpack/preprocessor/repetition/repeat.hpp +825 -0
  463. data/vendor/local/include/msgpack/preprocessor/repetition/repeat_from_to.hpp +87 -0
  464. data/vendor/local/include/msgpack/preprocessor/selection.hpp +18 -0
  465. data/vendor/local/include/msgpack/preprocessor/selection/max.hpp +39 -0
  466. data/vendor/local/include/msgpack/preprocessor/selection/min.hpp +39 -0
  467. data/vendor/local/include/msgpack/preprocessor/seq.hpp +44 -0
  468. data/vendor/local/include/msgpack/preprocessor/seq/cat.hpp +49 -0
  469. data/vendor/local/include/msgpack/preprocessor/seq/detail/binary_transform.hpp +48 -0
  470. data/vendor/local/include/msgpack/preprocessor/seq/detail/split.hpp +284 -0
  471. data/vendor/local/include/msgpack/preprocessor/seq/elem.hpp +304 -0
  472. data/vendor/local/include/msgpack/preprocessor/seq/enum.hpp +288 -0
  473. data/vendor/local/include/msgpack/preprocessor/seq/filter.hpp +54 -0
  474. data/vendor/local/include/msgpack/preprocessor/seq/first_n.hpp +30 -0
  475. data/vendor/local/include/msgpack/preprocessor/seq/fold_left.hpp +1070 -0
  476. data/vendor/local/include/msgpack/preprocessor/seq/fold_right.hpp +288 -0
  477. data/vendor/local/include/msgpack/preprocessor/seq/for_each.hpp +60 -0
  478. data/vendor/local/include/msgpack/preprocessor/seq/for_each_i.hpp +61 -0
  479. data/vendor/local/include/msgpack/preprocessor/seq/for_each_product.hpp +126 -0
  480. data/vendor/local/include/msgpack/preprocessor/seq/insert.hpp +28 -0
  481. data/vendor/local/include/msgpack/preprocessor/seq/pop_back.hpp +29 -0
  482. data/vendor/local/include/msgpack/preprocessor/seq/pop_front.hpp +27 -0
  483. data/vendor/local/include/msgpack/preprocessor/seq/push_back.hpp +19 -0
  484. data/vendor/local/include/msgpack/preprocessor/seq/push_front.hpp +19 -0
  485. data/vendor/local/include/msgpack/preprocessor/seq/remove.hpp +29 -0
  486. data/vendor/local/include/msgpack/preprocessor/seq/replace.hpp +29 -0
  487. data/vendor/local/include/msgpack/preprocessor/seq/rest_n.hpp +30 -0
  488. data/vendor/local/include/msgpack/preprocessor/seq/reverse.hpp +39 -0
  489. data/vendor/local/include/msgpack/preprocessor/seq/seq.hpp +44 -0
  490. data/vendor/local/include/msgpack/preprocessor/seq/size.hpp +547 -0
  491. data/vendor/local/include/msgpack/preprocessor/seq/subseq.hpp +28 -0
  492. data/vendor/local/include/msgpack/preprocessor/seq/to_array.hpp +28 -0
  493. data/vendor/local/include/msgpack/preprocessor/seq/to_list.hpp +29 -0
  494. data/vendor/local/include/msgpack/preprocessor/seq/to_tuple.hpp +27 -0
  495. data/vendor/local/include/msgpack/preprocessor/seq/transform.hpp +48 -0
  496. data/vendor/local/include/msgpack/preprocessor/seq/variadic_seq_to_seq.hpp +28 -0
  497. data/vendor/local/include/msgpack/preprocessor/slot.hpp +17 -0
  498. data/vendor/local/include/msgpack/preprocessor/slot/counter.hpp +25 -0
  499. data/vendor/local/include/msgpack/preprocessor/slot/detail/counter.hpp +269 -0
  500. data/vendor/local/include/msgpack/preprocessor/slot/detail/def.hpp +49 -0
  501. data/vendor/local/include/msgpack/preprocessor/slot/detail/shared.hpp +247 -0
  502. data/vendor/local/include/msgpack/preprocessor/slot/detail/slot1.hpp +267 -0
  503. data/vendor/local/include/msgpack/preprocessor/slot/detail/slot2.hpp +267 -0
  504. data/vendor/local/include/msgpack/preprocessor/slot/detail/slot3.hpp +267 -0
  505. data/vendor/local/include/msgpack/preprocessor/slot/detail/slot4.hpp +267 -0
  506. data/vendor/local/include/msgpack/preprocessor/slot/detail/slot5.hpp +267 -0
  507. data/vendor/local/include/msgpack/preprocessor/slot/slot.hpp +32 -0
  508. data/vendor/local/include/msgpack/preprocessor/stringize.hpp +33 -0
  509. data/vendor/local/include/msgpack/preprocessor/tuple.hpp +35 -0
  510. data/vendor/local/include/msgpack/preprocessor/tuple/detail/is_single_return.hpp +28 -0
  511. data/vendor/local/include/msgpack/preprocessor/tuple/eat.hpp +106 -0
  512. data/vendor/local/include/msgpack/preprocessor/tuple/elem.hpp +201 -0
  513. data/vendor/local/include/msgpack/preprocessor/tuple/enum.hpp +22 -0
  514. data/vendor/local/include/msgpack/preprocessor/tuple/insert.hpp +37 -0
  515. data/vendor/local/include/msgpack/preprocessor/tuple/pop_back.hpp +64 -0
  516. data/vendor/local/include/msgpack/preprocessor/tuple/pop_front.hpp +65 -0
  517. data/vendor/local/include/msgpack/preprocessor/tuple/push_back.hpp +31 -0
  518. data/vendor/local/include/msgpack/preprocessor/tuple/push_front.hpp +32 -0
  519. data/vendor/local/include/msgpack/preprocessor/tuple/rem.hpp +149 -0
  520. data/vendor/local/include/msgpack/preprocessor/tuple/remove.hpp +64 -0
  521. data/vendor/local/include/msgpack/preprocessor/tuple/replace.hpp +37 -0
  522. data/vendor/local/include/msgpack/preprocessor/tuple/reverse.hpp +117 -0
  523. data/vendor/local/include/msgpack/preprocessor/tuple/size.hpp +28 -0
  524. data/vendor/local/include/msgpack/preprocessor/tuple/to_array.hpp +39 -0
  525. data/vendor/local/include/msgpack/preprocessor/tuple/to_list.hpp +118 -0
  526. data/vendor/local/include/msgpack/preprocessor/tuple/to_seq.hpp +119 -0
  527. data/vendor/local/include/msgpack/preprocessor/variadic.hpp +23 -0
  528. data/vendor/local/include/msgpack/preprocessor/variadic/detail/is_single_return.hpp +28 -0
  529. data/vendor/local/include/msgpack/preprocessor/variadic/elem.hpp +94 -0
  530. data/vendor/local/include/msgpack/preprocessor/variadic/size.hpp +30 -0
  531. data/vendor/local/include/msgpack/preprocessor/variadic/to_array.hpp +32 -0
  532. data/vendor/local/include/msgpack/preprocessor/variadic/to_list.hpp +25 -0
  533. data/vendor/local/include/msgpack/preprocessor/variadic/to_seq.hpp +25 -0
  534. data/vendor/local/include/msgpack/preprocessor/variadic/to_tuple.hpp +24 -0
  535. data/vendor/local/include/msgpack/preprocessor/while.hpp +17 -0
  536. data/vendor/local/include/msgpack/preprocessor/wstringize.hpp +29 -0
  537. data/vendor/local/include/msgpack/sbuffer.h +3 -11
  538. data/vendor/local/include/msgpack/sbuffer.hpp +34 -16
  539. data/vendor/local/include/msgpack/sysdep.h +102 -116
  540. data/vendor/local/include/msgpack/type.hpp +17 -0
  541. data/vendor/local/include/msgpack/unpack.h +3 -11
  542. data/vendor/local/include/msgpack/unpack.hpp +23 -47
  543. data/vendor/local/include/msgpack/unpack_define.h +3 -11
  544. data/vendor/local/include/msgpack/unpack_template.h +322 -328
  545. data/vendor/local/include/msgpack/util.h +3 -11
  546. data/vendor/local/include/msgpack/version.h +3 -11
  547. data/vendor/local/include/msgpack/version.hpp +3 -11
  548. data/vendor/local/include/msgpack/version_master.h +2 -2
  549. data/vendor/local/include/msgpack/versioning.hpp +27 -35
  550. data/vendor/local/include/msgpack/vrefbuffer.h +3 -11
  551. data/vendor/local/include/msgpack/vrefbuffer.hpp +7 -11
  552. data/vendor/local/include/msgpack/zbuffer.h +17 -25
  553. data/vendor/local/include/msgpack/zbuffer.hpp +9 -13
  554. data/vendor/local/include/msgpack/zone.h +3 -11
  555. data/vendor/local/include/msgpack/zone.hpp +3 -11
  556. data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
  557. data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
  558. data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
  559. data/vendor/local/lib/groonga/plugins/functions/string.la +41 -0
  560. data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
  561. data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
  562. data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
  563. data/vendor/local/lib/groonga/plugins/functions/vector.la +4 -4
  564. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  565. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  566. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  567. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +4 -4
  568. data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
  569. data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
  570. data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
  571. data/vendor/local/lib/groonga/plugins/ruby/eval.la +4 -4
  572. data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
  573. data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
  574. data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
  575. data/vendor/local/lib/groonga/plugins/ruby/load.la +4 -4
  576. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  577. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  578. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  579. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +4 -4
  580. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  581. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  582. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  583. data/vendor/local/lib/groonga/plugins/table/table.la +4 -4
  584. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
  585. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
  586. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
  587. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +4 -4
  588. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  589. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  590. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  591. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +4 -4
  592. data/vendor/local/lib/groonga/scripts/ruby/accessor.rb +5 -0
  593. data/vendor/local/lib/groonga/scripts/ruby/command_line/grndb.rb +202 -90
  594. data/vendor/local/lib/groonga/scripts/ruby/command_line_parser.rb +156 -0
  595. data/vendor/local/lib/groonga/scripts/ruby/context.rb +2 -4
  596. data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters.rb +5 -5
  597. data/vendor/local/lib/groonga/scripts/ruby/expression_size_estimator.rb +2 -1
  598. data/vendor/local/lib/groonga/scripts/ruby/fixed_size_column.rb +5 -0
  599. data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +5 -0
  600. data/vendor/local/lib/groonga/scripts/ruby/logger.rb +1 -3
  601. data/vendor/local/lib/groonga/scripts/ruby/require.rb +4 -1
  602. data/vendor/local/lib/groonga/scripts/ruby/scan_info.rb +3 -0
  603. data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +29 -1
  604. data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +18 -14
  605. data/vendor/local/lib/groonga/scripts/ruby/table.rb +8 -0
  606. data/vendor/local/lib/groonga/scripts/ruby/table_cursor.rb +2 -0
  607. data/vendor/local/lib/groonga/scripts/ruby/variable_size_column.rb +5 -0
  608. data/vendor/local/lib/libgroonga.a +0 -0
  609. data/vendor/local/lib/libgroonga.dll.a +0 -0
  610. data/vendor/local/lib/libgroonga.la +4 -4
  611. data/vendor/local/lib/liblz4.a +0 -0
  612. data/vendor/local/lib/liblz4.dll +0 -0
  613. data/vendor/local/lib/liblz4.dll.1 +0 -0
  614. data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
  615. data/vendor/local/lib/libmecab.a +0 -0
  616. data/vendor/local/lib/libmecab.dll.a +0 -0
  617. data/vendor/local/lib/libmecab.la +4 -4
  618. data/vendor/local/lib/libmsgpack.a +0 -0
  619. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  620. data/vendor/local/lib/libmsgpack.la +2 -2
  621. data/vendor/local/lib/libmsgpackc.a +0 -0
  622. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  623. data/vendor/local/lib/libmsgpackc.la +2 -2
  624. data/vendor/local/lib/libonig.a +0 -0
  625. data/vendor/local/lib/libonig.dll.a +0 -0
  626. data/vendor/local/lib/libonig.la +4 -4
  627. data/vendor/local/lib/libz.a +0 -0
  628. data/vendor/local/lib/libz.dll.a +0 -0
  629. data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
  630. data/vendor/local/lib/pkgconfig/liblz4.pc +5 -5
  631. data/vendor/local/lib/pkgconfig/msgpack.pc +2 -2
  632. data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
  633. data/vendor/local/lib/pkgconfig/zlib.pc +3 -3
  634. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  635. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  636. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  637. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  638. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  639. data/vendor/local/sbin/groonga-httpd-restart +1 -1
  640. data/vendor/local/sbin/groonga-httpd.exe +0 -0
  641. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  642. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +1 -1
  643. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
  644. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
  645. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
  646. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  647. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +5 -3
  648. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  649. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -3
  650. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  651. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +288 -3
  652. data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +2 -0
  653. data/vendor/local/share/doc/groonga/en/html/_sources/reference/alias.txt +164 -0
  654. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +1 -1
  655. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_geo.txt +1 -1
  656. data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/command_version.txt +2 -2
  657. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_copy.txt +1 -1
  658. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_delete.txt +95 -0
  659. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_get.txt +96 -0
  660. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_set.txt +96 -0
  661. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_acquire.txt +102 -0
  662. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_clear.txt +10 -9
  663. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_release.txt +98 -0
  664. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_exist.txt +7 -2
  665. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_inspect.txt +385 -0
  666. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_remove.txt +140 -0
  667. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/reindex.txt +2 -2
  668. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/schema.txt +627 -0
  669. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_list.txt +3 -0
  670. data/vendor/local/share/doc/groonga/en/html/_sources/reference/configuration.txt +50 -0
  671. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grndb.txt +41 -4
  672. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +3 -3
  673. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr.txt +1 -1
  674. data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations/geolocation_search.txt +1 -1
  675. data/vendor/local/share/doc/groonga/en/html/_sources/reference/regular_expression.txt +4 -0
  676. data/vendor/local/share/doc/groonga/en/html/_sources/reference/tokenizers.txt +1 -1
  677. data/vendor/local/share/doc/groonga/en/html/_sources/reference/types.txt +1 -1
  678. data/vendor/local/share/doc/groonga/en/html/_sources/server/memcached.txt +1 -0
  679. data/vendor/local/share/doc/groonga/en/html/_sources/server/package.txt +1 -1
  680. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +1 -1
  681. data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +1 -1
  682. data/vendor/local/share/doc/groonga/en/html/_static/pygments.css +2 -0
  683. data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +1 -1
  684. data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +1 -1
  685. data/vendor/local/share/doc/groonga/en/html/characteristic.html +6 -6
  686. data/vendor/local/share/doc/groonga/en/html/client.html +6 -6
  687. data/vendor/local/share/doc/groonga/en/html/community.html +6 -6
  688. data/vendor/local/share/doc/groonga/en/html/contribution.html +6 -6
  689. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +6 -6
  690. data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +6 -6
  691. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +10 -10
  692. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +9 -9
  693. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +9 -9
  694. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +6 -6
  695. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +9 -9
  696. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +14 -14
  697. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +57 -57
  698. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +7 -7
  699. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +16 -16
  700. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +6 -6
  701. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +6 -6
  702. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +16 -16
  703. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +12 -12
  704. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +6 -6
  705. data/vendor/local/share/doc/groonga/en/html/development.html +6 -6
  706. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +7 -7
  707. data/vendor/local/share/doc/groonga/en/html/genindex.html +6 -6
  708. data/vendor/local/share/doc/groonga/en/html/index.html +117 -97
  709. data/vendor/local/share/doc/groonga/en/html/install.html +6 -6
  710. data/vendor/local/share/doc/groonga/en/html/install/centos.html +30 -30
  711. data/vendor/local/share/doc/groonga/en/html/install/debian.html +25 -25
  712. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +20 -20
  713. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +15 -15
  714. data/vendor/local/share/doc/groonga/en/html/install/others.html +24 -24
  715. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +13 -13
  716. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +20 -20
  717. data/vendor/local/share/doc/groonga/en/html/install/windows.html +15 -15
  718. data/vendor/local/share/doc/groonga/en/html/limitations.html +6 -6
  719. data/vendor/local/share/doc/groonga/en/html/news.html +350 -102
  720. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +6 -6
  721. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +6 -6
  722. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +6 -6
  723. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +7 -7
  724. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +6 -6
  725. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +8 -8
  726. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +6 -6
  727. data/vendor/local/share/doc/groonga/en/html/news/4.x.html +8 -8
  728. data/vendor/local/share/doc/groonga/en/html/news/senna.html +6 -6
  729. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  730. data/vendor/local/share/doc/groonga/en/html/reference.html +117 -97
  731. data/vendor/local/share/doc/groonga/en/html/reference/alias.html +447 -0
  732. data/vendor/local/share/doc/groonga/en/html/reference/api.html +40 -40
  733. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +23 -23
  734. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +26 -26
  735. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +30 -30
  736. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +25 -25
  737. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +23 -23
  738. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +28 -28
  739. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +25 -25
  740. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +25 -25
  741. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +24 -24
  742. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +26 -26
  743. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +25 -25
  744. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +25 -25
  745. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +25 -25
  746. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +25 -25
  747. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +25 -25
  748. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +25 -25
  749. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +25 -25
  750. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +25 -25
  751. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +25 -25
  752. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +25 -25
  753. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +26 -26
  754. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +25 -25
  755. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +21 -21
  756. data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +26 -26
  757. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +23 -23
  758. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +6 -6
  759. data/vendor/local/share/doc/groonga/en/html/reference/column.html +6 -6
  760. data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +6 -6
  761. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +6 -6
  762. data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +6 -6
  763. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +23 -23
  764. data/vendor/local/share/doc/groonga/en/html/reference/command.html +61 -53
  765. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +24 -24
  766. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +19 -19
  767. data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +8 -8
  768. data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +7 -7
  769. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +6 -6
  770. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +10 -10
  771. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +9 -9
  772. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +10 -10
  773. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +22 -22
  774. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +10 -10
  775. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +11 -11
  776. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +9 -9
  777. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +14 -14
  778. data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +255 -0
  779. data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +239 -0
  780. data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +237 -0
  781. data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +35 -35
  782. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +31 -31
  783. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +30 -30
  784. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +34 -34
  785. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +46 -46
  786. data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +60 -60
  787. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +35 -35
  788. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +247 -0
  789. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +43 -42
  790. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +246 -0
  791. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +32 -32
  792. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +31 -31
  793. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +33 -33
  794. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +53 -53
  795. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +43 -43
  796. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +63 -63
  797. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +135 -135
  798. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +43 -43
  799. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +48 -48
  800. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +41 -41
  801. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +29 -29
  802. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +43 -38
  803. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +592 -0
  804. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +324 -0
  805. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +30 -30
  806. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +29 -29
  807. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +28 -28
  808. data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +26 -26
  809. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +29 -29
  810. data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +36 -36
  811. data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +37 -37
  812. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +33 -33
  813. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +34 -34
  814. data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +1188 -0
  815. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +187 -187
  816. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +28 -28
  817. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +36 -36
  818. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +41 -41
  819. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +56 -56
  820. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +29 -29
  821. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +52 -52
  822. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +35 -35
  823. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +42 -42
  824. data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +37 -37
  825. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +55 -55
  826. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +29 -29
  827. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +30 -30
  828. data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +178 -0
  829. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +6 -6
  830. data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +43 -10
  831. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +8 -8
  832. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +14 -14
  833. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +34 -34
  834. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +9 -9
  835. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +7 -7
  836. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +13 -13
  837. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +9 -9
  838. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +30 -30
  839. data/vendor/local/share/doc/groonga/en/html/reference/function.html +6 -6
  840. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +10 -10
  841. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +8 -8
  842. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +20 -20
  843. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +8 -8
  844. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +8 -8
  845. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +11 -11
  846. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +11 -11
  847. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +11 -11
  848. data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +10 -10
  849. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +8 -8
  850. data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +15 -15
  851. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +12 -12
  852. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +8 -8
  853. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +11 -11
  854. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +11 -11
  855. data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +11 -11
  856. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +7 -7
  857. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +24 -24
  858. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +47 -47
  859. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +29 -29
  860. data/vendor/local/share/doc/groonga/en/html/reference/log.html +41 -41
  861. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +10 -10
  862. data/vendor/local/share/doc/groonga/en/html/reference/operations.html +6 -6
  863. data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +7 -7
  864. data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +12 -12
  865. data/vendor/local/share/doc/groonga/en/html/reference/output.html +16 -16
  866. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +6 -6
  867. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +17 -17
  868. data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +23 -23
  869. data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +18 -18
  870. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +10 -10
  871. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +10 -10
  872. data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +32 -32
  873. data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +35 -35
  874. data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +40 -40
  875. data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +31 -31
  876. data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +27 -27
  877. data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +32 -32
  878. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +6 -6
  879. data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +9 -9
  880. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +29 -29
  881. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +46 -46
  882. data/vendor/local/share/doc/groonga/en/html/reference/types.html +11 -11
  883. data/vendor/local/share/doc/groonga/en/html/search.html +6 -6
  884. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  885. data/vendor/local/share/doc/groonga/en/html/server.html +6 -6
  886. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +8 -8
  887. data/vendor/local/share/doc/groonga/en/html/server/http.html +6 -6
  888. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +17 -17
  889. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +6 -6
  890. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +6 -6
  891. data/vendor/local/share/doc/groonga/en/html/server/memcached.html +8 -7
  892. data/vendor/local/share/doc/groonga/en/html/server/package.html +29 -29
  893. data/vendor/local/share/doc/groonga/en/html/spec.html +10 -10
  894. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +13 -13
  895. data/vendor/local/share/doc/groonga/en/html/spec/search.html +8 -8
  896. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +6 -6
  897. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +16 -16
  898. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +6 -6
  899. data/vendor/local/share/doc/groonga/en/html/tutorial.html +6 -6
  900. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +14 -14
  901. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +13 -13
  902. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +13 -13
  903. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +27 -27
  904. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +6 -6
  905. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +18 -18
  906. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +18 -18
  907. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +9 -9
  908. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +8 -8
  909. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +9 -9
  910. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +16 -16
  911. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  912. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +1 -1
  913. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
  914. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
  915. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  916. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  917. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +5 -3
  918. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  919. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -3
  920. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  921. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +288 -3
  922. data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +2 -0
  923. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/alias.txt +164 -0
  924. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +1 -1
  925. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_geo.txt +1 -1
  926. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/command_version.txt +2 -2
  927. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_copy.txt +1 -1
  928. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_delete.txt +95 -0
  929. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_get.txt +96 -0
  930. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_set.txt +96 -0
  931. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_acquire.txt +102 -0
  932. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_clear.txt +10 -9
  933. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_release.txt +98 -0
  934. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_exist.txt +7 -2
  935. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_inspect.txt +385 -0
  936. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_remove.txt +140 -0
  937. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/reindex.txt +2 -2
  938. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/schema.txt +627 -0
  939. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_list.txt +3 -0
  940. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/configuration.txt +50 -0
  941. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grndb.txt +41 -4
  942. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +3 -3
  943. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr.txt +1 -1
  944. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations/geolocation_search.txt +1 -1
  945. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/regular_expression.txt +4 -0
  946. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tokenizers.txt +1 -1
  947. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/types.txt +1 -1
  948. data/vendor/local/share/doc/groonga/ja/html/_sources/server/memcached.txt +1 -0
  949. data/vendor/local/share/doc/groonga/ja/html/_sources/server/package.txt +1 -1
  950. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +1 -1
  951. data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +1 -1
  952. data/vendor/local/share/doc/groonga/ja/html/_static/pygments.css +2 -0
  953. data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +1 -1
  954. data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +1 -1
  955. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +6 -6
  956. data/vendor/local/share/doc/groonga/ja/html/client.html +6 -6
  957. data/vendor/local/share/doc/groonga/ja/html/community.html +6 -6
  958. data/vendor/local/share/doc/groonga/ja/html/contribution.html +6 -6
  959. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +6 -6
  960. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +6 -6
  961. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +10 -10
  962. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +9 -9
  963. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +9 -9
  964. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +6 -6
  965. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +9 -9
  966. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +14 -14
  967. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +57 -57
  968. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +7 -7
  969. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +16 -16
  970. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +6 -6
  971. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +6 -6
  972. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +16 -16
  973. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +12 -12
  974. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +6 -6
  975. data/vendor/local/share/doc/groonga/ja/html/development.html +6 -6
  976. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +7 -7
  977. data/vendor/local/share/doc/groonga/ja/html/genindex.html +6 -6
  978. data/vendor/local/share/doc/groonga/ja/html/index.html +116 -96
  979. data/vendor/local/share/doc/groonga/ja/html/install.html +6 -6
  980. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +30 -30
  981. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +25 -25
  982. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +20 -20
  983. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +15 -15
  984. data/vendor/local/share/doc/groonga/ja/html/install/others.html +24 -24
  985. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +13 -13
  986. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +20 -20
  987. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +15 -15
  988. data/vendor/local/share/doc/groonga/ja/html/limitations.html +6 -6
  989. data/vendor/local/share/doc/groonga/ja/html/news.html +329 -100
  990. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +6 -6
  991. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +6 -6
  992. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +6 -6
  993. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +7 -7
  994. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +6 -6
  995. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +8 -8
  996. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +6 -6
  997. data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +7 -7
  998. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +6 -6
  999. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  1000. data/vendor/local/share/doc/groonga/ja/html/reference.html +116 -96
  1001. data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +419 -0
  1002. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +40 -40
  1003. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +23 -23
  1004. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +26 -26
  1005. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +30 -30
  1006. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +25 -25
  1007. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +23 -23
  1008. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +26 -26
  1009. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +25 -25
  1010. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +25 -25
  1011. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +24 -24
  1012. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +26 -26
  1013. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +25 -25
  1014. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +25 -25
  1015. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +25 -25
  1016. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +25 -25
  1017. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +25 -25
  1018. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +25 -25
  1019. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +25 -25
  1020. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +25 -25
  1021. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +25 -25
  1022. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +25 -25
  1023. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +26 -26
  1024. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +25 -25
  1025. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +21 -21
  1026. data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +26 -26
  1027. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +23 -23
  1028. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +6 -6
  1029. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +6 -6
  1030. data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +6 -6
  1031. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +6 -6
  1032. data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +6 -6
  1033. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +23 -23
  1034. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +56 -48
  1035. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +23 -23
  1036. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +15 -15
  1037. data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +8 -8
  1038. data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +7 -7
  1039. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +6 -6
  1040. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +10 -10
  1041. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +9 -9
  1042. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +10 -10
  1043. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +22 -22
  1044. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +10 -10
  1045. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +11 -11
  1046. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +9 -9
  1047. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +14 -14
  1048. data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +254 -0
  1049. data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +235 -0
  1050. data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +234 -0
  1051. data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +35 -35
  1052. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +31 -31
  1053. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +30 -30
  1054. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +34 -34
  1055. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +46 -46
  1056. data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +60 -60
  1057. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +37 -37
  1058. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +242 -0
  1059. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +43 -43
  1060. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +242 -0
  1061. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +32 -32
  1062. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +31 -31
  1063. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +33 -33
  1064. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +53 -53
  1065. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +43 -43
  1066. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +63 -63
  1067. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +135 -135
  1068. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +43 -43
  1069. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +48 -48
  1070. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +41 -41
  1071. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +29 -29
  1072. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +41 -36
  1073. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +595 -0
  1074. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +306 -0
  1075. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +30 -30
  1076. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +29 -29
  1077. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +28 -28
  1078. data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +26 -26
  1079. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +29 -29
  1080. data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +34 -34
  1081. data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +37 -37
  1082. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +33 -33
  1083. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +34 -34
  1084. data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +1196 -0
  1085. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +187 -187
  1086. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +28 -28
  1087. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +33 -33
  1088. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +45 -45
  1089. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +56 -56
  1090. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +29 -29
  1091. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +52 -52
  1092. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +35 -35
  1093. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +42 -42
  1094. data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +37 -37
  1095. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +55 -55
  1096. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +29 -29
  1097. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +31 -31
  1098. data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +167 -0
  1099. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +6 -6
  1100. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +35 -10
  1101. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +8 -8
  1102. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +14 -14
  1103. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +35 -35
  1104. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +8 -8
  1105. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +7 -7
  1106. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +13 -13
  1107. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +9 -9
  1108. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +30 -30
  1109. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +6 -6
  1110. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +10 -10
  1111. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +8 -8
  1112. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +20 -20
  1113. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +8 -8
  1114. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +8 -8
  1115. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +10 -10
  1116. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +10 -10
  1117. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +10 -10
  1118. data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +10 -10
  1119. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +8 -8
  1120. data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +15 -15
  1121. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +12 -12
  1122. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +8 -8
  1123. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +11 -11
  1124. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +11 -11
  1125. data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +11 -11
  1126. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +6 -6
  1127. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +25 -25
  1128. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +48 -48
  1129. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +29 -29
  1130. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +41 -41
  1131. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +10 -10
  1132. data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +6 -6
  1133. data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +6 -6
  1134. data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +12 -12
  1135. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +16 -16
  1136. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +6 -6
  1137. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +17 -17
  1138. data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +23 -23
  1139. data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +18 -18
  1140. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +10 -10
  1141. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +10 -10
  1142. data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +32 -32
  1143. data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +35 -35
  1144. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +40 -40
  1145. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +31 -31
  1146. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +27 -27
  1147. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +32 -32
  1148. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +6 -6
  1149. data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +9 -9
  1150. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +28 -28
  1151. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +46 -46
  1152. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +11 -11
  1153. data/vendor/local/share/doc/groonga/ja/html/search.html +6 -6
  1154. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  1155. data/vendor/local/share/doc/groonga/ja/html/server.html +6 -6
  1156. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +8 -8
  1157. data/vendor/local/share/doc/groonga/ja/html/server/http.html +6 -6
  1158. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +16 -16
  1159. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +6 -6
  1160. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +6 -6
  1161. data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +8 -7
  1162. data/vendor/local/share/doc/groonga/ja/html/server/package.html +28 -28
  1163. data/vendor/local/share/doc/groonga/ja/html/spec.html +10 -10
  1164. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +13 -13
  1165. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +8 -8
  1166. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +6 -6
  1167. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +16 -16
  1168. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +6 -6
  1169. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +6 -6
  1170. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +14 -14
  1171. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +13 -13
  1172. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +13 -13
  1173. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +27 -27
  1174. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +6 -6
  1175. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +18 -18
  1176. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +18 -18
  1177. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +9 -9
  1178. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +8 -8
  1179. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +9 -9
  1180. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +16 -16
  1181. data/vendor/local/share/groonga/html/admin.old/index.html +1 -1
  1182. data/vendor/local/share/groonga/html/admin.old/index.ja.html +1 -1
  1183. data/vendor/local/share/groonga/html/admin.old/js/{jquery.flot-0.7.js → jquery.flot-0.8.3.js} +1540 -817
  1184. data/vendor/local/share/groonga/html/admin.old/js/jquery.flot.license.txt +1 -1
  1185. data/vendor/local/share/groonga/mruby/LEGAL +29 -29
  1186. data/vendor/local/share/license/mruby/AUTHORS +3 -1
  1187. data/vendor/local/share/license/mruby/MITL +1 -1
  1188. data/vendor/local/share/license/mruby/README.md +13 -45
  1189. data/vendor/local/share/license/msgpack/COPYING +4 -13
  1190. data/vendor/local/share/license/msgpack/LICENSE_1_0.txt +23 -0
  1191. data/vendor/local/share/license/msgpack/NOTICE +14 -0
  1192. data/vendor/local/share/license/msgpack/{README → README.md} +4 -4
  1193. data/vendor/local/share/man/ja/man1/groonga.1 +3429 -398
  1194. data/vendor/local/share/man/man1/groonga.1 +3670 -500
  1195. metadata +523 -89
  1196. data/lib/2.0/groonga.so +0 -0
  1197. data/vendor/local/bin/libmecab-1.dll +0 -0
  1198. data/vendor/local/bin/libwinpthread-1.dll +0 -0
  1199. data/vendor/local/include/groonga/groonga/conf.h +0 -42
  1200. data/vendor/local/include/msgpack/adaptor/bool_fwd.hpp +0 -39
  1201. data/vendor/local/include/msgpack/adaptor/char_ptr_fwd.hpp +0 -43
  1202. data/vendor/local/include/msgpack/adaptor/cpp11/array_char_fwd.hpp +0 -45
  1203. data/vendor/local/include/msgpack/adaptor/cpp11/array_fwd.hpp +0 -44
  1204. data/vendor/local/include/msgpack/adaptor/cpp11/forward_list_fwd.hpp +0 -44
  1205. data/vendor/local/include/msgpack/adaptor/cpp11/tuple_fwd.hpp +0 -62
  1206. data/vendor/local/include/msgpack/adaptor/cpp11/unordered_map_fwd.hpp +0 -53
  1207. data/vendor/local/include/msgpack/adaptor/cpp11/unordered_set_fwd.hpp +0 -52
  1208. data/vendor/local/include/msgpack/adaptor/deque_fwd.hpp +0 -40
  1209. data/vendor/local/include/msgpack/adaptor/detail/cpp03_msgpack_tuple_fwd.hpp +0 -4341
  1210. data/vendor/local/include/msgpack/adaptor/detail/cpp11_msgpack_tuple_fwd.hpp +0 -84
  1211. data/vendor/local/include/msgpack/adaptor/fixint_fwd.hpp +0 -100
  1212. data/vendor/local/include/msgpack/adaptor/float_fwd.hpp +0 -44
  1213. data/vendor/local/include/msgpack/adaptor/int_fwd.hpp +0 -100
  1214. data/vendor/local/include/msgpack/adaptor/list_fwd.hpp +0 -40
  1215. data/vendor/local/include/msgpack/adaptor/map_fwd.hpp +0 -69
  1216. data/vendor/local/include/msgpack/adaptor/msgpack_tuple_fwd.hpp +0 -29
  1217. data/vendor/local/include/msgpack/adaptor/nil_fwd.hpp +0 -51
  1218. data/vendor/local/include/msgpack/adaptor/pair_fwd.hpp +0 -42
  1219. data/vendor/local/include/msgpack/adaptor/raw_fwd.hpp +0 -50
  1220. data/vendor/local/include/msgpack/adaptor/set_fwd.hpp +0 -52
  1221. data/vendor/local/include/msgpack/adaptor/string_fwd.hpp +0 -42
  1222. data/vendor/local/include/msgpack/adaptor/tr1/unordered_map_fwd.hpp +0 -75
  1223. data/vendor/local/include/msgpack/adaptor/tr1/unordered_set_fwd.hpp +0 -75
  1224. data/vendor/local/include/msgpack/adaptor/vector_bool_fwd.hpp +0 -40
  1225. data/vendor/local/include/msgpack/adaptor/vector_char_fwd.hpp +0 -42
  1226. data/vendor/local/include/msgpack/adaptor/vector_fwd.hpp +0 -42
  1227. data/vendor/local/include/msgpack_fwd.hpp +0 -28
  1228. 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
- #ifndef GROONGA_TOKEN_FILTER_H
19
- #define GROONGA_TOKEN_FILTER_H
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
- #ifndef GROONGA_TOKENIZER_H
19
- #define GROONGA_TOKENIZER_H
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-2014 Brazil
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
- #ifndef GROONGA_UTIL_H
19
- #define GROONGA_UTIL_H
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
- #ifndef GROONGA_WINDOWS_H
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
- #ifndef GROONGA_WINDOWS_EVENT_LOGGER_H
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
- $Id: mecab.h 173 2009-04-18 08:10:57Z taku-ku $;
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 MECAB_MECAB_H
10
- #define MECAB_MECAB_H
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
- struct mecab_learner_path_t {
34
- struct mecab_learner_node_t* rnode;
35
- struct mecab_learner_path_t* rnext;
36
- struct mecab_learner_node_t* lnode;
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
- struct mecab_token_t {
43
- unsigned short lcAttr;
44
- unsigned short rcAttr;
45
- unsigned short posid;
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
- struct mecab_node_t **begin_node_list;
59
- struct mecab_node_t **end_node_list;
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
- unsigned short length; /* length of morph */
64
- unsigned short rlength; /* real length of morph(include white space before the morph) */
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
- unsigned int sentence_length; /* it is avaialbe only when BOS node */
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
- /* almost the same as mecab_node_t.
81
- used only for cost estimation */
82
- struct mecab_learner_node_t {
83
- struct mecab_learner_node_t *prev;
84
- struct mecab_learner_node_t *next;
85
- struct mecab_learner_node_t *enext;
86
- struct mecab_learner_node_t *bnext;
87
- struct mecab_learner_path_t *rpath;
88
- struct mecab_learner_path_t *lpath;
89
- struct mecab_learner_node_t *anext;
90
- const char *surface;
91
- const char *feature;
92
- unsigned int id;
93
- unsigned short length;
94
- unsigned short rlength;
95
- unsigned short rcAttr;
96
- unsigned short lcAttr;
97
- unsigned short posid;
98
- unsigned char char_type;
99
- unsigned char stat;
100
- unsigned char isbest;
101
- double alpha;
102
- double beta;
103
- short wcost2;
104
- double wcost;
105
- double cost;
106
- const int *fvector;
107
- struct mecab_token_t *token;
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
- #define MECAB_NOR_NODE (0)
111
- #define MECAB_UNK_NODE (1)
112
- #define MECAB_BOS_NODE (2)
113
- #define MECAB_EOS_NODE (3)
114
- #define MECAB_EON_NODE (4)
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
- #define MECAB_USR_DIC (1)
117
- #define MECAB_SYS_DIC (0)
118
- #define MECAB_UNK_DIC (2)
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 Tagger {
213
- public:
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
- virtual const char* parse(const char *str, size_t len, char *ostr, size_t olen) = 0;
217
- virtual const char* parse(const char *str, size_t len) = 0;
218
- virtual const Node* parseToNode(const char *str, size_t len) = 0;
219
- virtual const char* parseNBest(size_t N, const char *str, size_t len) = 0;
220
- virtual bool parseNBestInit(const char *str, size_t len) = 0;
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
- // configuration
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
- virtual float theta() const = 0;
235
- virtual void set_theta(float theta) = 0;
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
- #ifndef SWIG
242
- virtual const char* next(char *ostr , size_t olen) = 0;
243
- virtual const char* parseNBest(size_t N, const char *str,
244
- size_t len, char *ostr, size_t olen) = 0;
245
- virtual const char* formatNode(const Node *node, char *ostr, size_t olen) = 0;
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
- virtual const char* what() = 0;
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
- static Tagger* create(int argc, char **argv);
256
- static Tagger* create(const char *arg);
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
- /* factory method */
263
- MECAB_DLL_EXTERN Tagger *createTagger(int argc, char **argv);
264
- MECAB_DLL_EXTERN Tagger *createTagger(const char *arg);
265
- MECAB_DLL_EXTERN const char* getTaggerError();
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_ */