melisa 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/README.md +53 -4
- data/ext/extconf.rb +33 -0
- data/ext/marisa-0.2.4/AUTHORS +1 -0
- data/ext/marisa-0.2.4/COPYING +32 -0
- data/ext/marisa-0.2.4/ChangeLog +0 -0
- data/ext/marisa-0.2.4/INSTALL +237 -0
- data/ext/marisa-0.2.4/Makefile.am +24 -0
- data/ext/marisa-0.2.4/Makefile.in +803 -0
- data/ext/marisa-0.2.4/NEWS +0 -0
- data/ext/marisa-0.2.4/README +63 -0
- data/ext/marisa-0.2.4/aclocal.m4 +976 -0
- data/ext/marisa-0.2.4/bindings/Makefile +16 -0
- data/ext/{marisa → marisa-0.2.4}/bindings/marisa-swig.cxx +0 -0
- data/ext/{marisa → marisa-0.2.4}/bindings/marisa-swig.h +0 -0
- data/ext/marisa-0.2.4/bindings/marisa-swig.i +28 -0
- data/ext/marisa-0.2.4/bindings/perl/Makefile.PL +7 -0
- data/ext/{marisa → marisa-0.2.4}/bindings/perl/marisa-swig.cxx +0 -0
- data/ext/{marisa → marisa-0.2.4}/bindings/perl/marisa-swig.h +0 -0
- data/ext/{marisa → marisa-0.2.4}/bindings/perl/marisa-swig_wrap.cxx +0 -0
- data/ext/marisa-0.2.4/bindings/perl/marisa.pm +297 -0
- data/ext/marisa-0.2.4/bindings/perl/sample.dic +0 -0
- data/ext/marisa-0.2.4/bindings/perl/sample.pl +62 -0
- data/ext/{marisa → marisa-0.2.4}/bindings/python/marisa-swig.cxx +0 -0
- data/ext/{marisa → marisa-0.2.4}/bindings/python/marisa-swig.h +0 -0
- data/ext/{marisa → marisa-0.2.4}/bindings/python/marisa-swig_wrap.cxx +0 -0
- data/ext/marisa-0.2.4/bindings/python/marisa.py +206 -0
- data/ext/marisa-0.2.4/bindings/python/sample.dic +0 -0
- data/ext/marisa-0.2.4/bindings/python/sample.py +57 -0
- data/ext/marisa-0.2.4/bindings/python/setup.py +9 -0
- data/ext/marisa-0.2.4/config.guess +1530 -0
- data/ext/marisa-0.2.4/config.sub +1773 -0
- data/ext/marisa-0.2.4/configure +17636 -0
- data/ext/marisa-0.2.4/configure.ac +172 -0
- data/ext/marisa-0.2.4/depcomp +688 -0
- data/ext/marisa-0.2.4/docs/readme.en.html +740 -0
- data/ext/marisa-0.2.4/docs/readme.ja.html +750 -0
- data/ext/marisa-0.2.4/docs/style.css +245 -0
- data/ext/marisa-0.2.4/install-sh +520 -0
- data/ext/marisa-0.2.4/lib/Makefile.am +57 -0
- data/ext/marisa-0.2.4/lib/Makefile.in +701 -0
- data/ext/{marisa → marisa-0.2.4}/lib/marisa.h +0 -0
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/agent.cc +2 -2
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/agent.h +2 -2
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/base.h +3 -3
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/exception.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/algorithm.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/algorithm/sort.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/intrin.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/io.h +3 -3
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/io/mapper.cc +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/io/mapper.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/io/reader.cc +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/io/reader.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/io/writer.cc +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/io/writer.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie.h +2 -2
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/cache.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/config.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/entry.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/header.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/history.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/key.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/louds-trie.cc +5 -5
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/louds-trie.h +7 -7
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/range.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/state.h +2 -2
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/tail.cc +3 -3
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/tail.h +3 -3
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/vector.h +3 -3
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/vector/bit-vector.cc +2 -2
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/vector/bit-vector.h +2 -2
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/vector/flat-vector.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/vector/pop-count.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/vector/rank-index.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/vector/vector.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/iostream.h +0 -0
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/key.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/keyset.cc +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/keyset.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/query.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/scoped-array.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/scoped-ptr.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/stdio.h +0 -0
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/trie.cc +4 -4
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/trie.h +2 -2
- data/ext/marisa-0.2.4/ltmain.sh +9661 -0
- data/ext/marisa-0.2.4/m4/libtool.m4 +8001 -0
- data/ext/marisa-0.2.4/m4/ltoptions.m4 +384 -0
- data/ext/marisa-0.2.4/m4/ltsugar.m4 +123 -0
- data/ext/marisa-0.2.4/m4/ltversion.m4 +23 -0
- data/ext/marisa-0.2.4/m4/lt~obsolete.m4 +98 -0
- data/ext/marisa-0.2.4/marisa.pc.in +11 -0
- data/ext/marisa-0.2.4/missing +331 -0
- data/ext/marisa-0.2.4/mkmf.log +288 -0
- data/ext/marisa-0.2.4/pkg/bin/marisa-benchmark +0 -0
- data/ext/marisa-0.2.4/pkg/bin/marisa-build +0 -0
- data/ext/marisa-0.2.4/pkg/bin/marisa-common-prefix-search +0 -0
- data/ext/marisa-0.2.4/pkg/bin/marisa-dump +0 -0
- data/ext/marisa-0.2.4/pkg/bin/marisa-lookup +0 -0
- data/ext/marisa-0.2.4/pkg/bin/marisa-predictive-search +0 -0
- data/ext/marisa-0.2.4/pkg/bin/marisa-reverse-lookup +0 -0
- data/ext/marisa-0.2.4/pkg/include/marisa.h +14 -0
- data/ext/marisa-0.2.4/pkg/include/marisa/agent.h +73 -0
- data/ext/marisa-0.2.4/pkg/include/marisa/base.h +193 -0
- data/ext/marisa-0.2.4/pkg/include/marisa/exception.h +82 -0
- data/ext/marisa-0.2.4/pkg/include/marisa/iostream.h +18 -0
- data/ext/marisa-0.2.4/pkg/include/marisa/key.h +85 -0
- data/ext/marisa-0.2.4/pkg/include/marisa/keyset.h +80 -0
- data/ext/marisa-0.2.4/pkg/include/marisa/query.h +71 -0
- data/ext/marisa-0.2.4/pkg/include/marisa/scoped-array.h +48 -0
- data/ext/marisa-0.2.4/pkg/include/marisa/scoped-ptr.h +52 -0
- data/ext/marisa-0.2.4/pkg/include/marisa/stdio.h +15 -0
- data/ext/marisa-0.2.4/pkg/include/marisa/trie.h +64 -0
- data/ext/marisa-0.2.4/pkg/lib/libmarisa.0.dylib +0 -0
- data/ext/marisa-0.2.4/pkg/lib/libmarisa.a +0 -0
- data/ext/marisa-0.2.4/pkg/lib/libmarisa.dylib +0 -0
- data/ext/marisa-0.2.4/pkg/lib/libmarisa.la +41 -0
- data/ext/marisa-0.2.4/pkg/lib/pkgconfig/marisa.pc +11 -0
- data/ext/marisa-0.2.4/tests/Makefile.am +27 -0
- data/ext/marisa-0.2.4/tests/Makefile.in +624 -0
- data/ext/{marisa → marisa-0.2.4}/tests/base-test.cc +0 -0
- data/ext/{marisa → marisa-0.2.4}/tests/io-test.cc +0 -0
- data/ext/{marisa → marisa-0.2.4}/tests/marisa-assert.h +0 -0
- data/ext/{marisa → marisa-0.2.4}/tests/marisa-test.cc +0 -0
- data/ext/{marisa → marisa-0.2.4}/tests/trie-test.cc +0 -0
- data/ext/{marisa → marisa-0.2.4}/tests/vector-test.cc +0 -0
- data/ext/marisa-0.2.4/tools/Makefile.am +39 -0
- data/ext/marisa-0.2.4/tools/Makefile.in +616 -0
- data/ext/{marisa → marisa-0.2.4}/tools/cmdopt.cc +0 -0
- data/ext/{marisa → marisa-0.2.4}/tools/cmdopt.h +0 -0
- data/ext/{marisa → marisa-0.2.4}/tools/marisa-benchmark.cc +0 -0
- data/ext/{marisa → marisa-0.2.4}/tools/marisa-build.cc +0 -0
- data/ext/{marisa → marisa-0.2.4}/tools/marisa-common-prefix-search.cc +0 -0
- data/ext/{marisa → marisa-0.2.4}/tools/marisa-dump.cc +0 -0
- data/ext/{marisa → marisa-0.2.4}/tools/marisa-lookup.cc +0 -0
- data/ext/{marisa → marisa-0.2.4}/tools/marisa-predictive-search.cc +0 -0
- data/ext/{marisa → marisa-0.2.4}/tools/marisa-reverse-lookup.cc +0 -0
- data/ext/marisa-0.2.4/vs2008/base-test/base-test.vcproj +200 -0
- data/ext/marisa-0.2.4/vs2008/io-test/io-test.vcproj +199 -0
- data/ext/marisa-0.2.4/vs2008/libmarisa/libmarisa.vcproj +347 -0
- data/ext/marisa-0.2.4/vs2008/marisa-benchmark/marisa-benchmark.vcproj +203 -0
- data/ext/marisa-0.2.4/vs2008/marisa-build/marisa-build.vcproj +203 -0
- data/ext/marisa-0.2.4/vs2008/marisa-common-prefix-search/marisa-common-prefix-search.vcproj +203 -0
- data/ext/marisa-0.2.4/vs2008/marisa-dump/marisa-dump.vcproj +203 -0
- data/ext/marisa-0.2.4/vs2008/marisa-lookup/marisa-lookup.vcproj +203 -0
- data/ext/marisa-0.2.4/vs2008/marisa-predictive-search/marisa-predictive-search.vcproj +203 -0
- data/ext/marisa-0.2.4/vs2008/marisa-reverse-lookup/marisa-reverse-lookup.vcproj +203 -0
- data/ext/marisa-0.2.4/vs2008/marisa-test/marisa-test.vcproj +199 -0
- data/ext/marisa-0.2.4/vs2008/trie-test/trie-test.vcproj +199 -0
- data/ext/marisa-0.2.4/vs2008/vector-test/vector-test.vcproj +199 -0
- data/ext/marisa-0.2.4/vs2008/vs2008.sln +123 -0
- data/ext/marisa-0.2.4/vs2008/vs2008.suo +0 -0
- data/ext/{marisa/bindings/ruby/marisa-swig.cxx → marisa-swig.cxx} +0 -0
- data/ext/{marisa/bindings/ruby/marisa-swig.h → marisa-swig.h} +0 -0
- data/ext/{marisa/bindings/ruby/marisa-swig_wrap.cxx → marisa-swig_wrap.cxx} +0 -0
- data/lib/melisa/bytes_trie.rb +5 -0
- data/lib/melisa/trie.rb +2 -0
- data/lib/melisa/version.rb +1 -1
- data/melisa.gemspec +7 -9
- data/spec/bytes_trie_spec.rb +6 -1
- data/spec/int_trie_spec.rb +5 -0
- data/spec/search_spec.rb +6 -7
- data/spec/trie_spec.rb +4 -4
- metadata +178 -121
- data/ext/marisa/bindings/ruby/extconf.rb +0 -5
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
"./configure --prefix='/Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg'"
|
|
2
|
+
checking for a BSD-compatible install... /usr/bin/install -c
|
|
3
|
+
checking whether build environment is sane... yes
|
|
4
|
+
checking for a thread-safe mkdir -p... ./install-sh -c -d
|
|
5
|
+
checking for gawk... no
|
|
6
|
+
checking for mawk... no
|
|
7
|
+
checking for nawk... no
|
|
8
|
+
checking for awk... awk
|
|
9
|
+
checking whether make sets $(MAKE)... yes
|
|
10
|
+
checking build system type... x86_64-apple-darwin13.3.0
|
|
11
|
+
checking host system type... x86_64-apple-darwin13.3.0
|
|
12
|
+
checking how to print strings... printf
|
|
13
|
+
checking for style of include used by make... GNU
|
|
14
|
+
checking for gcc... gcc
|
|
15
|
+
checking whether the C compiler works... yes
|
|
16
|
+
checking for C compiler default output file name... a.out
|
|
17
|
+
checking for suffix of executables...
|
|
18
|
+
checking whether we are cross compiling... no
|
|
19
|
+
checking for suffix of object files... o
|
|
20
|
+
checking whether we are using the GNU C compiler... yes
|
|
21
|
+
checking whether gcc accepts -g... yes
|
|
22
|
+
checking for gcc option to accept ISO C89... none needed
|
|
23
|
+
checking dependency style of gcc... gcc3
|
|
24
|
+
checking for a sed that does not truncate output... /usr/bin/sed
|
|
25
|
+
checking for grep that handles long lines and -e... /usr/bin/grep
|
|
26
|
+
checking for egrep... /usr/bin/grep -E
|
|
27
|
+
checking for fgrep... /usr/bin/grep -F
|
|
28
|
+
checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
|
|
29
|
+
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
|
|
30
|
+
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
|
|
31
|
+
checking the name lister (/usr/bin/nm) interface... BSD nm
|
|
32
|
+
checking whether ln -s works... yes
|
|
33
|
+
checking the maximum length of command line arguments... 196608
|
|
34
|
+
checking whether the shell understands some XSI constructs... yes
|
|
35
|
+
checking whether the shell understands "+="... yes
|
|
36
|
+
checking how to convert x86_64-apple-darwin13.3.0 file names to x86_64-apple-darwin13.3.0 format... func_convert_file_noop
|
|
37
|
+
checking how to convert x86_64-apple-darwin13.3.0 file names to toolchain format... func_convert_file_noop
|
|
38
|
+
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
|
|
39
|
+
checking for objdump... no
|
|
40
|
+
checking how to recognize dependent libraries... pass_all
|
|
41
|
+
checking for dlltool... no
|
|
42
|
+
checking how to associate runtime and link libraries... printf %s\n
|
|
43
|
+
checking for ar... ar
|
|
44
|
+
checking for archiver @FILE support... no
|
|
45
|
+
checking for strip... strip
|
|
46
|
+
checking for ranlib... ranlib
|
|
47
|
+
checking command to parse /usr/bin/nm output from gcc object... ok
|
|
48
|
+
checking for sysroot... no
|
|
49
|
+
checking for mt... no
|
|
50
|
+
checking if : is a manifest tool... no
|
|
51
|
+
checking for dsymutil... dsymutil
|
|
52
|
+
checking for nmedit... nmedit
|
|
53
|
+
checking for lipo... lipo
|
|
54
|
+
checking for otool... otool
|
|
55
|
+
checking for otool64... no
|
|
56
|
+
checking for -single_module linker flag... yes
|
|
57
|
+
checking for -exported_symbols_list linker flag... yes
|
|
58
|
+
checking for -force_load linker flag... yes
|
|
59
|
+
checking how to run the C preprocessor... gcc -E
|
|
60
|
+
checking for ANSI C header files... yes
|
|
61
|
+
checking for sys/types.h... yes
|
|
62
|
+
checking for sys/stat.h... yes
|
|
63
|
+
checking for stdlib.h... yes
|
|
64
|
+
checking for string.h... yes
|
|
65
|
+
checking for memory.h... yes
|
|
66
|
+
checking for strings.h... yes
|
|
67
|
+
checking for inttypes.h... yes
|
|
68
|
+
checking for stdint.h... yes
|
|
69
|
+
checking for unistd.h... yes
|
|
70
|
+
checking for dlfcn.h... yes
|
|
71
|
+
checking for objdir... .libs
|
|
72
|
+
checking if gcc supports -fno-rtti -fno-exceptions... yes
|
|
73
|
+
checking for gcc option to produce PIC... -fno-common -DPIC
|
|
74
|
+
checking if gcc PIC flag -fno-common -DPIC works... yes
|
|
75
|
+
checking if gcc static flag -static works... no
|
|
76
|
+
checking if gcc supports -c -o file.o... yes
|
|
77
|
+
checking if gcc supports -c -o file.o... (cached) yes
|
|
78
|
+
checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
|
|
79
|
+
checking dynamic linker characteristics... darwin13.3.0 dyld
|
|
80
|
+
checking how to hardcode library paths into programs... immediate
|
|
81
|
+
checking whether stripping libraries is possible... yes
|
|
82
|
+
checking if libtool supports shared libraries... yes
|
|
83
|
+
checking whether to build shared libraries... yes
|
|
84
|
+
checking whether to build static libraries... yes
|
|
85
|
+
checking for g++... g++
|
|
86
|
+
checking whether we are using the GNU C++ compiler... yes
|
|
87
|
+
checking whether g++ accepts -g... yes
|
|
88
|
+
checking dependency style of g++... gcc3
|
|
89
|
+
checking how to run the C++ preprocessor... g++ -E
|
|
90
|
+
checking for ld used by g++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
|
|
91
|
+
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
|
|
92
|
+
checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
|
|
93
|
+
checking for g++ option to produce PIC... -fno-common -DPIC
|
|
94
|
+
checking if g++ PIC flag -fno-common -DPIC works... yes
|
|
95
|
+
checking if g++ static flag -static works... no
|
|
96
|
+
checking if g++ supports -c -o file.o... yes
|
|
97
|
+
checking if g++ supports -c -o file.o... (cached) yes
|
|
98
|
+
checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
|
|
99
|
+
checking dynamic linker characteristics... darwin13.3.0 dyld
|
|
100
|
+
checking how to hardcode library paths into programs... immediate
|
|
101
|
+
checking whether to use SSE2... no
|
|
102
|
+
checking whether to use SSE3... no
|
|
103
|
+
checking whether to use SSSE3... no
|
|
104
|
+
checking whether to use SSE4.1... no
|
|
105
|
+
checking whether to use SSE4.2... no
|
|
106
|
+
checking whether to use SSE4... no
|
|
107
|
+
checking whether to use SSE4a... no
|
|
108
|
+
checking whether to use popcnt... no
|
|
109
|
+
configure: creating ./config.status
|
|
110
|
+
config.status: creating Makefile
|
|
111
|
+
config.status: creating marisa.pc
|
|
112
|
+
config.status: creating lib/Makefile
|
|
113
|
+
config.status: creating tests/Makefile
|
|
114
|
+
config.status: creating tools/Makefile
|
|
115
|
+
config.status: executing depfiles commands
|
|
116
|
+
config.status: executing libtool commands
|
|
117
|
+
|
|
118
|
+
marisa 0.2.4 configuration:
|
|
119
|
+
-------------------------------
|
|
120
|
+
HOST: x86_64-apple-darwin13.3.0
|
|
121
|
+
CXX: g++
|
|
122
|
+
CXXFLAGS: -g -O2
|
|
123
|
+
LDFLAGS:
|
|
124
|
+
PREFIX: /Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg
|
|
125
|
+
|
|
126
|
+
SSE2: no
|
|
127
|
+
SSE3: no
|
|
128
|
+
SSSE3: no
|
|
129
|
+
SSE4.1: no
|
|
130
|
+
SSE4.2: no
|
|
131
|
+
SSE4a: no
|
|
132
|
+
POPCNT: no
|
|
133
|
+
|
|
134
|
+
"make install"
|
|
135
|
+
Making install in lib
|
|
136
|
+
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" -DPACKAGE_STRING=\"marisa\ 0.2.4\" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -g -O2 -MT keyset.lo -MD -MP -MF .deps/keyset.Tpo -c -o keyset.lo `test -f 'marisa/keyset.cc' || echo './'`marisa/keyset.cc
|
|
137
|
+
libtool: compile: g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" "-DPACKAGE_STRING=\"marisa 0.2.4\"" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -g -O2 -MT keyset.lo -MD -MP -MF .deps/keyset.Tpo -c marisa/keyset.cc -fno-common -DPIC -o .libs/keyset.o
|
|
138
|
+
libtool: compile: g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" "-DPACKAGE_STRING=\"marisa 0.2.4\"" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -g -O2 -MT keyset.lo -MD -MP -MF .deps/keyset.Tpo -c marisa/keyset.cc -o keyset.o >/dev/null 2>&1
|
|
139
|
+
mv -f .deps/keyset.Tpo .deps/keyset.Plo
|
|
140
|
+
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" -DPACKAGE_STRING=\"marisa\ 0.2.4\" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -g -O2 -MT agent.lo -MD -MP -MF .deps/agent.Tpo -c -o agent.lo `test -f 'marisa/agent.cc' || echo './'`marisa/agent.cc
|
|
141
|
+
libtool: compile: g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" "-DPACKAGE_STRING=\"marisa 0.2.4\"" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -g -O2 -MT agent.lo -MD -MP -MF .deps/agent.Tpo -c marisa/agent.cc -fno-common -DPIC -o .libs/agent.o
|
|
142
|
+
libtool: compile: g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" "-DPACKAGE_STRING=\"marisa 0.2.4\"" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -g -O2 -MT agent.lo -MD -MP -MF .deps/agent.Tpo -c marisa/agent.cc -o agent.o >/dev/null 2>&1
|
|
143
|
+
mv -f .deps/agent.Tpo .deps/agent.Plo
|
|
144
|
+
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" -DPACKAGE_STRING=\"marisa\ 0.2.4\" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -g -O2 -MT trie.lo -MD -MP -MF .deps/trie.Tpo -c -o trie.lo `test -f 'marisa/trie.cc' || echo './'`marisa/trie.cc
|
|
145
|
+
libtool: compile: g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" "-DPACKAGE_STRING=\"marisa 0.2.4\"" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -g -O2 -MT trie.lo -MD -MP -MF .deps/trie.Tpo -c marisa/trie.cc -fno-common -DPIC -o .libs/trie.o
|
|
146
|
+
libtool: compile: g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" "-DPACKAGE_STRING=\"marisa 0.2.4\"" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -g -O2 -MT trie.lo -MD -MP -MF .deps/trie.Tpo -c marisa/trie.cc -o trie.o >/dev/null 2>&1
|
|
147
|
+
mv -f .deps/trie.Tpo .deps/trie.Plo
|
|
148
|
+
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" -DPACKAGE_STRING=\"marisa\ 0.2.4\" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -g -O2 -MT mapper.lo -MD -MP -MF .deps/mapper.Tpo -c -o mapper.lo `test -f 'marisa/grimoire/io/mapper.cc' || echo './'`marisa/grimoire/io/mapper.cc
|
|
149
|
+
libtool: compile: g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" "-DPACKAGE_STRING=\"marisa 0.2.4\"" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -g -O2 -MT mapper.lo -MD -MP -MF .deps/mapper.Tpo -c marisa/grimoire/io/mapper.cc -fno-common -DPIC -o .libs/mapper.o
|
|
150
|
+
libtool: compile: g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" "-DPACKAGE_STRING=\"marisa 0.2.4\"" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -g -O2 -MT mapper.lo -MD -MP -MF .deps/mapper.Tpo -c marisa/grimoire/io/mapper.cc -o mapper.o >/dev/null 2>&1
|
|
151
|
+
mv -f .deps/mapper.Tpo .deps/mapper.Plo
|
|
152
|
+
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" -DPACKAGE_STRING=\"marisa\ 0.2.4\" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -g -O2 -MT reader.lo -MD -MP -MF .deps/reader.Tpo -c -o reader.lo `test -f 'marisa/grimoire/io/reader.cc' || echo './'`marisa/grimoire/io/reader.cc
|
|
153
|
+
libtool: compile: g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" "-DPACKAGE_STRING=\"marisa 0.2.4\"" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -g -O2 -MT reader.lo -MD -MP -MF .deps/reader.Tpo -c marisa/grimoire/io/reader.cc -fno-common -DPIC -o .libs/reader.o
|
|
154
|
+
libtool: compile: g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" "-DPACKAGE_STRING=\"marisa 0.2.4\"" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -g -O2 -MT reader.lo -MD -MP -MF .deps/reader.Tpo -c marisa/grimoire/io/reader.cc -o reader.o >/dev/null 2>&1
|
|
155
|
+
mv -f .deps/reader.Tpo .deps/reader.Plo
|
|
156
|
+
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" -DPACKAGE_STRING=\"marisa\ 0.2.4\" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -g -O2 -MT writer.lo -MD -MP -MF .deps/writer.Tpo -c -o writer.lo `test -f 'marisa/grimoire/io/writer.cc' || echo './'`marisa/grimoire/io/writer.cc
|
|
157
|
+
libtool: compile: g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" "-DPACKAGE_STRING=\"marisa 0.2.4\"" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -g -O2 -MT writer.lo -MD -MP -MF .deps/writer.Tpo -c marisa/grimoire/io/writer.cc -fno-common -DPIC -o .libs/writer.o
|
|
158
|
+
libtool: compile: g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" "-DPACKAGE_STRING=\"marisa 0.2.4\"" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -g -O2 -MT writer.lo -MD -MP -MF .deps/writer.Tpo -c marisa/grimoire/io/writer.cc -o writer.o >/dev/null 2>&1
|
|
159
|
+
mv -f .deps/writer.Tpo .deps/writer.Plo
|
|
160
|
+
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" -DPACKAGE_STRING=\"marisa\ 0.2.4\" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -g -O2 -MT bit-vector.lo -MD -MP -MF .deps/bit-vector.Tpo -c -o bit-vector.lo `test -f 'marisa/grimoire/vector/bit-vector.cc' || echo './'`marisa/grimoire/vector/bit-vector.cc
|
|
161
|
+
libtool: compile: g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" "-DPACKAGE_STRING=\"marisa 0.2.4\"" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -g -O2 -MT bit-vector.lo -MD -MP -MF .deps/bit-vector.Tpo -c marisa/grimoire/vector/bit-vector.cc -fno-common -DPIC -o .libs/bit-vector.o
|
|
162
|
+
libtool: compile: g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" "-DPACKAGE_STRING=\"marisa 0.2.4\"" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -g -O2 -MT bit-vector.lo -MD -MP -MF .deps/bit-vector.Tpo -c marisa/grimoire/vector/bit-vector.cc -o bit-vector.o >/dev/null 2>&1
|
|
163
|
+
mv -f .deps/bit-vector.Tpo .deps/bit-vector.Plo
|
|
164
|
+
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" -DPACKAGE_STRING=\"marisa\ 0.2.4\" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -g -O2 -MT tail.lo -MD -MP -MF .deps/tail.Tpo -c -o tail.lo `test -f 'marisa/grimoire/trie/tail.cc' || echo './'`marisa/grimoire/trie/tail.cc
|
|
165
|
+
libtool: compile: g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" "-DPACKAGE_STRING=\"marisa 0.2.4\"" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -g -O2 -MT tail.lo -MD -MP -MF .deps/tail.Tpo -c marisa/grimoire/trie/tail.cc -fno-common -DPIC -o .libs/tail.o
|
|
166
|
+
libtool: compile: g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" "-DPACKAGE_STRING=\"marisa 0.2.4\"" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -g -O2 -MT tail.lo -MD -MP -MF .deps/tail.Tpo -c marisa/grimoire/trie/tail.cc -o tail.o >/dev/null 2>&1
|
|
167
|
+
mv -f .deps/tail.Tpo .deps/tail.Plo
|
|
168
|
+
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" -DPACKAGE_STRING=\"marisa\ 0.2.4\" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -g -O2 -MT louds-trie.lo -MD -MP -MF .deps/louds-trie.Tpo -c -o louds-trie.lo `test -f 'marisa/grimoire/trie/louds-trie.cc' || echo './'`marisa/grimoire/trie/louds-trie.cc
|
|
169
|
+
libtool: compile: g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" "-DPACKAGE_STRING=\"marisa 0.2.4\"" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -g -O2 -MT louds-trie.lo -MD -MP -MF .deps/louds-trie.Tpo -c marisa/grimoire/trie/louds-trie.cc -fno-common -DPIC -o .libs/louds-trie.o
|
|
170
|
+
libtool: compile: g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" "-DPACKAGE_STRING=\"marisa 0.2.4\"" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -g -O2 -MT louds-trie.lo -MD -MP -MF .deps/louds-trie.Tpo -c marisa/grimoire/trie/louds-trie.cc -o louds-trie.o >/dev/null 2>&1
|
|
171
|
+
mv -f .deps/louds-trie.Tpo .deps/louds-trie.Plo
|
|
172
|
+
/bin/sh ../libtool --tag=CXX --mode=link g++ -Wall -Weffc++ -Wextra -g -O2 -o libmarisa.la -rpath /Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/lib keyset.lo agent.lo trie.lo mapper.lo reader.lo writer.lo bit-vector.lo tail.lo louds-trie.lo
|
|
173
|
+
libtool: link: g++ -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/libmarisa.0.dylib .libs/keyset.o .libs/agent.o .libs/trie.o .libs/mapper.o .libs/reader.o .libs/writer.o .libs/bit-vector.o .libs/tail.o .libs/louds-trie.o -O2 -install_name /Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/lib/libmarisa.0.dylib -compatibility_version 1 -current_version 1.0 -Wl,-single_module
|
|
174
|
+
libtool: link: (cd ".libs" && rm -f "libmarisa.dylib" && ln -s "libmarisa.0.dylib" "libmarisa.dylib")
|
|
175
|
+
libtool: link: ar cru .libs/libmarisa.a keyset.o agent.o trie.o mapper.o reader.o writer.o bit-vector.o tail.o louds-trie.o
|
|
176
|
+
libtool: link: ranlib .libs/libmarisa.a
|
|
177
|
+
libtool: link: ( cd ".libs" && rm -f "libmarisa.la" && ln -s "../libmarisa.la" "libmarisa.la" )
|
|
178
|
+
test -z "/Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/lib" || .././install-sh -c -d "/Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/lib"
|
|
179
|
+
/bin/sh ../libtool --mode=install /usr/bin/install -c libmarisa.la '/Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/lib'
|
|
180
|
+
libtool: install: /usr/bin/install -c .libs/libmarisa.0.dylib /Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/lib/libmarisa.0.dylib
|
|
181
|
+
libtool: install: (cd /Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/lib && { ln -s -f libmarisa.0.dylib libmarisa.dylib || { rm -f libmarisa.dylib && ln -s libmarisa.0.dylib libmarisa.dylib; }; })
|
|
182
|
+
libtool: install: /usr/bin/install -c .libs/libmarisa.lai /Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/lib/libmarisa.la
|
|
183
|
+
libtool: install: /usr/bin/install -c .libs/libmarisa.a /Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/lib/libmarisa.a
|
|
184
|
+
libtool: install: chmod 644 /Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/lib/libmarisa.a
|
|
185
|
+
libtool: install: ranlib /Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/lib/libmarisa.a
|
|
186
|
+
test -z "/Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/include" || .././install-sh -c -d "/Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/include"
|
|
187
|
+
/usr/bin/install -c -m 644 marisa.h '/Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/include'
|
|
188
|
+
test -z "/Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/include/marisa" || .././install-sh -c -d "/Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/include/marisa"
|
|
189
|
+
/usr/bin/install -c -m 644 marisa/base.h marisa/exception.h marisa/scoped-ptr.h marisa/scoped-array.h marisa/key.h marisa/keyset.h marisa/query.h marisa/agent.h marisa/stdio.h marisa/iostream.h marisa/trie.h '/Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/include/marisa'
|
|
190
|
+
Making install in tools
|
|
191
|
+
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" -DPACKAGE_STRING=\"marisa\ 0.2.4\" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -I../lib -g -O2 -MT cmdopt.lo -MD -MP -MF .deps/cmdopt.Tpo -c -o cmdopt.lo cmdopt.cc
|
|
192
|
+
libtool: compile: g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" "-DPACKAGE_STRING=\"marisa 0.2.4\"" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -I../lib -g -O2 -MT cmdopt.lo -MD -MP -MF .deps/cmdopt.Tpo -c cmdopt.cc -fno-common -DPIC -o .libs/cmdopt.o
|
|
193
|
+
libtool: compile: g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" "-DPACKAGE_STRING=\"marisa 0.2.4\"" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -I../lib -g -O2 -MT cmdopt.lo -MD -MP -MF .deps/cmdopt.Tpo -c cmdopt.cc -o cmdopt.o >/dev/null 2>&1
|
|
194
|
+
mv -f .deps/cmdopt.Tpo .deps/cmdopt.Plo
|
|
195
|
+
/bin/sh ../libtool --tag=CXX --mode=link g++ -Wall -Weffc++ -Wextra -I../lib -g -O2 -o libcmdopt.la cmdopt.lo
|
|
196
|
+
libtool: link: ar cru .libs/libcmdopt.a .libs/cmdopt.o
|
|
197
|
+
libtool: link: ranlib .libs/libcmdopt.a
|
|
198
|
+
libtool: link: ( cd ".libs" && rm -f "libcmdopt.la" && ln -s "../libcmdopt.la" "libcmdopt.la" )
|
|
199
|
+
g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" -DPACKAGE_STRING=\"marisa\ 0.2.4\" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -I../lib -g -O2 -MT marisa-build.o -MD -MP -MF .deps/marisa-build.Tpo -c -o marisa-build.o marisa-build.cc
|
|
200
|
+
mv -f .deps/marisa-build.Tpo .deps/marisa-build.Po
|
|
201
|
+
/bin/sh ../libtool --tag=CXX --mode=link g++ -Wall -Weffc++ -Wextra -I../lib -g -O2 -o marisa-build marisa-build.o ../lib/libmarisa.la libcmdopt.la
|
|
202
|
+
libtool: link: g++ -Wall -Weffc++ -Wextra -I../lib -g -O2 -o .libs/marisa-build marisa-build.o -Wl,-bind_at_load ../lib/.libs/libmarisa.dylib ./.libs/libcmdopt.a
|
|
203
|
+
g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" -DPACKAGE_STRING=\"marisa\ 0.2.4\" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -I../lib -g -O2 -MT marisa-lookup.o -MD -MP -MF .deps/marisa-lookup.Tpo -c -o marisa-lookup.o marisa-lookup.cc
|
|
204
|
+
mv -f .deps/marisa-lookup.Tpo .deps/marisa-lookup.Po
|
|
205
|
+
/bin/sh ../libtool --tag=CXX --mode=link g++ -Wall -Weffc++ -Wextra -I../lib -g -O2 -o marisa-lookup marisa-lookup.o ../lib/libmarisa.la libcmdopt.la
|
|
206
|
+
libtool: link: g++ -Wall -Weffc++ -Wextra -I../lib -g -O2 -o .libs/marisa-lookup marisa-lookup.o -Wl,-bind_at_load ../lib/.libs/libmarisa.dylib ./.libs/libcmdopt.a
|
|
207
|
+
g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" -DPACKAGE_STRING=\"marisa\ 0.2.4\" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -I../lib -g -O2 -MT marisa-reverse-lookup.o -MD -MP -MF .deps/marisa-reverse-lookup.Tpo -c -o marisa-reverse-lookup.o marisa-reverse-lookup.cc
|
|
208
|
+
mv -f .deps/marisa-reverse-lookup.Tpo .deps/marisa-reverse-lookup.Po
|
|
209
|
+
/bin/sh ../libtool --tag=CXX --mode=link g++ -Wall -Weffc++ -Wextra -I../lib -g -O2 -o marisa-reverse-lookup marisa-reverse-lookup.o ../lib/libmarisa.la libcmdopt.la
|
|
210
|
+
libtool: link: g++ -Wall -Weffc++ -Wextra -I../lib -g -O2 -o .libs/marisa-reverse-lookup marisa-reverse-lookup.o -Wl,-bind_at_load ../lib/.libs/libmarisa.dylib ./.libs/libcmdopt.a
|
|
211
|
+
g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" -DPACKAGE_STRING=\"marisa\ 0.2.4\" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -I../lib -g -O2 -MT marisa-common-prefix-search.o -MD -MP -MF .deps/marisa-common-prefix-search.Tpo -c -o marisa-common-prefix-search.o marisa-common-prefix-search.cc
|
|
212
|
+
mv -f .deps/marisa-common-prefix-search.Tpo .deps/marisa-common-prefix-search.Po
|
|
213
|
+
/bin/sh ../libtool --tag=CXX --mode=link g++ -Wall -Weffc++ -Wextra -I../lib -g -O2 -o marisa-common-prefix-search marisa-common-prefix-search.o ../lib/libmarisa.la libcmdopt.la
|
|
214
|
+
libtool: link: g++ -Wall -Weffc++ -Wextra -I../lib -g -O2 -o .libs/marisa-common-prefix-search marisa-common-prefix-search.o -Wl,-bind_at_load ../lib/.libs/libmarisa.dylib ./.libs/libcmdopt.a
|
|
215
|
+
g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" -DPACKAGE_STRING=\"marisa\ 0.2.4\" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -I../lib -g -O2 -MT marisa-predictive-search.o -MD -MP -MF .deps/marisa-predictive-search.Tpo -c -o marisa-predictive-search.o marisa-predictive-search.cc
|
|
216
|
+
mv -f .deps/marisa-predictive-search.Tpo .deps/marisa-predictive-search.Po
|
|
217
|
+
/bin/sh ../libtool --tag=CXX --mode=link g++ -Wall -Weffc++ -Wextra -I../lib -g -O2 -o marisa-predictive-search marisa-predictive-search.o ../lib/libmarisa.la libcmdopt.la
|
|
218
|
+
libtool: link: g++ -Wall -Weffc++ -Wextra -I../lib -g -O2 -o .libs/marisa-predictive-search marisa-predictive-search.o -Wl,-bind_at_load ../lib/.libs/libmarisa.dylib ./.libs/libcmdopt.a
|
|
219
|
+
g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" -DPACKAGE_STRING=\"marisa\ 0.2.4\" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -I../lib -g -O2 -MT marisa-dump.o -MD -MP -MF .deps/marisa-dump.Tpo -c -o marisa-dump.o marisa-dump.cc
|
|
220
|
+
mv -f .deps/marisa-dump.Tpo .deps/marisa-dump.Po
|
|
221
|
+
/bin/sh ../libtool --tag=CXX --mode=link g++ -Wall -Weffc++ -Wextra -I../lib -g -O2 -o marisa-dump marisa-dump.o ../lib/libmarisa.la libcmdopt.la
|
|
222
|
+
libtool: link: g++ -Wall -Weffc++ -Wextra -I../lib -g -O2 -o .libs/marisa-dump marisa-dump.o -Wl,-bind_at_load ../lib/.libs/libmarisa.dylib ./.libs/libcmdopt.a
|
|
223
|
+
g++ -DPACKAGE_NAME=\"marisa\" -DPACKAGE_TARNAME=\"marisa\" -DPACKAGE_VERSION=\"0.2.4\" -DPACKAGE_STRING=\"marisa\ 0.2.4\" -DPACKAGE_BUGREPORT=\"syata@acm.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"marisa\" -DVERSION=\"0.2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Weffc++ -Wextra -I../lib -g -O2 -MT marisa-benchmark.o -MD -MP -MF .deps/marisa-benchmark.Tpo -c -o marisa-benchmark.o marisa-benchmark.cc
|
|
224
|
+
mv -f .deps/marisa-benchmark.Tpo .deps/marisa-benchmark.Po
|
|
225
|
+
/bin/sh ../libtool --tag=CXX --mode=link g++ -Wall -Weffc++ -Wextra -I../lib -g -O2 -o marisa-benchmark marisa-benchmark.o ../lib/libmarisa.la libcmdopt.la
|
|
226
|
+
libtool: link: g++ -Wall -Weffc++ -Wextra -I../lib -g -O2 -o .libs/marisa-benchmark marisa-benchmark.o -Wl,-bind_at_load ../lib/.libs/libmarisa.dylib ./.libs/libcmdopt.a
|
|
227
|
+
test -z "/Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/bin" || .././install-sh -c -d "/Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/bin"
|
|
228
|
+
/bin/sh ../libtool --mode=install /usr/bin/install -c marisa-build marisa-lookup marisa-reverse-lookup marisa-common-prefix-search marisa-predictive-search marisa-dump marisa-benchmark '/Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/bin'
|
|
229
|
+
libtool: install: /usr/bin/install -c .libs/marisa-build /Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/bin/marisa-build
|
|
230
|
+
libtool: install: /usr/bin/install -c .libs/marisa-lookup /Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/bin/marisa-lookup
|
|
231
|
+
libtool: install: /usr/bin/install -c .libs/marisa-reverse-lookup /Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/bin/marisa-reverse-lookup
|
|
232
|
+
libtool: install: /usr/bin/install -c .libs/marisa-common-prefix-search /Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/bin/marisa-common-prefix-search
|
|
233
|
+
libtool: install: /usr/bin/install -c .libs/marisa-predictive-search /Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/bin/marisa-predictive-search
|
|
234
|
+
libtool: install: /usr/bin/install -c .libs/marisa-dump /Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/bin/marisa-dump
|
|
235
|
+
libtool: install: /usr/bin/install -c .libs/marisa-benchmark /Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/bin/marisa-benchmark
|
|
236
|
+
make[2]: Nothing to be done for `install-data-am'.
|
|
237
|
+
Making install in tests
|
|
238
|
+
make[2]: Nothing to be done for `install-exec-am'.
|
|
239
|
+
make[2]: Nothing to be done for `install-data-am'.
|
|
240
|
+
make[2]: Nothing to be done for `install-exec-am'.
|
|
241
|
+
test -z "/Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/lib/pkgconfig" || ./install-sh -c -d "/Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/lib/pkgconfig"
|
|
242
|
+
/usr/bin/install -c -m 644 marisa.pc '/Users/duane/Dropbox/Projects/wordtree/melisa/ext/marisa-0.2.4/pkg/lib/pkgconfig'
|
|
243
|
+
"make distclean"
|
|
244
|
+
Making distclean in tests
|
|
245
|
+
rm -f base-test io-test vector-test trie-test marisa-test
|
|
246
|
+
rm -rf .libs _libs
|
|
247
|
+
rm -f *.o
|
|
248
|
+
rm -f *.lo
|
|
249
|
+
rm -f *.tab.c
|
|
250
|
+
test -z "" || rm -f
|
|
251
|
+
test . = "." || test -z "" || rm -f
|
|
252
|
+
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
|
253
|
+
rm -rf ./.deps
|
|
254
|
+
rm -f Makefile
|
|
255
|
+
Making distclean in tools
|
|
256
|
+
rm -f marisa-build marisa-lookup marisa-reverse-lookup marisa-common-prefix-search marisa-predictive-search marisa-dump marisa-benchmark
|
|
257
|
+
rm -rf .libs _libs
|
|
258
|
+
test -z "libcmdopt.la" || rm -f libcmdopt.la
|
|
259
|
+
rm -f "./so_locations"
|
|
260
|
+
rm -f *.o
|
|
261
|
+
rm -f *.lo
|
|
262
|
+
rm -f *.tab.c
|
|
263
|
+
test -z "" || rm -f
|
|
264
|
+
test . = "." || test -z "" || rm -f
|
|
265
|
+
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
|
266
|
+
rm -rf ./.deps
|
|
267
|
+
rm -f Makefile
|
|
268
|
+
Making distclean in lib
|
|
269
|
+
test -z "libmarisa.la" || rm -f libmarisa.la
|
|
270
|
+
rm -f "./so_locations"
|
|
271
|
+
rm -rf .libs _libs
|
|
272
|
+
rm -f *.o
|
|
273
|
+
rm -f *.lo
|
|
274
|
+
rm -f *.tab.c
|
|
275
|
+
test -z "" || rm -f
|
|
276
|
+
test . = "." || test -z "" || rm -f
|
|
277
|
+
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
|
278
|
+
rm -rf ./.deps
|
|
279
|
+
rm -f Makefile
|
|
280
|
+
Making distclean in .
|
|
281
|
+
rm -rf .libs _libs
|
|
282
|
+
rm -f *.lo
|
|
283
|
+
test -z "marisa.pc" || rm -f marisa.pc
|
|
284
|
+
test . = "." || test -z "" || rm -f
|
|
285
|
+
rm -f libtool config.lt
|
|
286
|
+
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
|
287
|
+
rm -f config.status config.cache config.log configure.lineno config.status.lineno
|
|
288
|
+
rm -f Makefile
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#ifndef MARISA_H_
|
|
2
|
+
#define MARISA_H_
|
|
3
|
+
|
|
4
|
+
// "marisa/stdio.h" includes <cstdio> for I/O using std::FILE.
|
|
5
|
+
#include "marisa/stdio.h"
|
|
6
|
+
|
|
7
|
+
// "marisa/iostream.h" includes <iosfwd> for I/O using std::iostream.
|
|
8
|
+
#include "marisa/iostream.h"
|
|
9
|
+
|
|
10
|
+
// You can use <marisa/trie.h> instead of <marisa.h> if you don't need the
|
|
11
|
+
// above I/O interfaces and don't want to include the above I/O headers.
|
|
12
|
+
#include "marisa/trie.h"
|
|
13
|
+
|
|
14
|
+
#endif // MARISA_H_
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
#ifndef MARISA_AGENT_H_
|
|
2
|
+
#define MARISA_AGENT_H_
|
|
3
|
+
|
|
4
|
+
#include "key.h"
|
|
5
|
+
#include "query.h"
|
|
6
|
+
|
|
7
|
+
namespace marisa {
|
|
8
|
+
namespace grimoire {
|
|
9
|
+
namespace trie {
|
|
10
|
+
|
|
11
|
+
class State;
|
|
12
|
+
|
|
13
|
+
} // namespace trie
|
|
14
|
+
} // namespace grimoire
|
|
15
|
+
|
|
16
|
+
class Agent {
|
|
17
|
+
public:
|
|
18
|
+
Agent();
|
|
19
|
+
~Agent();
|
|
20
|
+
|
|
21
|
+
const Query &query() const {
|
|
22
|
+
return query_;
|
|
23
|
+
}
|
|
24
|
+
const Key &key() const {
|
|
25
|
+
return key_;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
void set_query(const char *str);
|
|
29
|
+
void set_query(const char *ptr, std::size_t length);
|
|
30
|
+
void set_query(std::size_t key_id);
|
|
31
|
+
|
|
32
|
+
const grimoire::trie::State &state() const {
|
|
33
|
+
return *state_;
|
|
34
|
+
}
|
|
35
|
+
grimoire::trie::State &state() {
|
|
36
|
+
return *state_;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
void set_key(const char *str) {
|
|
40
|
+
MARISA_DEBUG_IF(str == NULL, MARISA_NULL_ERROR);
|
|
41
|
+
key_.set_str(str);
|
|
42
|
+
}
|
|
43
|
+
void set_key(const char *ptr, std::size_t length) {
|
|
44
|
+
MARISA_DEBUG_IF((ptr == NULL) && (length != 0), MARISA_NULL_ERROR);
|
|
45
|
+
MARISA_DEBUG_IF(length > MARISA_UINT32_MAX, MARISA_SIZE_ERROR);
|
|
46
|
+
key_.set_str(ptr, length);
|
|
47
|
+
}
|
|
48
|
+
void set_key(std::size_t id) {
|
|
49
|
+
MARISA_DEBUG_IF(id > MARISA_UINT32_MAX, MARISA_SIZE_ERROR);
|
|
50
|
+
key_.set_id(id);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
bool has_state() const {
|
|
54
|
+
return state_.get() != NULL;
|
|
55
|
+
}
|
|
56
|
+
void init_state();
|
|
57
|
+
|
|
58
|
+
void clear();
|
|
59
|
+
void swap(Agent &rhs);
|
|
60
|
+
|
|
61
|
+
private:
|
|
62
|
+
Query query_;
|
|
63
|
+
Key key_;
|
|
64
|
+
scoped_ptr<grimoire::trie::State> state_;
|
|
65
|
+
|
|
66
|
+
// Disallows copy and assignment.
|
|
67
|
+
Agent(const Agent &);
|
|
68
|
+
Agent &operator=(const Agent &);
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
} // namespace marisa
|
|
72
|
+
|
|
73
|
+
#endif // MARISA_AGENT_H_
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
#ifndef MARISA_BASE_H_
|
|
2
|
+
#define MARISA_BASE_H_
|
|
3
|
+
|
|
4
|
+
// Old Visual C++ does not provide stdint.h.
|
|
5
|
+
#ifndef _MSC_VER
|
|
6
|
+
#include <stdint.h>
|
|
7
|
+
#endif // _MSC_VER
|
|
8
|
+
|
|
9
|
+
#ifdef __cplusplus
|
|
10
|
+
#include <cstddef>
|
|
11
|
+
#else // __cplusplus
|
|
12
|
+
#include <stddef.h>
|
|
13
|
+
#endif // __cplusplus
|
|
14
|
+
|
|
15
|
+
#ifdef __cplusplus
|
|
16
|
+
extern "C" {
|
|
17
|
+
#endif // __cplusplus
|
|
18
|
+
|
|
19
|
+
#ifdef _MSC_VER
|
|
20
|
+
typedef unsigned __int8 marisa_uint8;
|
|
21
|
+
typedef unsigned __int16 marisa_uint16;
|
|
22
|
+
typedef unsigned __int32 marisa_uint32;
|
|
23
|
+
typedef unsigned __int64 marisa_uint64;
|
|
24
|
+
#else // _MSC_VER
|
|
25
|
+
typedef uint8_t marisa_uint8;
|
|
26
|
+
typedef uint16_t marisa_uint16;
|
|
27
|
+
typedef uint32_t marisa_uint32;
|
|
28
|
+
typedef uint64_t marisa_uint64;
|
|
29
|
+
#endif // _MSC_VER
|
|
30
|
+
|
|
31
|
+
#if defined(_WIN64) || defined(__amd64__) || defined(__x86_64__) || \
|
|
32
|
+
defined(__ia64__) || defined(__ppc64__) || defined(__powerpc64__) || \
|
|
33
|
+
defined(__sparc64__) || defined(__mips64__) || defined(__aarch64__)
|
|
34
|
+
#define MARISA_WORD_SIZE 64
|
|
35
|
+
#else // defined(_WIN64), etc.
|
|
36
|
+
#define MARISA_WORD_SIZE 32
|
|
37
|
+
#endif // defined(_WIN64), etc.
|
|
38
|
+
|
|
39
|
+
//#define MARISA_WORD_SIZE (sizeof(void *) * 8)
|
|
40
|
+
|
|
41
|
+
#define MARISA_UINT8_MAX ((marisa_uint8)~(marisa_uint8)0)
|
|
42
|
+
#define MARISA_UINT16_MAX ((marisa_uint16)~(marisa_uint16)0)
|
|
43
|
+
#define MARISA_UINT32_MAX ((marisa_uint32)~(marisa_uint32)0)
|
|
44
|
+
#define MARISA_UINT64_MAX ((marisa_uint64)~(marisa_uint64)0)
|
|
45
|
+
#define MARISA_SIZE_MAX ((size_t)~(size_t)0)
|
|
46
|
+
|
|
47
|
+
#define MARISA_INVALID_LINK_ID MARISA_UINT32_MAX
|
|
48
|
+
#define MARISA_INVALID_KEY_ID MARISA_UINT32_MAX
|
|
49
|
+
#define MARISA_INVALID_EXTRA (MARISA_UINT32_MAX >> 8)
|
|
50
|
+
|
|
51
|
+
// Error codes are defined as members of marisa_error_code. This library throws
|
|
52
|
+
// an exception with one of the error codes when an error occurs.
|
|
53
|
+
typedef enum marisa_error_code_ {
|
|
54
|
+
// MARISA_OK means that a requested operation has succeeded. In practice, an
|
|
55
|
+
// exception never has MARISA_OK because it is not an error.
|
|
56
|
+
MARISA_OK = 0,
|
|
57
|
+
|
|
58
|
+
// MARISA_STATE_ERROR means that an object was not ready for a requested
|
|
59
|
+
// operation. For example, an operation to modify a fixed vector throws an
|
|
60
|
+
// exception with MARISA_STATE_ERROR.
|
|
61
|
+
MARISA_STATE_ERROR = 1,
|
|
62
|
+
|
|
63
|
+
// MARISA_NULL_ERROR means that an invalid NULL pointer has been given.
|
|
64
|
+
MARISA_NULL_ERROR = 2,
|
|
65
|
+
|
|
66
|
+
// MARISA_BOUND_ERROR means that an operation has tried to access an out of
|
|
67
|
+
// range address.
|
|
68
|
+
MARISA_BOUND_ERROR = 3,
|
|
69
|
+
|
|
70
|
+
// MARISA_RANGE_ERROR means that an out of range value has appeared in
|
|
71
|
+
// operation.
|
|
72
|
+
MARISA_RANGE_ERROR = 4,
|
|
73
|
+
|
|
74
|
+
// MARISA_CODE_ERROR means that an undefined code has appeared in operation.
|
|
75
|
+
MARISA_CODE_ERROR = 5,
|
|
76
|
+
|
|
77
|
+
// MARISA_RESET_ERROR means that a smart pointer has tried to reset itself.
|
|
78
|
+
MARISA_RESET_ERROR = 6,
|
|
79
|
+
|
|
80
|
+
// MARISA_SIZE_ERROR means that a size has exceeded a library limitation.
|
|
81
|
+
MARISA_SIZE_ERROR = 7,
|
|
82
|
+
|
|
83
|
+
// MARISA_MEMORY_ERROR means that a memory allocation has failed.
|
|
84
|
+
MARISA_MEMORY_ERROR = 8,
|
|
85
|
+
|
|
86
|
+
// MARISA_IO_ERROR means that an I/O operation has failed.
|
|
87
|
+
MARISA_IO_ERROR = 9,
|
|
88
|
+
|
|
89
|
+
// MARISA_FORMAT_ERROR means that input was in invalid format.
|
|
90
|
+
MARISA_FORMAT_ERROR = 10,
|
|
91
|
+
} marisa_error_code;
|
|
92
|
+
|
|
93
|
+
// Min/max values, flags and masks for dictionary settings are defined below.
|
|
94
|
+
// Please note that unspecified settings will be replaced with the default
|
|
95
|
+
// settings. For example, 0 is equivalent to (MARISA_DEFAULT_NUM_TRIES |
|
|
96
|
+
// MARISA_DEFAULT_TRIE | MARISA_DEFAULT_TAIL | MARISA_DEFAULT_ORDER).
|
|
97
|
+
|
|
98
|
+
// A dictionary consists of 3 tries in default. Usually more tries make a
|
|
99
|
+
// dictionary space-efficient but time-inefficient.
|
|
100
|
+
typedef enum marisa_num_tries_ {
|
|
101
|
+
MARISA_MIN_NUM_TRIES = 0x00001,
|
|
102
|
+
MARISA_MAX_NUM_TRIES = 0x0007F,
|
|
103
|
+
MARISA_DEFAULT_NUM_TRIES = 0x00003,
|
|
104
|
+
} marisa_num_tries;
|
|
105
|
+
|
|
106
|
+
// This library uses a cache technique to accelerate search functions. The
|
|
107
|
+
// following enumerated type marisa_cache_level gives a list of available cache
|
|
108
|
+
// size options. A larger cache enables faster search but takes a more space.
|
|
109
|
+
typedef enum marisa_cache_level_ {
|
|
110
|
+
MARISA_HUGE_CACHE = 0x00080,
|
|
111
|
+
MARISA_LARGE_CACHE = 0x00100,
|
|
112
|
+
MARISA_NORMAL_CACHE = 0x00200,
|
|
113
|
+
MARISA_SMALL_CACHE = 0x00400,
|
|
114
|
+
MARISA_TINY_CACHE = 0x00800,
|
|
115
|
+
MARISA_DEFAULT_CACHE = MARISA_NORMAL_CACHE
|
|
116
|
+
} marisa_cache_level;
|
|
117
|
+
|
|
118
|
+
// This library provides 2 kinds of TAIL implementations.
|
|
119
|
+
typedef enum marisa_tail_mode_ {
|
|
120
|
+
// MARISA_TEXT_TAIL merges last labels as zero-terminated strings. So, it is
|
|
121
|
+
// available if and only if the last labels do not contain a NULL character.
|
|
122
|
+
// If MARISA_TEXT_TAIL is specified and a NULL character exists in the last
|
|
123
|
+
// labels, the setting is automatically switched to MARISA_BINARY_TAIL.
|
|
124
|
+
MARISA_TEXT_TAIL = 0x01000,
|
|
125
|
+
|
|
126
|
+
// MARISA_BINARY_TAIL also merges last labels but as byte sequences. It uses
|
|
127
|
+
// a bit vector to detect the end of a sequence, instead of NULL characters.
|
|
128
|
+
// So, MARISA_BINARY_TAIL requires a larger space if the average length of
|
|
129
|
+
// labels is greater than 8.
|
|
130
|
+
MARISA_BINARY_TAIL = 0x02000,
|
|
131
|
+
|
|
132
|
+
MARISA_DEFAULT_TAIL = MARISA_TEXT_TAIL,
|
|
133
|
+
} marisa_tail_mode;
|
|
134
|
+
|
|
135
|
+
// The arrangement of nodes affects the time cost of matching and the order of
|
|
136
|
+
// predictive search.
|
|
137
|
+
typedef enum marisa_node_order_ {
|
|
138
|
+
// MARISA_LABEL_ORDER arranges nodes in ascending label order.
|
|
139
|
+
// MARISA_LABEL_ORDER is useful if an application needs to predict keys in
|
|
140
|
+
// label order.
|
|
141
|
+
MARISA_LABEL_ORDER = 0x10000,
|
|
142
|
+
|
|
143
|
+
// MARISA_WEIGHT_ORDER arranges nodes in descending weight order.
|
|
144
|
+
// MARISA_WEIGHT_ORDER is generally a better choice because it enables faster
|
|
145
|
+
// matching.
|
|
146
|
+
MARISA_WEIGHT_ORDER = 0x20000,
|
|
147
|
+
|
|
148
|
+
MARISA_DEFAULT_ORDER = MARISA_WEIGHT_ORDER,
|
|
149
|
+
} marisa_node_order;
|
|
150
|
+
|
|
151
|
+
typedef enum marisa_config_mask_ {
|
|
152
|
+
MARISA_NUM_TRIES_MASK = 0x0007F,
|
|
153
|
+
MARISA_CACHE_LEVEL_MASK = 0x00F80,
|
|
154
|
+
MARISA_TAIL_MODE_MASK = 0x0F000,
|
|
155
|
+
MARISA_NODE_ORDER_MASK = 0xF0000,
|
|
156
|
+
MARISA_CONFIG_MASK = 0xFFFFF
|
|
157
|
+
} marisa_config_mask;
|
|
158
|
+
|
|
159
|
+
#ifdef __cplusplus
|
|
160
|
+
} // extern "C"
|
|
161
|
+
#endif // __cplusplus
|
|
162
|
+
|
|
163
|
+
#ifdef __cplusplus
|
|
164
|
+
namespace marisa {
|
|
165
|
+
|
|
166
|
+
typedef ::marisa_uint8 UInt8;
|
|
167
|
+
typedef ::marisa_uint16 UInt16;
|
|
168
|
+
typedef ::marisa_uint32 UInt32;
|
|
169
|
+
typedef ::marisa_uint64 UInt64;
|
|
170
|
+
|
|
171
|
+
typedef ::marisa_error_code ErrorCode;
|
|
172
|
+
|
|
173
|
+
typedef ::marisa_cache_level CacheLevel;
|
|
174
|
+
typedef ::marisa_tail_mode TailMode;
|
|
175
|
+
typedef ::marisa_node_order NodeOrder;
|
|
176
|
+
|
|
177
|
+
template <typename T>
|
|
178
|
+
inline void swap(T &lhs, T &rhs) {
|
|
179
|
+
T temp = lhs;
|
|
180
|
+
lhs = rhs;
|
|
181
|
+
rhs = temp;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
} // namespace marisa
|
|
185
|
+
#endif // __cplusplus
|
|
186
|
+
|
|
187
|
+
#ifdef __cplusplus
|
|
188
|
+
#include "exception.h"
|
|
189
|
+
#include "scoped-ptr.h"
|
|
190
|
+
#include "scoped-array.h"
|
|
191
|
+
#endif // __cplusplus
|
|
192
|
+
|
|
193
|
+
#endif // MARISA_BASE_H_
|