melisa 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (166) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +53 -4
  3. data/ext/extconf.rb +33 -0
  4. data/ext/marisa-0.2.4/AUTHORS +1 -0
  5. data/ext/marisa-0.2.4/COPYING +32 -0
  6. data/ext/marisa-0.2.4/ChangeLog +0 -0
  7. data/ext/marisa-0.2.4/INSTALL +237 -0
  8. data/ext/marisa-0.2.4/Makefile.am +24 -0
  9. data/ext/marisa-0.2.4/Makefile.in +803 -0
  10. data/ext/marisa-0.2.4/NEWS +0 -0
  11. data/ext/marisa-0.2.4/README +63 -0
  12. data/ext/marisa-0.2.4/aclocal.m4 +976 -0
  13. data/ext/marisa-0.2.4/bindings/Makefile +16 -0
  14. data/ext/{marisa → marisa-0.2.4}/bindings/marisa-swig.cxx +0 -0
  15. data/ext/{marisa → marisa-0.2.4}/bindings/marisa-swig.h +0 -0
  16. data/ext/marisa-0.2.4/bindings/marisa-swig.i +28 -0
  17. data/ext/marisa-0.2.4/bindings/perl/Makefile.PL +7 -0
  18. data/ext/{marisa → marisa-0.2.4}/bindings/perl/marisa-swig.cxx +0 -0
  19. data/ext/{marisa → marisa-0.2.4}/bindings/perl/marisa-swig.h +0 -0
  20. data/ext/{marisa → marisa-0.2.4}/bindings/perl/marisa-swig_wrap.cxx +0 -0
  21. data/ext/marisa-0.2.4/bindings/perl/marisa.pm +297 -0
  22. data/ext/marisa-0.2.4/bindings/perl/sample.dic +0 -0
  23. data/ext/marisa-0.2.4/bindings/perl/sample.pl +62 -0
  24. data/ext/{marisa → marisa-0.2.4}/bindings/python/marisa-swig.cxx +0 -0
  25. data/ext/{marisa → marisa-0.2.4}/bindings/python/marisa-swig.h +0 -0
  26. data/ext/{marisa → marisa-0.2.4}/bindings/python/marisa-swig_wrap.cxx +0 -0
  27. data/ext/marisa-0.2.4/bindings/python/marisa.py +206 -0
  28. data/ext/marisa-0.2.4/bindings/python/sample.dic +0 -0
  29. data/ext/marisa-0.2.4/bindings/python/sample.py +57 -0
  30. data/ext/marisa-0.2.4/bindings/python/setup.py +9 -0
  31. data/ext/marisa-0.2.4/config.guess +1530 -0
  32. data/ext/marisa-0.2.4/config.sub +1773 -0
  33. data/ext/marisa-0.2.4/configure +17636 -0
  34. data/ext/marisa-0.2.4/configure.ac +172 -0
  35. data/ext/marisa-0.2.4/depcomp +688 -0
  36. data/ext/marisa-0.2.4/docs/readme.en.html +740 -0
  37. data/ext/marisa-0.2.4/docs/readme.ja.html +750 -0
  38. data/ext/marisa-0.2.4/docs/style.css +245 -0
  39. data/ext/marisa-0.2.4/install-sh +520 -0
  40. data/ext/marisa-0.2.4/lib/Makefile.am +57 -0
  41. data/ext/marisa-0.2.4/lib/Makefile.in +701 -0
  42. data/ext/{marisa → marisa-0.2.4}/lib/marisa.h +0 -0
  43. data/ext/{marisa → marisa-0.2.4}/lib/marisa/agent.cc +2 -2
  44. data/ext/{marisa → marisa-0.2.4}/lib/marisa/agent.h +2 -2
  45. data/ext/{marisa → marisa-0.2.4}/lib/marisa/base.h +3 -3
  46. data/ext/{marisa → marisa-0.2.4}/lib/marisa/exception.h +1 -1
  47. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/algorithm.h +1 -1
  48. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/algorithm/sort.h +1 -1
  49. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/intrin.h +1 -1
  50. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/io.h +3 -3
  51. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/io/mapper.cc +1 -1
  52. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/io/mapper.h +1 -1
  53. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/io/reader.cc +1 -1
  54. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/io/reader.h +1 -1
  55. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/io/writer.cc +1 -1
  56. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/io/writer.h +1 -1
  57. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie.h +2 -2
  58. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/cache.h +1 -1
  59. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/config.h +1 -1
  60. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/entry.h +1 -1
  61. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/header.h +1 -1
  62. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/history.h +1 -1
  63. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/key.h +1 -1
  64. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/louds-trie.cc +5 -5
  65. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/louds-trie.h +7 -7
  66. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/range.h +1 -1
  67. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/state.h +2 -2
  68. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/tail.cc +3 -3
  69. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/tail.h +3 -3
  70. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/vector.h +3 -3
  71. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/vector/bit-vector.cc +2 -2
  72. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/vector/bit-vector.h +2 -2
  73. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/vector/flat-vector.h +1 -1
  74. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/vector/pop-count.h +1 -1
  75. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/vector/rank-index.h +1 -1
  76. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/vector/vector.h +1 -1
  77. data/ext/{marisa → marisa-0.2.4}/lib/marisa/iostream.h +0 -0
  78. data/ext/{marisa → marisa-0.2.4}/lib/marisa/key.h +1 -1
  79. data/ext/{marisa → marisa-0.2.4}/lib/marisa/keyset.cc +1 -1
  80. data/ext/{marisa → marisa-0.2.4}/lib/marisa/keyset.h +1 -1
  81. data/ext/{marisa → marisa-0.2.4}/lib/marisa/query.h +1 -1
  82. data/ext/{marisa → marisa-0.2.4}/lib/marisa/scoped-array.h +1 -1
  83. data/ext/{marisa → marisa-0.2.4}/lib/marisa/scoped-ptr.h +1 -1
  84. data/ext/{marisa → marisa-0.2.4}/lib/marisa/stdio.h +0 -0
  85. data/ext/{marisa → marisa-0.2.4}/lib/marisa/trie.cc +4 -4
  86. data/ext/{marisa → marisa-0.2.4}/lib/marisa/trie.h +2 -2
  87. data/ext/marisa-0.2.4/ltmain.sh +9661 -0
  88. data/ext/marisa-0.2.4/m4/libtool.m4 +8001 -0
  89. data/ext/marisa-0.2.4/m4/ltoptions.m4 +384 -0
  90. data/ext/marisa-0.2.4/m4/ltsugar.m4 +123 -0
  91. data/ext/marisa-0.2.4/m4/ltversion.m4 +23 -0
  92. data/ext/marisa-0.2.4/m4/lt~obsolete.m4 +98 -0
  93. data/ext/marisa-0.2.4/marisa.pc.in +11 -0
  94. data/ext/marisa-0.2.4/missing +331 -0
  95. data/ext/marisa-0.2.4/mkmf.log +288 -0
  96. data/ext/marisa-0.2.4/pkg/bin/marisa-benchmark +0 -0
  97. data/ext/marisa-0.2.4/pkg/bin/marisa-build +0 -0
  98. data/ext/marisa-0.2.4/pkg/bin/marisa-common-prefix-search +0 -0
  99. data/ext/marisa-0.2.4/pkg/bin/marisa-dump +0 -0
  100. data/ext/marisa-0.2.4/pkg/bin/marisa-lookup +0 -0
  101. data/ext/marisa-0.2.4/pkg/bin/marisa-predictive-search +0 -0
  102. data/ext/marisa-0.2.4/pkg/bin/marisa-reverse-lookup +0 -0
  103. data/ext/marisa-0.2.4/pkg/include/marisa.h +14 -0
  104. data/ext/marisa-0.2.4/pkg/include/marisa/agent.h +73 -0
  105. data/ext/marisa-0.2.4/pkg/include/marisa/base.h +193 -0
  106. data/ext/marisa-0.2.4/pkg/include/marisa/exception.h +82 -0
  107. data/ext/marisa-0.2.4/pkg/include/marisa/iostream.h +18 -0
  108. data/ext/marisa-0.2.4/pkg/include/marisa/key.h +85 -0
  109. data/ext/marisa-0.2.4/pkg/include/marisa/keyset.h +80 -0
  110. data/ext/marisa-0.2.4/pkg/include/marisa/query.h +71 -0
  111. data/ext/marisa-0.2.4/pkg/include/marisa/scoped-array.h +48 -0
  112. data/ext/marisa-0.2.4/pkg/include/marisa/scoped-ptr.h +52 -0
  113. data/ext/marisa-0.2.4/pkg/include/marisa/stdio.h +15 -0
  114. data/ext/marisa-0.2.4/pkg/include/marisa/trie.h +64 -0
  115. data/ext/marisa-0.2.4/pkg/lib/libmarisa.0.dylib +0 -0
  116. data/ext/marisa-0.2.4/pkg/lib/libmarisa.a +0 -0
  117. data/ext/marisa-0.2.4/pkg/lib/libmarisa.dylib +0 -0
  118. data/ext/marisa-0.2.4/pkg/lib/libmarisa.la +41 -0
  119. data/ext/marisa-0.2.4/pkg/lib/pkgconfig/marisa.pc +11 -0
  120. data/ext/marisa-0.2.4/tests/Makefile.am +27 -0
  121. data/ext/marisa-0.2.4/tests/Makefile.in +624 -0
  122. data/ext/{marisa → marisa-0.2.4}/tests/base-test.cc +0 -0
  123. data/ext/{marisa → marisa-0.2.4}/tests/io-test.cc +0 -0
  124. data/ext/{marisa → marisa-0.2.4}/tests/marisa-assert.h +0 -0
  125. data/ext/{marisa → marisa-0.2.4}/tests/marisa-test.cc +0 -0
  126. data/ext/{marisa → marisa-0.2.4}/tests/trie-test.cc +0 -0
  127. data/ext/{marisa → marisa-0.2.4}/tests/vector-test.cc +0 -0
  128. data/ext/marisa-0.2.4/tools/Makefile.am +39 -0
  129. data/ext/marisa-0.2.4/tools/Makefile.in +616 -0
  130. data/ext/{marisa → marisa-0.2.4}/tools/cmdopt.cc +0 -0
  131. data/ext/{marisa → marisa-0.2.4}/tools/cmdopt.h +0 -0
  132. data/ext/{marisa → marisa-0.2.4}/tools/marisa-benchmark.cc +0 -0
  133. data/ext/{marisa → marisa-0.2.4}/tools/marisa-build.cc +0 -0
  134. data/ext/{marisa → marisa-0.2.4}/tools/marisa-common-prefix-search.cc +0 -0
  135. data/ext/{marisa → marisa-0.2.4}/tools/marisa-dump.cc +0 -0
  136. data/ext/{marisa → marisa-0.2.4}/tools/marisa-lookup.cc +0 -0
  137. data/ext/{marisa → marisa-0.2.4}/tools/marisa-predictive-search.cc +0 -0
  138. data/ext/{marisa → marisa-0.2.4}/tools/marisa-reverse-lookup.cc +0 -0
  139. data/ext/marisa-0.2.4/vs2008/base-test/base-test.vcproj +200 -0
  140. data/ext/marisa-0.2.4/vs2008/io-test/io-test.vcproj +199 -0
  141. data/ext/marisa-0.2.4/vs2008/libmarisa/libmarisa.vcproj +347 -0
  142. data/ext/marisa-0.2.4/vs2008/marisa-benchmark/marisa-benchmark.vcproj +203 -0
  143. data/ext/marisa-0.2.4/vs2008/marisa-build/marisa-build.vcproj +203 -0
  144. data/ext/marisa-0.2.4/vs2008/marisa-common-prefix-search/marisa-common-prefix-search.vcproj +203 -0
  145. data/ext/marisa-0.2.4/vs2008/marisa-dump/marisa-dump.vcproj +203 -0
  146. data/ext/marisa-0.2.4/vs2008/marisa-lookup/marisa-lookup.vcproj +203 -0
  147. data/ext/marisa-0.2.4/vs2008/marisa-predictive-search/marisa-predictive-search.vcproj +203 -0
  148. data/ext/marisa-0.2.4/vs2008/marisa-reverse-lookup/marisa-reverse-lookup.vcproj +203 -0
  149. data/ext/marisa-0.2.4/vs2008/marisa-test/marisa-test.vcproj +199 -0
  150. data/ext/marisa-0.2.4/vs2008/trie-test/trie-test.vcproj +199 -0
  151. data/ext/marisa-0.2.4/vs2008/vector-test/vector-test.vcproj +199 -0
  152. data/ext/marisa-0.2.4/vs2008/vs2008.sln +123 -0
  153. data/ext/marisa-0.2.4/vs2008/vs2008.suo +0 -0
  154. data/ext/{marisa/bindings/ruby/marisa-swig.cxx → marisa-swig.cxx} +0 -0
  155. data/ext/{marisa/bindings/ruby/marisa-swig.h → marisa-swig.h} +0 -0
  156. data/ext/{marisa/bindings/ruby/marisa-swig_wrap.cxx → marisa-swig_wrap.cxx} +0 -0
  157. data/lib/melisa/bytes_trie.rb +5 -0
  158. data/lib/melisa/trie.rb +2 -0
  159. data/lib/melisa/version.rb +1 -1
  160. data/melisa.gemspec +7 -9
  161. data/spec/bytes_trie_spec.rb +6 -1
  162. data/spec/int_trie_spec.rb +5 -0
  163. data/spec/search_spec.rb +6 -7
  164. data/spec/trie_spec.rb +4 -4
  165. metadata +178 -121
  166. data/ext/marisa/bindings/ruby/extconf.rb +0 -5
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,200 @@
1
+ <?xml version="1.0" encoding="shift_jis"?>
2
+ <VisualStudioProject
3
+ ProjectType="Visual C++"
4
+ Version="9.00"
5
+ Name="base-test"
6
+ ProjectGUID="{27D9F340-49F7-4715-B77D-B44CE57B7CBD}"
7
+ RootNamespace="basetest"
8
+ Keyword="Win32Proj"
9
+ TargetFrameworkVersion="196613"
10
+ >
11
+ <Platforms>
12
+ <Platform
13
+ Name="Win32"
14
+ />
15
+ </Platforms>
16
+ <ToolFiles>
17
+ </ToolFiles>
18
+ <Configurations>
19
+ <Configuration
20
+ Name="Debug|Win32"
21
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
22
+ IntermediateDirectory="$(ConfigurationName)"
23
+ ConfigurationType="1"
24
+ CharacterSet="1"
25
+ >
26
+ <Tool
27
+ Name="VCPreBuildEventTool"
28
+ />
29
+ <Tool
30
+ Name="VCCustomBuildTool"
31
+ />
32
+ <Tool
33
+ Name="VCXMLDataGeneratorTool"
34
+ />
35
+ <Tool
36
+ Name="VCWebServiceProxyGeneratorTool"
37
+ />
38
+ <Tool
39
+ Name="VCMIDLTool"
40
+ />
41
+ <Tool
42
+ Name="VCCLCompilerTool"
43
+ Optimization="0"
44
+ AdditionalIncludeDirectories="../../lib"
45
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
46
+ MinimalRebuild="true"
47
+ BasicRuntimeChecks="3"
48
+ RuntimeLibrary="3"
49
+ UsePrecompiledHeader="0"
50
+ WarningLevel="4"
51
+ DebugInformationFormat="4"
52
+ />
53
+ <Tool
54
+ Name="VCManagedResourceCompilerTool"
55
+ />
56
+ <Tool
57
+ Name="VCResourceCompilerTool"
58
+ />
59
+ <Tool
60
+ Name="VCPreLinkEventTool"
61
+ />
62
+ <Tool
63
+ Name="VCLinkerTool"
64
+ LinkIncremental="2"
65
+ AdditionalLibraryDirectories=""
66
+ GenerateDebugInformation="true"
67
+ SubSystem="1"
68
+ TargetMachine="1"
69
+ />
70
+ <Tool
71
+ Name="VCALinkTool"
72
+ />
73
+ <Tool
74
+ Name="VCManifestTool"
75
+ />
76
+ <Tool
77
+ Name="VCXDCMakeTool"
78
+ />
79
+ <Tool
80
+ Name="VCBscMakeTool"
81
+ />
82
+ <Tool
83
+ Name="VCFxCopTool"
84
+ />
85
+ <Tool
86
+ Name="VCAppVerifierTool"
87
+ />
88
+ <Tool
89
+ Name="VCPostBuildEventTool"
90
+ />
91
+ </Configuration>
92
+ <Configuration
93
+ Name="Release|Win32"
94
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
95
+ IntermediateDirectory="$(ConfigurationName)"
96
+ ConfigurationType="1"
97
+ CharacterSet="1"
98
+ WholeProgramOptimization="1"
99
+ >
100
+ <Tool
101
+ Name="VCPreBuildEventTool"
102
+ />
103
+ <Tool
104
+ Name="VCCustomBuildTool"
105
+ />
106
+ <Tool
107
+ Name="VCXMLDataGeneratorTool"
108
+ />
109
+ <Tool
110
+ Name="VCWebServiceProxyGeneratorTool"
111
+ />
112
+ <Tool
113
+ Name="VCMIDLTool"
114
+ />
115
+ <Tool
116
+ Name="VCCLCompilerTool"
117
+ Optimization="2"
118
+ EnableIntrinsicFunctions="true"
119
+ AdditionalIncludeDirectories="../../lib"
120
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
121
+ RuntimeLibrary="2"
122
+ EnableFunctionLevelLinking="true"
123
+ UsePrecompiledHeader="0"
124
+ WarningLevel="4"
125
+ DebugInformationFormat="3"
126
+ />
127
+ <Tool
128
+ Name="VCManagedResourceCompilerTool"
129
+ />
130
+ <Tool
131
+ Name="VCResourceCompilerTool"
132
+ />
133
+ <Tool
134
+ Name="VCPreLinkEventTool"
135
+ />
136
+ <Tool
137
+ Name="VCLinkerTool"
138
+ LinkIncremental="1"
139
+ GenerateDebugInformation="true"
140
+ SubSystem="1"
141
+ OptimizeReferences="2"
142
+ EnableCOMDATFolding="2"
143
+ TargetMachine="1"
144
+ />
145
+ <Tool
146
+ Name="VCALinkTool"
147
+ />
148
+ <Tool
149
+ Name="VCManifestTool"
150
+ />
151
+ <Tool
152
+ Name="VCXDCMakeTool"
153
+ />
154
+ <Tool
155
+ Name="VCBscMakeTool"
156
+ />
157
+ <Tool
158
+ Name="VCFxCopTool"
159
+ />
160
+ <Tool
161
+ Name="VCAppVerifierTool"
162
+ />
163
+ <Tool
164
+ Name="VCPostBuildEventTool"
165
+ />
166
+ </Configuration>
167
+ </Configurations>
168
+ <References>
169
+ </References>
170
+ <Files>
171
+ <Filter
172
+ Name="Source Files"
173
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
174
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
175
+ >
176
+ <File
177
+ RelativePath="..\..\tests\base-test.cc"
178
+ >
179
+ </File>
180
+ </Filter>
181
+ <Filter
182
+ Name="Header Files"
183
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
184
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
185
+ >
186
+ <File
187
+ RelativePath="..\..\tests\assert.h"
188
+ >
189
+ </File>
190
+ </Filter>
191
+ <Filter
192
+ Name="Resource Files"
193
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
194
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
195
+ >
196
+ </Filter>
197
+ </Files>
198
+ <Globals>
199
+ </Globals>
200
+ </VisualStudioProject>
@@ -0,0 +1,199 @@
1
+ <?xml version="1.0" encoding="shift_jis"?>
2
+ <VisualStudioProject
3
+ ProjectType="Visual C++"
4
+ Version="9.00"
5
+ Name="io-test"
6
+ ProjectGUID="{24807515-7B42-4E76-B630-E82BDA83845C}"
7
+ RootNamespace="iotest"
8
+ Keyword="Win32Proj"
9
+ TargetFrameworkVersion="196613"
10
+ >
11
+ <Platforms>
12
+ <Platform
13
+ Name="Win32"
14
+ />
15
+ </Platforms>
16
+ <ToolFiles>
17
+ </ToolFiles>
18
+ <Configurations>
19
+ <Configuration
20
+ Name="Debug|Win32"
21
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
22
+ IntermediateDirectory="$(ConfigurationName)"
23
+ ConfigurationType="1"
24
+ CharacterSet="1"
25
+ >
26
+ <Tool
27
+ Name="VCPreBuildEventTool"
28
+ />
29
+ <Tool
30
+ Name="VCCustomBuildTool"
31
+ />
32
+ <Tool
33
+ Name="VCXMLDataGeneratorTool"
34
+ />
35
+ <Tool
36
+ Name="VCWebServiceProxyGeneratorTool"
37
+ />
38
+ <Tool
39
+ Name="VCMIDLTool"
40
+ />
41
+ <Tool
42
+ Name="VCCLCompilerTool"
43
+ Optimization="0"
44
+ AdditionalIncludeDirectories="../../lib"
45
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
46
+ MinimalRebuild="true"
47
+ BasicRuntimeChecks="3"
48
+ RuntimeLibrary="3"
49
+ UsePrecompiledHeader="0"
50
+ WarningLevel="4"
51
+ DebugInformationFormat="4"
52
+ />
53
+ <Tool
54
+ Name="VCManagedResourceCompilerTool"
55
+ />
56
+ <Tool
57
+ Name="VCResourceCompilerTool"
58
+ />
59
+ <Tool
60
+ Name="VCPreLinkEventTool"
61
+ />
62
+ <Tool
63
+ Name="VCLinkerTool"
64
+ LinkIncremental="2"
65
+ GenerateDebugInformation="true"
66
+ SubSystem="1"
67
+ TargetMachine="1"
68
+ />
69
+ <Tool
70
+ Name="VCALinkTool"
71
+ />
72
+ <Tool
73
+ Name="VCManifestTool"
74
+ />
75
+ <Tool
76
+ Name="VCXDCMakeTool"
77
+ />
78
+ <Tool
79
+ Name="VCBscMakeTool"
80
+ />
81
+ <Tool
82
+ Name="VCFxCopTool"
83
+ />
84
+ <Tool
85
+ Name="VCAppVerifierTool"
86
+ />
87
+ <Tool
88
+ Name="VCPostBuildEventTool"
89
+ />
90
+ </Configuration>
91
+ <Configuration
92
+ Name="Release|Win32"
93
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
94
+ IntermediateDirectory="$(ConfigurationName)"
95
+ ConfigurationType="1"
96
+ CharacterSet="1"
97
+ WholeProgramOptimization="1"
98
+ >
99
+ <Tool
100
+ Name="VCPreBuildEventTool"
101
+ />
102
+ <Tool
103
+ Name="VCCustomBuildTool"
104
+ />
105
+ <Tool
106
+ Name="VCXMLDataGeneratorTool"
107
+ />
108
+ <Tool
109
+ Name="VCWebServiceProxyGeneratorTool"
110
+ />
111
+ <Tool
112
+ Name="VCMIDLTool"
113
+ />
114
+ <Tool
115
+ Name="VCCLCompilerTool"
116
+ Optimization="2"
117
+ EnableIntrinsicFunctions="true"
118
+ AdditionalIncludeDirectories="../../lib"
119
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
120
+ RuntimeLibrary="2"
121
+ EnableFunctionLevelLinking="true"
122
+ UsePrecompiledHeader="0"
123
+ WarningLevel="4"
124
+ DebugInformationFormat="3"
125
+ />
126
+ <Tool
127
+ Name="VCManagedResourceCompilerTool"
128
+ />
129
+ <Tool
130
+ Name="VCResourceCompilerTool"
131
+ />
132
+ <Tool
133
+ Name="VCPreLinkEventTool"
134
+ />
135
+ <Tool
136
+ Name="VCLinkerTool"
137
+ LinkIncremental="1"
138
+ GenerateDebugInformation="true"
139
+ SubSystem="1"
140
+ OptimizeReferences="2"
141
+ EnableCOMDATFolding="2"
142
+ TargetMachine="1"
143
+ />
144
+ <Tool
145
+ Name="VCALinkTool"
146
+ />
147
+ <Tool
148
+ Name="VCManifestTool"
149
+ />
150
+ <Tool
151
+ Name="VCXDCMakeTool"
152
+ />
153
+ <Tool
154
+ Name="VCBscMakeTool"
155
+ />
156
+ <Tool
157
+ Name="VCFxCopTool"
158
+ />
159
+ <Tool
160
+ Name="VCAppVerifierTool"
161
+ />
162
+ <Tool
163
+ Name="VCPostBuildEventTool"
164
+ />
165
+ </Configuration>
166
+ </Configurations>
167
+ <References>
168
+ </References>
169
+ <Files>
170
+ <Filter
171
+ Name="Source Files"
172
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
173
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
174
+ >
175
+ <File
176
+ RelativePath="..\..\tests\io-test.cc"
177
+ >
178
+ </File>
179
+ </Filter>
180
+ <Filter
181
+ Name="Header Files"
182
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
183
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
184
+ >
185
+ <File
186
+ RelativePath="..\..\tests\assert.h"
187
+ >
188
+ </File>
189
+ </Filter>
190
+ <Filter
191
+ Name="Resource Files"
192
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
193
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
194
+ >
195
+ </Filter>
196
+ </Files>
197
+ <Globals>
198
+ </Globals>
199
+ </VisualStudioProject>
@@ -0,0 +1,347 @@
1
+ <?xml version="1.0" encoding="shift_jis"?>
2
+ <VisualStudioProject
3
+ ProjectType="Visual C++"
4
+ Version="9.00"
5
+ Name="libmarisa"
6
+ ProjectGUID="{3BE97421-D962-4330-815B-AC9B7B799F15}"
7
+ RootNamespace="libmarisa"
8
+ Keyword="Win32Proj"
9
+ TargetFrameworkVersion="196613"
10
+ >
11
+ <Platforms>
12
+ <Platform
13
+ Name="Win32"
14
+ />
15
+ </Platforms>
16
+ <ToolFiles>
17
+ </ToolFiles>
18
+ <Configurations>
19
+ <Configuration
20
+ Name="Debug|Win32"
21
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
22
+ IntermediateDirectory="$(ConfigurationName)"
23
+ ConfigurationType="4"
24
+ CharacterSet="1"
25
+ >
26
+ <Tool
27
+ Name="VCPreBuildEventTool"
28
+ />
29
+ <Tool
30
+ Name="VCCustomBuildTool"
31
+ />
32
+ <Tool
33
+ Name="VCXMLDataGeneratorTool"
34
+ />
35
+ <Tool
36
+ Name="VCWebServiceProxyGeneratorTool"
37
+ />
38
+ <Tool
39
+ Name="VCMIDLTool"
40
+ />
41
+ <Tool
42
+ Name="VCCLCompilerTool"
43
+ Optimization="0"
44
+ PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;MARISA_EXPORTS"
45
+ MinimalRebuild="true"
46
+ BasicRuntimeChecks="3"
47
+ RuntimeLibrary="3"
48
+ UsePrecompiledHeader="0"
49
+ WarningLevel="4"
50
+ DebugInformationFormat="4"
51
+ />
52
+ <Tool
53
+ Name="VCManagedResourceCompilerTool"
54
+ />
55
+ <Tool
56
+ Name="VCResourceCompilerTool"
57
+ />
58
+ <Tool
59
+ Name="VCPreLinkEventTool"
60
+ />
61
+ <Tool
62
+ Name="VCLibrarianTool"
63
+ />
64
+ <Tool
65
+ Name="VCALinkTool"
66
+ />
67
+ <Tool
68
+ Name="VCXDCMakeTool"
69
+ />
70
+ <Tool
71
+ Name="VCBscMakeTool"
72
+ />
73
+ <Tool
74
+ Name="VCFxCopTool"
75
+ />
76
+ <Tool
77
+ Name="VCPostBuildEventTool"
78
+ />
79
+ </Configuration>
80
+ <Configuration
81
+ Name="Release|Win32"
82
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
83
+ IntermediateDirectory="$(ConfigurationName)"
84
+ ConfigurationType="4"
85
+ CharacterSet="1"
86
+ WholeProgramOptimization="1"
87
+ >
88
+ <Tool
89
+ Name="VCPreBuildEventTool"
90
+ />
91
+ <Tool
92
+ Name="VCCustomBuildTool"
93
+ />
94
+ <Tool
95
+ Name="VCXMLDataGeneratorTool"
96
+ />
97
+ <Tool
98
+ Name="VCWebServiceProxyGeneratorTool"
99
+ />
100
+ <Tool
101
+ Name="VCMIDLTool"
102
+ />
103
+ <Tool
104
+ Name="VCCLCompilerTool"
105
+ Optimization="2"
106
+ EnableIntrinsicFunctions="true"
107
+ PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;MARISA_EXPORTS"
108
+ RuntimeLibrary="2"
109
+ EnableFunctionLevelLinking="true"
110
+ UsePrecompiledHeader="0"
111
+ WarningLevel="4"
112
+ DebugInformationFormat="3"
113
+ />
114
+ <Tool
115
+ Name="VCManagedResourceCompilerTool"
116
+ />
117
+ <Tool
118
+ Name="VCResourceCompilerTool"
119
+ />
120
+ <Tool
121
+ Name="VCPreLinkEventTool"
122
+ />
123
+ <Tool
124
+ Name="VCLibrarianTool"
125
+ />
126
+ <Tool
127
+ Name="VCALinkTool"
128
+ />
129
+ <Tool
130
+ Name="VCXDCMakeTool"
131
+ />
132
+ <Tool
133
+ Name="VCBscMakeTool"
134
+ />
135
+ <Tool
136
+ Name="VCFxCopTool"
137
+ />
138
+ <Tool
139
+ Name="VCPostBuildEventTool"
140
+ />
141
+ </Configuration>
142
+ </Configurations>
143
+ <References>
144
+ </References>
145
+ <Files>
146
+ <Filter
147
+ Name="Source Files"
148
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
149
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
150
+ >
151
+ <File
152
+ RelativePath="..\..\lib\marisa\agent.cc"
153
+ >
154
+ </File>
155
+ <File
156
+ RelativePath="..\..\lib\marisa\grimoire\vector\bit-vector.cc"
157
+ >
158
+ </File>
159
+ <File
160
+ RelativePath="..\..\lib\marisa\keyset.cc"
161
+ >
162
+ </File>
163
+ <File
164
+ RelativePath="..\..\lib\marisa\grimoire\trie\louds-trie.cc"
165
+ >
166
+ </File>
167
+ <File
168
+ RelativePath="..\..\lib\marisa\grimoire\io\mapper.cc"
169
+ >
170
+ </File>
171
+ <File
172
+ RelativePath="..\..\lib\marisa\grimoire\io\reader.cc"
173
+ >
174
+ </File>
175
+ <File
176
+ RelativePath="..\..\lib\marisa\grimoire\trie\tail.cc"
177
+ >
178
+ </File>
179
+ <File
180
+ RelativePath="..\..\lib\marisa\trie.cc"
181
+ >
182
+ </File>
183
+ <File
184
+ RelativePath="..\..\lib\marisa\grimoire\io\writer.cc"
185
+ >
186
+ </File>
187
+ </Filter>
188
+ <Filter
189
+ Name="Header Files"
190
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
191
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
192
+ >
193
+ <File
194
+ RelativePath="..\..\lib\marisa\agent.h"
195
+ >
196
+ </File>
197
+ <File
198
+ RelativePath="..\..\lib\marisa\grimoire\algorithm.h"
199
+ >
200
+ </File>
201
+ <File
202
+ RelativePath="..\..\lib\marisa\base.h"
203
+ >
204
+ </File>
205
+ <File
206
+ RelativePath="..\..\lib\marisa\grimoire\vector\bit-vector.h"
207
+ >
208
+ </File>
209
+ <File
210
+ RelativePath="..\..\lib\marisa\grimoire\trie\cache.h"
211
+ >
212
+ </File>
213
+ <File
214
+ RelativePath="..\..\lib\marisa\grimoire\trie\config.h"
215
+ >
216
+ </File>
217
+ <File
218
+ RelativePath="..\..\lib\marisa\grimoire\trie\entry.h"
219
+ >
220
+ </File>
221
+ <File
222
+ RelativePath="..\..\lib\marisa\exception.h"
223
+ >
224
+ </File>
225
+ <File
226
+ RelativePath="..\..\lib\marisa\grimoire\vector\flat-vector.h"
227
+ >
228
+ </File>
229
+ <File
230
+ RelativePath="..\..\lib\marisa\grimoire\trie\header.h"
231
+ >
232
+ </File>
233
+ <File
234
+ RelativePath="..\..\lib\marisa\grimoire\trie\history.h"
235
+ >
236
+ </File>
237
+ <File
238
+ RelativePath="..\..\lib\marisa\grimoire\intrin.h"
239
+ >
240
+ </File>
241
+ <File
242
+ RelativePath="..\..\lib\marisa\grimoire\io.h"
243
+ >
244
+ </File>
245
+ <File
246
+ RelativePath="..\..\lib\marisa\iostream.h"
247
+ >
248
+ </File>
249
+ <File
250
+ RelativePath="..\..\lib\marisa\grimoire\trie\key.h"
251
+ >
252
+ </File>
253
+ <File
254
+ RelativePath="..\..\lib\marisa\key.h"
255
+ >
256
+ </File>
257
+ <File
258
+ RelativePath="..\..\lib\marisa\keyset.h"
259
+ >
260
+ </File>
261
+ <File
262
+ RelativePath="..\..\lib\marisa\grimoire\trie\louds-trie.h"
263
+ >
264
+ </File>
265
+ <File
266
+ RelativePath="..\..\lib\marisa\grimoire\io\mapper.h"
267
+ >
268
+ </File>
269
+ <File
270
+ RelativePath="..\..\lib\marisa.h"
271
+ >
272
+ </File>
273
+ <File
274
+ RelativePath="..\..\lib\marisa\grimoire\vector\pop-count.h"
275
+ >
276
+ </File>
277
+ <File
278
+ RelativePath="..\..\lib\marisa\query.h"
279
+ >
280
+ </File>
281
+ <File
282
+ RelativePath="..\..\lib\marisa\grimoire\trie\range.h"
283
+ >
284
+ </File>
285
+ <File
286
+ RelativePath="..\..\lib\marisa\grimoire\vector\rank-index.h"
287
+ >
288
+ </File>
289
+ <File
290
+ RelativePath="..\..\lib\marisa\grimoire\io\reader.h"
291
+ >
292
+ </File>
293
+ <File
294
+ RelativePath="..\..\lib\marisa\scoped-array.h"
295
+ >
296
+ </File>
297
+ <File
298
+ RelativePath="..\..\lib\marisa\scoped-ptr.h"
299
+ >
300
+ </File>
301
+ <File
302
+ RelativePath="..\..\lib\marisa\grimoire\algorithm\sort.h"
303
+ >
304
+ </File>
305
+ <File
306
+ RelativePath="..\..\lib\marisa\grimoire\trie\state.h"
307
+ >
308
+ </File>
309
+ <File
310
+ RelativePath="..\..\lib\marisa\stdio.h"
311
+ >
312
+ </File>
313
+ <File
314
+ RelativePath="..\..\lib\marisa\grimoire\trie\tail.h"
315
+ >
316
+ </File>
317
+ <File
318
+ RelativePath="..\..\lib\marisa\grimoire\trie.h"
319
+ >
320
+ </File>
321
+ <File
322
+ RelativePath="..\..\lib\marisa\trie.h"
323
+ >
324
+ </File>
325
+ <File
326
+ RelativePath="..\..\lib\marisa\grimoire\vector.h"
327
+ >
328
+ </File>
329
+ <File
330
+ RelativePath="..\..\lib\marisa\grimoire\vector\vector.h"
331
+ >
332
+ </File>
333
+ <File
334
+ RelativePath="..\..\lib\marisa\grimoire\io\writer.h"
335
+ >
336
+ </File>
337
+ </Filter>
338
+ <Filter
339
+ Name="Resource Files"
340
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
341
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
342
+ >
343
+ </Filter>
344
+ </Files>
345
+ <Globals>
346
+ </Globals>
347
+ </VisualStudioProject>