opener-opinion-detector-base 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (261) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +101 -0
  3. data/bin/opinion-detector-base +19 -0
  4. data/core/annotation.cfg.erb +9 -0
  5. data/core/packages/KafNafParser-1.4.tar.gz +0 -0
  6. data/core/packages/VUA_pylib-1.5.tar.gz +0 -0
  7. data/core/python-scripts/LICENSE +339 -0
  8. data/core/python-scripts/README.md +226 -0
  9. data/core/python-scripts/classify_kaf_naf_file.py +499 -0
  10. data/core/python-scripts/cross_validation.py +634 -0
  11. data/core/python-scripts/generate_folds.py +134 -0
  12. data/core/python-scripts/models.cfg +10 -0
  13. data/core/python-scripts/my_templates/README +33 -0
  14. data/core/python-scripts/my_templates/templates_exp.only0.txt +6 -0
  15. data/core/python-scripts/my_templates/templates_exp.pol0.txt +10 -0
  16. data/core/python-scripts/my_templates/templates_exp.red.txt +7 -0
  17. data/core/python-scripts/my_templates/templates_exp.txt +10 -0
  18. data/core/python-scripts/my_templates/templates_holder.only0.txt +11 -0
  19. data/core/python-scripts/my_templates/templates_holder.red.txt +9 -0
  20. data/core/python-scripts/my_templates/templates_holder.txt +10 -0
  21. data/core/python-scripts/my_templates/templates_target.only0.txt +11 -0
  22. data/core/python-scripts/my_templates/templates_target.red.txt +9 -0
  23. data/core/python-scripts/my_templates/templates_target.txt +10 -0
  24. data/core/python-scripts/run_all_experiments.sh +49 -0
  25. data/core/python-scripts/run_basic.py +20 -0
  26. data/core/python-scripts/run_experiment.sh +42 -0
  27. data/core/python-scripts/scripts/__init__.py +1 -0
  28. data/core/python-scripts/scripts/config_manager.py +314 -0
  29. data/core/python-scripts/scripts/crfutils.py +215 -0
  30. data/core/python-scripts/scripts/extract_feats_relations.py +295 -0
  31. data/core/python-scripts/scripts/extract_features.py +376 -0
  32. data/core/python-scripts/scripts/feats_to_crf.exp.py +105 -0
  33. data/core/python-scripts/scripts/lexicons.py +44 -0
  34. data/core/python-scripts/scripts/link_entities_distance.py +77 -0
  35. data/core/python-scripts/scripts/relation_classifier.py +250 -0
  36. data/core/python-scripts/train.py +566 -0
  37. data/core/site-packages/pre_build/KafNafParser-1.4-py2.7.egg-info/PKG-INFO +10 -0
  38. data/core/site-packages/pre_build/KafNafParser-1.4-py2.7.egg-info/SOURCES.txt +22 -0
  39. data/core/site-packages/pre_build/KafNafParser-1.4-py2.7.egg-info/dependency_links.txt +1 -0
  40. data/core/site-packages/pre_build/KafNafParser-1.4-py2.7.egg-info/installed-files.txt +47 -0
  41. data/core/site-packages/pre_build/KafNafParser-1.4-py2.7.egg-info/top_level.txt +1 -0
  42. data/core/site-packages/pre_build/KafNafParser/KafNafParserMod.py +390 -0
  43. data/core/site-packages/pre_build/KafNafParser/KafNafParserMod.pyc +0 -0
  44. data/core/site-packages/pre_build/KafNafParser/__init__.py +14 -0
  45. data/core/site-packages/pre_build/KafNafParser/__init__.pyc +0 -0
  46. data/core/site-packages/pre_build/KafNafParser/constituency_data.py +125 -0
  47. data/core/site-packages/pre_build/KafNafParser/constituency_data.pyc +0 -0
  48. data/core/site-packages/pre_build/KafNafParser/coreference_data.py +52 -0
  49. data/core/site-packages/pre_build/KafNafParser/coreference_data.pyc +0 -0
  50. data/core/site-packages/pre_build/KafNafParser/dependency_data.py +78 -0
  51. data/core/site-packages/pre_build/KafNafParser/dependency_data.pyc +0 -0
  52. data/core/site-packages/pre_build/KafNafParser/entity_data.py +59 -0
  53. data/core/site-packages/pre_build/KafNafParser/entity_data.pyc +0 -0
  54. data/core/site-packages/pre_build/KafNafParser/external_references_data.py +41 -0
  55. data/core/site-packages/pre_build/KafNafParser/external_references_data.pyc +0 -0
  56. data/core/site-packages/pre_build/KafNafParser/feature_extractor/__init__.py +2 -0
  57. data/core/site-packages/pre_build/KafNafParser/feature_extractor/__init__.pyc +0 -0
  58. data/core/site-packages/pre_build/KafNafParser/feature_extractor/constituency.py +205 -0
  59. data/core/site-packages/pre_build/KafNafParser/feature_extractor/constituency.pyc +0 -0
  60. data/core/site-packages/pre_build/KafNafParser/feature_extractor/dependency.py +309 -0
  61. data/core/site-packages/pre_build/KafNafParser/feature_extractor/dependency.pyc +0 -0
  62. data/core/site-packages/pre_build/KafNafParser/features_data.py +131 -0
  63. data/core/site-packages/pre_build/KafNafParser/features_data.pyc +0 -0
  64. data/core/site-packages/pre_build/KafNafParser/header_data.py +127 -0
  65. data/core/site-packages/pre_build/KafNafParser/header_data.pyc +0 -0
  66. data/core/site-packages/pre_build/KafNafParser/opinion_data.py +211 -0
  67. data/core/site-packages/pre_build/KafNafParser/opinion_data.pyc +0 -0
  68. data/core/site-packages/pre_build/KafNafParser/references_data.py +23 -0
  69. data/core/site-packages/pre_build/KafNafParser/references_data.pyc +0 -0
  70. data/core/site-packages/pre_build/KafNafParser/span_data.py +63 -0
  71. data/core/site-packages/pre_build/KafNafParser/span_data.pyc +0 -0
  72. data/core/site-packages/pre_build/KafNafParser/term_data.py +111 -0
  73. data/core/site-packages/pre_build/KafNafParser/term_data.pyc +0 -0
  74. data/core/site-packages/pre_build/KafNafParser/term_sentiment_data.py +42 -0
  75. data/core/site-packages/pre_build/KafNafParser/term_sentiment_data.pyc +0 -0
  76. data/core/site-packages/pre_build/KafNafParser/text_data.py +99 -0
  77. data/core/site-packages/pre_build/KafNafParser/text_data.pyc +0 -0
  78. data/core/site-packages/pre_build/VUA_pylib-1.5-py2.7.egg-info/PKG-INFO +10 -0
  79. data/core/site-packages/pre_build/VUA_pylib-1.5-py2.7.egg-info/SOURCES.txt +14 -0
  80. data/core/site-packages/pre_build/VUA_pylib-1.5-py2.7.egg-info/dependency_links.txt +1 -0
  81. data/core/site-packages/pre_build/VUA_pylib-1.5-py2.7.egg-info/installed-files.txt +23 -0
  82. data/core/site-packages/pre_build/VUA_pylib-1.5-py2.7.egg-info/top_level.txt +1 -0
  83. data/core/site-packages/pre_build/VUA_pylib/__init__.py +1 -0
  84. data/core/site-packages/pre_build/VUA_pylib/__init__.pyc +0 -0
  85. data/core/site-packages/pre_build/VUA_pylib/common/__init__.py +1 -0
  86. data/core/site-packages/pre_build/VUA_pylib/common/__init__.pyc +0 -0
  87. data/core/site-packages/pre_build/VUA_pylib/common/common.py +28 -0
  88. data/core/site-packages/pre_build/VUA_pylib/common/common.pyc +0 -0
  89. data/core/site-packages/pre_build/VUA_pylib/corpus_reader/__init__.py +1 -0
  90. data/core/site-packages/pre_build/VUA_pylib/corpus_reader/__init__.pyc +0 -0
  91. data/core/site-packages/pre_build/VUA_pylib/corpus_reader/google_web_nl.py +156 -0
  92. data/core/site-packages/pre_build/VUA_pylib/corpus_reader/google_web_nl.pyc +0 -0
  93. data/core/site-packages/pre_build/VUA_pylib/io_utils/__init__.py +1 -0
  94. data/core/site-packages/pre_build/VUA_pylib/io_utils/__init__.pyc +0 -0
  95. data/core/site-packages/pre_build/VUA_pylib/io_utils/feature_file.py +121 -0
  96. data/core/site-packages/pre_build/VUA_pylib/io_utils/feature_file.pyc +0 -0
  97. data/core/site-packages/pre_build/VUA_pylib/lexicon/__init__.py +1 -0
  98. data/core/site-packages/pre_build/VUA_pylib/lexicon/__init__.pyc +0 -0
  99. data/core/site-packages/pre_build/VUA_pylib/lexicon/lexicon.py +72 -0
  100. data/core/site-packages/pre_build/VUA_pylib/lexicon/lexicon.pyc +0 -0
  101. data/core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/PKG-INFO +10 -0
  102. data/core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/SOURCES.txt +7 -0
  103. data/core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/dependency_links.txt +1 -0
  104. data/core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/installed-files.txt +11 -0
  105. data/core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/top_level.txt +1 -0
  106. data/core/site-packages/pre_build/VUKafParserPy/KafDataObjectsMod.py +165 -0
  107. data/core/site-packages/pre_build/VUKafParserPy/KafDataObjectsMod.pyc +0 -0
  108. data/core/site-packages/pre_build/VUKafParserPy/KafParserMod.py +439 -0
  109. data/core/site-packages/pre_build/VUKafParserPy/KafParserMod.pyc +0 -0
  110. data/core/site-packages/pre_build/VUKafParserPy/__init__.py +7 -0
  111. data/core/site-packages/pre_build/VUKafParserPy/__init__.pyc +0 -0
  112. data/core/vendor/src/crfsuite/AUTHORS +1 -0
  113. data/core/vendor/src/crfsuite/COPYING +27 -0
  114. data/core/vendor/src/crfsuite/ChangeLog +103 -0
  115. data/core/vendor/src/crfsuite/INSTALL +236 -0
  116. data/core/vendor/src/crfsuite/Makefile.am +19 -0
  117. data/core/vendor/src/crfsuite/Makefile.in +783 -0
  118. data/core/vendor/src/crfsuite/README +183 -0
  119. data/core/vendor/src/crfsuite/aclocal.m4 +9018 -0
  120. data/core/vendor/src/crfsuite/autogen.sh +38 -0
  121. data/core/vendor/src/crfsuite/compile +143 -0
  122. data/core/vendor/src/crfsuite/config.guess +1502 -0
  123. data/core/vendor/src/crfsuite/config.h.in +198 -0
  124. data/core/vendor/src/crfsuite/config.sub +1714 -0
  125. data/core/vendor/src/crfsuite/configure +14273 -0
  126. data/core/vendor/src/crfsuite/configure.in +149 -0
  127. data/core/vendor/src/crfsuite/crfsuite.sln +42 -0
  128. data/core/vendor/src/crfsuite/depcomp +630 -0
  129. data/core/vendor/src/crfsuite/example/chunking.py +49 -0
  130. data/core/vendor/src/crfsuite/example/crfutils.py +179 -0
  131. data/core/vendor/src/crfsuite/example/ner.py +270 -0
  132. data/core/vendor/src/crfsuite/example/pos.py +78 -0
  133. data/core/vendor/src/crfsuite/example/template.py +88 -0
  134. data/core/vendor/src/crfsuite/frontend/Makefile.am +29 -0
  135. data/core/vendor/src/crfsuite/frontend/Makefile.in +640 -0
  136. data/core/vendor/src/crfsuite/frontend/dump.c +116 -0
  137. data/core/vendor/src/crfsuite/frontend/frontend.vcxproj +129 -0
  138. data/core/vendor/src/crfsuite/frontend/iwa.c +273 -0
  139. data/core/vendor/src/crfsuite/frontend/iwa.h +65 -0
  140. data/core/vendor/src/crfsuite/frontend/learn.c +439 -0
  141. data/core/vendor/src/crfsuite/frontend/main.c +137 -0
  142. data/core/vendor/src/crfsuite/frontend/option.c +93 -0
  143. data/core/vendor/src/crfsuite/frontend/option.h +86 -0
  144. data/core/vendor/src/crfsuite/frontend/readdata.h +38 -0
  145. data/core/vendor/src/crfsuite/frontend/reader.c +136 -0
  146. data/core/vendor/src/crfsuite/frontend/tag.c +427 -0
  147. data/core/vendor/src/crfsuite/genbinary.sh.in +15 -0
  148. data/core/vendor/src/crfsuite/include/Makefile.am +11 -0
  149. data/core/vendor/src/crfsuite/include/Makefile.in +461 -0
  150. data/core/vendor/src/crfsuite/include/crfsuite.h +1063 -0
  151. data/core/vendor/src/crfsuite/include/crfsuite.hpp +555 -0
  152. data/core/vendor/src/crfsuite/include/crfsuite_api.hpp +400 -0
  153. data/core/vendor/src/crfsuite/include/os.h +61 -0
  154. data/core/vendor/src/crfsuite/install-sh +520 -0
  155. data/core/vendor/src/crfsuite/lib/cqdb/COPYING +28 -0
  156. data/core/vendor/src/crfsuite/lib/cqdb/Makefile.am +21 -0
  157. data/core/vendor/src/crfsuite/lib/cqdb/Makefile.in +549 -0
  158. data/core/vendor/src/crfsuite/lib/cqdb/cqdb.vcxproj +86 -0
  159. data/core/vendor/src/crfsuite/lib/cqdb/include/cqdb.h +524 -0
  160. data/core/vendor/src/crfsuite/lib/cqdb/src/cqdb.c +587 -0
  161. data/core/vendor/src/crfsuite/lib/cqdb/src/lookup3.c +976 -0
  162. data/core/vendor/src/crfsuite/lib/crf/Makefile.am +46 -0
  163. data/core/vendor/src/crfsuite/lib/crf/Makefile.in +721 -0
  164. data/core/vendor/src/crfsuite/lib/crf/crf.vcxproj +216 -0
  165. data/core/vendor/src/crfsuite/lib/crf/src/crf1d.h +353 -0
  166. data/core/vendor/src/crfsuite/lib/crf/src/crf1d_context.c +705 -0
  167. data/core/vendor/src/crfsuite/lib/crf/src/crf1d_encode.c +943 -0
  168. data/core/vendor/src/crfsuite/lib/crf/src/crf1d_feature.c +352 -0
  169. data/core/vendor/src/crfsuite/lib/crf/src/crf1d_model.c +994 -0
  170. data/core/vendor/src/crfsuite/lib/crf/src/crf1d_tag.c +550 -0
  171. data/core/vendor/src/crfsuite/lib/crf/src/crfsuite.c +492 -0
  172. data/core/vendor/src/crfsuite/lib/crf/src/crfsuite_internal.h +236 -0
  173. data/core/vendor/src/crfsuite/lib/crf/src/crfsuite_train.c +272 -0
  174. data/core/vendor/src/crfsuite/lib/crf/src/dataset.c +106 -0
  175. data/core/vendor/src/crfsuite/lib/crf/src/dictionary.c +118 -0
  176. data/core/vendor/src/crfsuite/lib/crf/src/holdout.c +80 -0
  177. data/core/vendor/src/crfsuite/lib/crf/src/logging.c +91 -0
  178. data/core/vendor/src/crfsuite/lib/crf/src/logging.h +48 -0
  179. data/core/vendor/src/crfsuite/lib/crf/src/params.c +335 -0
  180. data/core/vendor/src/crfsuite/lib/crf/src/params.h +80 -0
  181. data/core/vendor/src/crfsuite/lib/crf/src/quark.c +172 -0
  182. data/core/vendor/src/crfsuite/lib/crf/src/quark.h +46 -0
  183. data/core/vendor/src/crfsuite/lib/crf/src/rumavl.c +1107 -0
  184. data/core/vendor/src/crfsuite/lib/crf/src/rumavl.h +160 -0
  185. data/core/vendor/src/crfsuite/lib/crf/src/train_arow.c +408 -0
  186. data/core/vendor/src/crfsuite/lib/crf/src/train_averaged_perceptron.c +242 -0
  187. data/core/vendor/src/crfsuite/lib/crf/src/train_l2sgd.c +507 -0
  188. data/core/vendor/src/crfsuite/lib/crf/src/train_lbfgs.c +338 -0
  189. data/core/vendor/src/crfsuite/lib/crf/src/train_passive_aggressive.c +435 -0
  190. data/core/vendor/src/crfsuite/lib/crf/src/vecmath.h +341 -0
  191. data/core/vendor/src/crfsuite/ltmain.sh +8413 -0
  192. data/core/vendor/src/crfsuite/missing +376 -0
  193. data/core/vendor/src/crfsuite/swig/Makefile.am +13 -0
  194. data/core/vendor/src/crfsuite/swig/Makefile.in +365 -0
  195. data/core/vendor/src/crfsuite/swig/crfsuite.cpp +2 -0
  196. data/core/vendor/src/crfsuite/swig/export.i +32 -0
  197. data/core/vendor/src/crfsuite/swig/python/README +92 -0
  198. data/core/vendor/src/crfsuite/swig/python/crfsuite.py +329 -0
  199. data/core/vendor/src/crfsuite/swig/python/export_wrap.cpp +14355 -0
  200. data/core/vendor/src/crfsuite/swig/python/export_wrap.h +63 -0
  201. data/core/vendor/src/crfsuite/swig/python/prepare.sh +9 -0
  202. data/core/vendor/src/crfsuite/swig/python/sample_tag.py +52 -0
  203. data/core/vendor/src/crfsuite/swig/python/sample_train.py +68 -0
  204. data/core/vendor/src/crfsuite/swig/python/setup.py +44 -0
  205. data/core/vendor/src/crfsuite/win32/stdint.h +679 -0
  206. data/core/vendor/src/liblbfgs/AUTHORS +1 -0
  207. data/core/vendor/src/liblbfgs/COPYING +22 -0
  208. data/core/vendor/src/liblbfgs/ChangeLog +120 -0
  209. data/core/vendor/src/liblbfgs/INSTALL +231 -0
  210. data/core/vendor/src/liblbfgs/Makefile.am +10 -0
  211. data/core/vendor/src/liblbfgs/Makefile.in +638 -0
  212. data/core/vendor/src/liblbfgs/NEWS +0 -0
  213. data/core/vendor/src/liblbfgs/README +71 -0
  214. data/core/vendor/src/liblbfgs/aclocal.m4 +6985 -0
  215. data/core/vendor/src/liblbfgs/autogen.sh +38 -0
  216. data/core/vendor/src/liblbfgs/config.guess +1411 -0
  217. data/core/vendor/src/liblbfgs/config.h.in +64 -0
  218. data/core/vendor/src/liblbfgs/config.sub +1500 -0
  219. data/core/vendor/src/liblbfgs/configure +21146 -0
  220. data/core/vendor/src/liblbfgs/configure.in +107 -0
  221. data/core/vendor/src/liblbfgs/depcomp +522 -0
  222. data/core/vendor/src/liblbfgs/include/lbfgs.h +745 -0
  223. data/core/vendor/src/liblbfgs/install-sh +322 -0
  224. data/core/vendor/src/liblbfgs/lbfgs.sln +26 -0
  225. data/core/vendor/src/liblbfgs/lib/Makefile.am +24 -0
  226. data/core/vendor/src/liblbfgs/lib/Makefile.in +499 -0
  227. data/core/vendor/src/liblbfgs/lib/arithmetic_ansi.h +133 -0
  228. data/core/vendor/src/liblbfgs/lib/arithmetic_sse_double.h +294 -0
  229. data/core/vendor/src/liblbfgs/lib/arithmetic_sse_float.h +298 -0
  230. data/core/vendor/src/liblbfgs/lib/lbfgs.c +1371 -0
  231. data/core/vendor/src/liblbfgs/lib/lib.vcxproj +95 -0
  232. data/core/vendor/src/liblbfgs/ltmain.sh +6426 -0
  233. data/core/vendor/src/liblbfgs/missing +353 -0
  234. data/core/vendor/src/liblbfgs/sample/Makefile.am +15 -0
  235. data/core/vendor/src/liblbfgs/sample/Makefile.in +433 -0
  236. data/core/vendor/src/liblbfgs/sample/sample.c +81 -0
  237. data/core/vendor/src/liblbfgs/sample/sample.cpp +126 -0
  238. data/core/vendor/src/liblbfgs/sample/sample.vcxproj +105 -0
  239. data/core/vendor/src/svm_light/LICENSE.txt +59 -0
  240. data/core/vendor/src/svm_light/Makefile +105 -0
  241. data/core/vendor/src/svm_light/kernel.h +40 -0
  242. data/core/vendor/src/svm_light/svm_classify.c +197 -0
  243. data/core/vendor/src/svm_light/svm_common.c +985 -0
  244. data/core/vendor/src/svm_light/svm_common.h +301 -0
  245. data/core/vendor/src/svm_light/svm_hideo.c +1062 -0
  246. data/core/vendor/src/svm_light/svm_learn.c +4147 -0
  247. data/core/vendor/src/svm_light/svm_learn.h +169 -0
  248. data/core/vendor/src/svm_light/svm_learn_main.c +397 -0
  249. data/core/vendor/src/svm_light/svm_loqo.c +211 -0
  250. data/ext/hack/Rakefile +17 -0
  251. data/ext/hack/support.rb +88 -0
  252. data/lib/opener/opinion_detectors/base.rb +112 -0
  253. data/lib/opener/opinion_detectors/base/version.rb +7 -0
  254. data/lib/opener/opinion_detectors/configuration_creator.rb +86 -0
  255. data/lib/opener/opinion_detectors/de.rb +7 -0
  256. data/lib/opener/opinion_detectors/en.rb +7 -0
  257. data/lib/opener/opinion_detectors/it.rb +7 -0
  258. data/lib/opener/opinion_detectors/nl.rb +6 -0
  259. data/opener-opinion-detector-base.gemspec +35 -0
  260. data/pre_build_requirements.txt +3 -0
  261. metadata +374 -0
@@ -0,0 +1,7 @@
1
+ ## version = 0.2
2
+ ## Added timestamp to function addLinguisitcProcessor
3
+ ## 24-april-2013 --> getSingleEntieies and getSingleProperties reads both entities/props in format
4
+ ## entities -> entity -> span -> target and entities -> entity -> references -> span
5
+ ####
6
+
7
+ from KafParserMod import KafParser
@@ -0,0 +1 @@
1
+ Naoaki Okazaki <okazaki at chokkan org>
@@ -0,0 +1,27 @@
1
+ The BSD license.
2
+
3
+ Copyright (c) 2007-2010, Naoaki Okazaki
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+ * Redistributions of source code must retain the above copyright
9
+ notice, this list of conditions and the following disclaimer.
10
+ * Redistributions in binary form must reproduce the above copyright
11
+ notice, this list of conditions and the following disclaimer in the
12
+ documentation and/or other materials provided with the distribution.
13
+ * Neither the names of the authors nor the names of its contributors
14
+ may be used to endorse or promote products derived from this
15
+ software without specific prior written permission.
16
+
17
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
21
+ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
22
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
23
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
24
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
25
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
26
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,103 @@
1
+ 2011-08-11 Naoaki Okazaki <okazaki at chokkan org>
2
+ * CRFsuite 0.12
3
+ - [CORE] Optimized the implementation for faster training; approximately 1.4-1.5 x speed up.
4
+ - [CORE] Faster routine for computing exp(x) using SSE2.
5
+ - [CORE] Restructured the source code to separate routines for CRF graphical models and training algorithms; this is an initial attempt for implementing CRFs with different feature types (e.g., 2nd-order CRF, 1st-order transition features conditioned on observations) and different training algorithms.
6
+ - [CORE] Implemented new training algorithms: Averaged Perceptron, Passive Aggressive, and Adaptive Regularization of Weights (AROW).
7
+ - [CORE] Removed automatic generation of BOS/EOS features; one can use these features by inserting attributes to the first/last items (e.g., "__BOS__" at the first item and "__EOS__" at the last item).
8
+ - [CORE] Fixed some memory-leak problems.
9
+ - [CORE] Reduced memory usage in training.
10
+ - [CORE] Fixed a crash problem when the model file does not exist in tagging.
11
+ - [FRONTEND:LEARN] Training and test sets are maintained by group numbers; specify the group number for hold-out evaluation with "-e" option.
12
+ - [FRONTEND:LEARN] Training algorithm is now specified by "-a" option instead of "-p algorithm=".
13
+ - [FRONTEND:LEARN] Renamed some training parameters; for example, an L2 regularization coefficient is specified by "c2" instead of "regularization.sigma" (c2 = 0.5 / sigma * sigma; c1 = 1.0 / sigma).
14
+ - [FRONTEND:LEARN] Show the list of parameters, default values, and descriptions with "-H" option.
15
+ - [FRONTEND:LEARN] Removed the support of comment lines for simplicity; one may forget to escape '#' characters in a data set. CRFsuite now does not handle '#' as a special character.
16
+ - [FRONTEND:TAGGER] Output probabilities of predicted sequences with "-p" option.
17
+ - [FRONTEND:TAGGER] Output marginal probabilities of predicted items with "-i" option.
18
+ - [API] Numerous changes in API for the enhancements.
19
+ - [API] Renamed the library name "libcrf" to "libcrfsuite".
20
+ - [API] Renamed the prefix "crf_" to "crfsuite_" in structure and function names.
21
+ - [API] Implemented a high-level and easy-to-use API for C++/SWIG (crfsuite.hpp and crfsuite_api.hpp).
22
+ - [API] Implemented the Python SWIG module and sample programs; writing a tagger is very easy with this module.
23
+ - [SAMPLE] Rewritten samples.
24
+ - [SAMPLE] A sample program (template.py) for using feature templates that are compatible with CRF++.
25
+ - [SAMPLE] New samples in example directory: Named Entity Recognition (ner.py) using the CoNLL2003 data set, and part-of-speech tagging (pos.py).
26
+ - [OTHER] Updated the MSVC solution file to MSVC 2010.
27
+
28
+
29
+ 2010-07-16 Naoaki Okazaki <okazaki at chokkan org>
30
+ * CRFsuite 0.11
31
+ - Renamed crf.h into crfsuite.h to avoid possible conflects in include directories
32
+ - Install crfsuite.h to the include directory (suggested by Ingo Glöckner)
33
+
34
+
35
+ 2010-01-29 Naoaki Okazaki <okazaki at chokkan org>
36
+ * CRFsuite 0.10
37
+ - A patch submitted by Hiroshi Manabe (at Kodensha Co., Ltd.) to fix memory leak problems in the tagger.
38
+ - Added a new option -r (--reference) for the tagger to output reference labels in parallel with predicted labels.
39
+
40
+
41
+ 2009-09-24 Naoaki Okazaki <okazaki at chokkan org>
42
+ * CRFsuite 0.9
43
+ - Fixed a build problem with liblbfgs 1.8
44
+
45
+
46
+ 2009-03-17 Naoaki Okazaki <okazaki at chokkan org>
47
+ * CRFsuite 0.8
48
+ - Improved the portability of model files across different machine architectures with different byte order; this fixes a crash problem in tagging on some machine architectures.
49
+
50
+
51
+ 2009-03-10 Naoaki Okazaki <okazaki at chokkan org>
52
+ * CRFsuite 0.7
53
+ - Updated RumAVL library to 4.0.0; this fixes a crash problem occurring in feature generation on some machine architectures.
54
+
55
+
56
+ 2009-03-07 Naoaki Okazaki <okazaki at chokkan org>
57
+ * CRFsuite 0.6
58
+ - A new training algorithm, Stochastic Gradient Descent (SGD).
59
+ - Updated the L-BFGS routine to liblbfgs 1.7.
60
+ - Reduced memory usage in training.
61
+ - Supported escape sequences in training/test data.
62
+ - Restructured the source code.
63
+ - Added a parameter to configure the number of trials for line search.
64
+
65
+
66
+ 2008-11-19 Naoaki Okazaki <okazaki at chokkan org>
67
+ * CRFsuite 0.5
68
+ - Updated the L-BFGS routine to liblbfgs 1.6.
69
+ - New parameters lbfgs.stop, lbfgs.delta, lbfgs.linesearch were added.
70
+ - Fixed a bug in which the frontend tools could not parse "item:value" format correctly.
71
+ - Fixed a bug in computing the accuracy.
72
+ - Fixed a bug when the tagger receives an item with no feature.
73
+
74
+
75
+ 2008-03-05 Naoaki Okazaki <okazaki at chokkan org>
76
+
77
+ * CRFsuite 0.4 (the first public release):
78
+ - Website and documentation for CRFsuite.
79
+ - Tutorial on the CoNLL 2000 chunking shared task.
80
+ - Performance comparison on the CoNLL 2000 chunking shared task.
81
+ - Bug fix in L2 regularization.
82
+ - A number of small improvements for the public release.
83
+
84
+
85
+ 2007-12-12 Naoaki Okazaki <okazaki at chokkan org>
86
+
87
+ * CRFsuite 0.3 (internal release):
88
+ - Implemented scaling method for forward/backward algorithm.
89
+ - Removed the code for computing the forward/backward algorithm in logarithm domain.
90
+
91
+
92
+ 2007-11-30 Naoaki Okazaki <okazaki at chokkan org>
93
+
94
+ * CRFsuite 0.2 (internal release):
95
+ - Orthant-Wise Limited-memory Quasi-Newton (OW-LQN) method for L1 regularization.
96
+ - Configurable L-BFGS parameters (number of limited memories, epsilon).
97
+
98
+
99
+ 2007-10-29 Naoaki Okazaki <okazaki at chokkan org>
100
+
101
+ * CRFsuite 0.1 (internal release):
102
+ - Initial release.
103
+
@@ -0,0 +1,236 @@
1
+ Installation Instructions
2
+ *************************
3
+
4
+ Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
5
+ Software Foundation, Inc.
6
+
7
+ This file is free documentation; the Free Software Foundation gives
8
+ unlimited permission to copy, distribute and modify it.
9
+
10
+ Basic Installation
11
+ ==================
12
+
13
+ These are generic installation instructions.
14
+
15
+ The `configure' shell script attempts to guess correct values for
16
+ various system-dependent variables used during compilation. It uses
17
+ those values to create a `Makefile' in each directory of the package.
18
+ It may also create one or more `.h' files containing system-dependent
19
+ definitions. Finally, it creates a shell script `config.status' that
20
+ you can run in the future to recreate the current configuration, and a
21
+ file `config.log' containing compiler output (useful mainly for
22
+ debugging `configure').
23
+
24
+ It can also use an optional file (typically called `config.cache'
25
+ and enabled with `--cache-file=config.cache' or simply `-C') that saves
26
+ the results of its tests to speed up reconfiguring. (Caching is
27
+ disabled by default to prevent problems with accidental use of stale
28
+ cache files.)
29
+
30
+ If you need to do unusual things to compile the package, please try
31
+ to figure out how `configure' could check whether to do them, and mail
32
+ diffs or instructions to the address given in the `README' so they can
33
+ be considered for the next release. If you are using the cache, and at
34
+ some point `config.cache' contains results you don't want to keep, you
35
+ may remove or edit it.
36
+
37
+ The file `configure.ac' (or `configure.in') is used to create
38
+ `configure' by a program called `autoconf'. You only need
39
+ `configure.ac' if you want to change it or regenerate `configure' using
40
+ a newer version of `autoconf'.
41
+
42
+ The simplest way to compile this package is:
43
+
44
+ 1. `cd' to the directory containing the package's source code and type
45
+ `./configure' to configure the package for your system. If you're
46
+ using `csh' on an old version of System V, you might need to type
47
+ `sh ./configure' instead to prevent `csh' from trying to execute
48
+ `configure' itself.
49
+
50
+ Running `configure' takes awhile. While running, it prints some
51
+ messages telling which features it is checking for.
52
+
53
+ 2. Type `make' to compile the package.
54
+
55
+ 3. Optionally, type `make check' to run any self-tests that come with
56
+ the package.
57
+
58
+ 4. Type `make install' to install the programs and any data files and
59
+ documentation.
60
+
61
+ 5. You can remove the program binaries and object files from the
62
+ source code directory by typing `make clean'. To also remove the
63
+ files that `configure' created (so you can compile the package for
64
+ a different kind of computer), type `make distclean'. There is
65
+ also a `make maintainer-clean' target, but that is intended mainly
66
+ for the package's developers. If you use it, you may have to get
67
+ all sorts of other programs in order to regenerate files that came
68
+ with the distribution.
69
+
70
+ Compilers and Options
71
+ =====================
72
+
73
+ Some systems require unusual options for compilation or linking that the
74
+ `configure' script does not know about. Run `./configure --help' for
75
+ details on some of the pertinent environment variables.
76
+
77
+ You can give `configure' initial values for configuration parameters
78
+ by setting variables in the command line or in the environment. Here
79
+ is an example:
80
+
81
+ ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
82
+
83
+ *Note Defining Variables::, for more details.
84
+
85
+ Compiling For Multiple Architectures
86
+ ====================================
87
+
88
+ You can compile the package for more than one kind of computer at the
89
+ same time, by placing the object files for each architecture in their
90
+ own directory. To do this, you must use a version of `make' that
91
+ supports the `VPATH' variable, such as GNU `make'. `cd' to the
92
+ directory where you want the object files and executables to go and run
93
+ the `configure' script. `configure' automatically checks for the
94
+ source code in the directory that `configure' is in and in `..'.
95
+
96
+ If you have to use a `make' that does not support the `VPATH'
97
+ variable, you have to compile the package for one architecture at a
98
+ time in the source code directory. After you have installed the
99
+ package for one architecture, use `make distclean' before reconfiguring
100
+ for another architecture.
101
+
102
+ Installation Names
103
+ ==================
104
+
105
+ By default, `make install' installs the package's commands under
106
+ `/usr/local/bin', include files under `/usr/local/include', etc. You
107
+ can specify an installation prefix other than `/usr/local' by giving
108
+ `configure' the option `--prefix=PREFIX'.
109
+
110
+ You can specify separate installation prefixes for
111
+ architecture-specific files and architecture-independent files. If you
112
+ pass the option `--exec-prefix=PREFIX' to `configure', the package uses
113
+ PREFIX as the prefix for installing programs and libraries.
114
+ Documentation and other data files still use the regular prefix.
115
+
116
+ In addition, if you use an unusual directory layout you can give
117
+ options like `--bindir=DIR' to specify different values for particular
118
+ kinds of files. Run `configure --help' for a list of the directories
119
+ you can set and what kinds of files go in them.
120
+
121
+ If the package supports it, you can cause programs to be installed
122
+ with an extra prefix or suffix on their names by giving `configure' the
123
+ option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
124
+
125
+ Optional Features
126
+ =================
127
+
128
+ Some packages pay attention to `--enable-FEATURE' options to
129
+ `configure', where FEATURE indicates an optional part of the package.
130
+ They may also pay attention to `--with-PACKAGE' options, where PACKAGE
131
+ is something like `gnu-as' or `x' (for the X Window System). The
132
+ `README' should mention any `--enable-' and `--with-' options that the
133
+ package recognizes.
134
+
135
+ For packages that use the X Window System, `configure' can usually
136
+ find the X include and library files automatically, but if it doesn't,
137
+ you can use the `configure' options `--x-includes=DIR' and
138
+ `--x-libraries=DIR' to specify their locations.
139
+
140
+ Specifying the System Type
141
+ ==========================
142
+
143
+ There may be some features `configure' cannot figure out automatically,
144
+ but needs to determine by the type of machine the package will run on.
145
+ Usually, assuming the package is built to be run on the _same_
146
+ architectures, `configure' can figure that out, but if it prints a
147
+ message saying it cannot guess the machine type, give it the
148
+ `--build=TYPE' option. TYPE can either be a short name for the system
149
+ type, such as `sun4', or a canonical name which has the form:
150
+
151
+ CPU-COMPANY-SYSTEM
152
+
153
+ where SYSTEM can have one of these forms:
154
+
155
+ OS KERNEL-OS
156
+
157
+ See the file `config.sub' for the possible values of each field. If
158
+ `config.sub' isn't included in this package, then this package doesn't
159
+ need to know the machine type.
160
+
161
+ If you are _building_ compiler tools for cross-compiling, you should
162
+ use the option `--target=TYPE' to select the type of system they will
163
+ produce code for.
164
+
165
+ If you want to _use_ a cross compiler, that generates code for a
166
+ platform different from the build platform, you should specify the
167
+ "host" platform (i.e., that on which the generated programs will
168
+ eventually be run) with `--host=TYPE'.
169
+
170
+ Sharing Defaults
171
+ ================
172
+
173
+ If you want to set default values for `configure' scripts to share, you
174
+ can create a site shell script called `config.site' that gives default
175
+ values for variables like `CC', `cache_file', and `prefix'.
176
+ `configure' looks for `PREFIX/share/config.site' if it exists, then
177
+ `PREFIX/etc/config.site' if it exists. Or, you can set the
178
+ `CONFIG_SITE' environment variable to the location of the site script.
179
+ A warning: not all `configure' scripts look for a site script.
180
+
181
+ Defining Variables
182
+ ==================
183
+
184
+ Variables not defined in a site shell script can be set in the
185
+ environment passed to `configure'. However, some packages may run
186
+ configure again during the build, and the customized values of these
187
+ variables may be lost. In order to avoid this problem, you should set
188
+ them in the `configure' command line, using `VAR=value'. For example:
189
+
190
+ ./configure CC=/usr/local2/bin/gcc
191
+
192
+ causes the specified `gcc' to be used as the C compiler (unless it is
193
+ overridden in the site shell script). Here is a another example:
194
+
195
+ /bin/bash ./configure CONFIG_SHELL=/bin/bash
196
+
197
+ Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
198
+ configuration-related scripts to be executed by `/bin/bash'.
199
+
200
+ `configure' Invocation
201
+ ======================
202
+
203
+ `configure' recognizes the following options to control how it operates.
204
+
205
+ `--help'
206
+ `-h'
207
+ Print a summary of the options to `configure', and exit.
208
+
209
+ `--version'
210
+ `-V'
211
+ Print the version of Autoconf used to generate the `configure'
212
+ script, and exit.
213
+
214
+ `--cache-file=FILE'
215
+ Enable the cache: use and save the results of the tests in FILE,
216
+ traditionally `config.cache'. FILE defaults to `/dev/null' to
217
+ disable caching.
218
+
219
+ `--config-cache'
220
+ `-C'
221
+ Alias for `--cache-file=config.cache'.
222
+
223
+ `--quiet'
224
+ `--silent'
225
+ `-q'
226
+ Do not print messages saying which checks are being made. To
227
+ suppress all normal output, redirect it to `/dev/null' (any error
228
+ messages will still be shown).
229
+
230
+ `--srcdir=DIR'
231
+ Look for the package's source code in directory DIR. Usually
232
+ `configure' can determine that directory automatically.
233
+
234
+ `configure' also accepts some other, not widely useful, options. Run
235
+ `configure --help' for more details.
236
+
@@ -0,0 +1,19 @@
1
+ # $Id$
2
+
3
+ SUBDIRS = include lib/cqdb lib/crf frontend swig
4
+
5
+ docdir = $(prefix)/share/doc/@PACKAGE@
6
+ doc_DATA = README INSTALL COPYING AUTHORS ChangeLog
7
+
8
+ EXTRA_DIST = \
9
+ crfsuite.sln \
10
+ autogen.sh \
11
+ win32/stdint.h \
12
+ example/crfutils.py \
13
+ example/template.py \
14
+ example/pos.py \
15
+ example/ner.py \
16
+ example/chunking.py
17
+
18
+ AUTOMAKE_OPTIONS = foreign
19
+ ACLOCAL_AMFLAGS = -I m4
@@ -0,0 +1,783 @@
1
+ # Makefile.in generated by automake 1.11.1 from Makefile.am.
2
+ # @configure_input@
3
+
4
+ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
+ # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
6
+ # Inc.
7
+ # This Makefile.in is free software; the Free Software Foundation
8
+ # gives unlimited permission to copy and/or distribute it,
9
+ # with or without modifications, as long as this notice is preserved.
10
+
11
+ # This program is distributed in the hope that it will be useful,
12
+ # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14
+ # PARTICULAR PURPOSE.
15
+
16
+ @SET_MAKE@
17
+
18
+ # $Id$
19
+
20
+ VPATH = @srcdir@
21
+ pkgdatadir = $(datadir)/@PACKAGE@
22
+ pkgincludedir = $(includedir)/@PACKAGE@
23
+ pkglibdir = $(libdir)/@PACKAGE@
24
+ pkglibexecdir = $(libexecdir)/@PACKAGE@
25
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26
+ install_sh_DATA = $(install_sh) -c -m 644
27
+ install_sh_PROGRAM = $(install_sh) -c
28
+ install_sh_SCRIPT = $(install_sh) -c
29
+ INSTALL_HEADER = $(INSTALL_DATA)
30
+ transform = $(program_transform_name)
31
+ NORMAL_INSTALL = :
32
+ PRE_INSTALL = :
33
+ POST_INSTALL = :
34
+ NORMAL_UNINSTALL = :
35
+ PRE_UNINSTALL = :
36
+ POST_UNINSTALL = :
37
+ build_triplet = @build@
38
+ host_triplet = @host@
39
+ subdir = .
40
+ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
41
+ $(srcdir)/Makefile.in $(srcdir)/config.h.in \
42
+ $(srcdir)/genbinary.sh.in $(top_srcdir)/configure AUTHORS \
43
+ COPYING ChangeLog INSTALL compile config.guess config.sub \
44
+ depcomp install-sh ltmain.sh missing
45
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
46
+ am__aclocal_m4_deps = $(top_srcdir)/configure.in
47
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
48
+ $(ACLOCAL_M4)
49
+ am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
50
+ configure.lineno config.status.lineno
51
+ mkinstalldirs = $(install_sh) -d
52
+ CONFIG_HEADER = config.h
53
+ CONFIG_CLEAN_FILES = genbinary.sh
54
+ CONFIG_CLEAN_VPATH_FILES =
55
+ SOURCES =
56
+ DIST_SOURCES =
57
+ RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
58
+ html-recursive info-recursive install-data-recursive \
59
+ install-dvi-recursive install-exec-recursive \
60
+ install-html-recursive install-info-recursive \
61
+ install-pdf-recursive install-ps-recursive install-recursive \
62
+ installcheck-recursive installdirs-recursive pdf-recursive \
63
+ ps-recursive uninstall-recursive
64
+ am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
65
+ am__vpath_adj = case $$p in \
66
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
67
+ *) f=$$p;; \
68
+ esac;
69
+ am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
70
+ am__install_max = 40
71
+ am__nobase_strip_setup = \
72
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
73
+ am__nobase_strip = \
74
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
75
+ am__nobase_list = $(am__nobase_strip_setup); \
76
+ for p in $$list; do echo "$$p $$p"; done | \
77
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
78
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
79
+ if (++n[$$2] == $(am__install_max)) \
80
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
81
+ END { for (dir in files) print dir, files[dir] }'
82
+ am__base_list = \
83
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
84
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
85
+ am__installdirs = "$(DESTDIR)$(docdir)"
86
+ DATA = $(doc_DATA)
87
+ RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
88
+ distclean-recursive maintainer-clean-recursive
89
+ AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
90
+ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
91
+ distdir dist dist-all distcheck
92
+ ETAGS = etags
93
+ CTAGS = ctags
94
+ DIST_SUBDIRS = $(SUBDIRS)
95
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
96
+ distdir = $(PACKAGE)-$(VERSION)
97
+ top_distdir = $(distdir)
98
+ am__remove_distdir = \
99
+ { test ! -d "$(distdir)" \
100
+ || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
101
+ && rm -fr "$(distdir)"; }; }
102
+ am__relativize = \
103
+ dir0=`pwd`; \
104
+ sed_first='s,^\([^/]*\)/.*$$,\1,'; \
105
+ sed_rest='s,^[^/]*/*,,'; \
106
+ sed_last='s,^.*/\([^/]*\)$$,\1,'; \
107
+ sed_butlast='s,/*[^/]*$$,,'; \
108
+ while test -n "$$dir1"; do \
109
+ first=`echo "$$dir1" | sed -e "$$sed_first"`; \
110
+ if test "$$first" != "."; then \
111
+ if test "$$first" = ".."; then \
112
+ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
113
+ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
114
+ else \
115
+ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
116
+ if test "$$first2" = "$$first"; then \
117
+ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
118
+ else \
119
+ dir2="../$$dir2"; \
120
+ fi; \
121
+ dir0="$$dir0"/"$$first"; \
122
+ fi; \
123
+ fi; \
124
+ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
125
+ done; \
126
+ reldir="$$dir2"
127
+ DIST_ARCHIVES = $(distdir).tar.gz
128
+ GZIP_ENV = --best
129
+ distuninstallcheck_listfiles = find . -type f -print
130
+ distcleancheck_listfiles = find . -type f -print
131
+ ACLOCAL = @ACLOCAL@
132
+ ALLOCA = @ALLOCA@
133
+ AMTAR = @AMTAR@
134
+ AR = @AR@
135
+ AUTOCONF = @AUTOCONF@
136
+ AUTOHEADER = @AUTOHEADER@
137
+ AUTOMAKE = @AUTOMAKE@
138
+ AWK = @AWK@
139
+ CC = @CC@
140
+ CCDEPMODE = @CCDEPMODE@
141
+ CFLAGS = @CFLAGS@
142
+ CPP = @CPP@
143
+ CPPFLAGS = @CPPFLAGS@
144
+ CYGPATH_W = @CYGPATH_W@
145
+ DEFS = @DEFS@
146
+ DEPDIR = @DEPDIR@
147
+ DSYMUTIL = @DSYMUTIL@
148
+ DUMPBIN = @DUMPBIN@
149
+ ECHO_C = @ECHO_C@
150
+ ECHO_N = @ECHO_N@
151
+ ECHO_T = @ECHO_T@
152
+ EGREP = @EGREP@
153
+ EXEEXT = @EXEEXT@
154
+ FGREP = @FGREP@
155
+ GREP = @GREP@
156
+ INCLUDES = @INCLUDES@
157
+ INSTALL = @INSTALL@
158
+ INSTALL_DATA = @INSTALL_DATA@
159
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
160
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
161
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
162
+ LD = @LD@
163
+ LDFLAGS = @LDFLAGS@
164
+ LIBOBJS = @LIBOBJS@
165
+ LIBS = @LIBS@
166
+ LIBTOOL = @LIBTOOL@
167
+ LIPO = @LIPO@
168
+ LN_S = @LN_S@
169
+ LTLIBOBJS = @LTLIBOBJS@
170
+ MAINT = @MAINT@
171
+ MAKEINFO = @MAKEINFO@
172
+ MKDIR_P = @MKDIR_P@
173
+ NM = @NM@
174
+ NMEDIT = @NMEDIT@
175
+ OBJDUMP = @OBJDUMP@
176
+ OBJEXT = @OBJEXT@
177
+ OTOOL = @OTOOL@
178
+ OTOOL64 = @OTOOL64@
179
+ PACKAGE = @PACKAGE@
180
+ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
181
+ PACKAGE_NAME = @PACKAGE_NAME@
182
+ PACKAGE_STRING = @PACKAGE_STRING@
183
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
184
+ PACKAGE_URL = @PACKAGE_URL@
185
+ PACKAGE_VERSION = @PACKAGE_VERSION@
186
+ PATH_SEPARATOR = @PATH_SEPARATOR@
187
+ RANLIB = @RANLIB@
188
+ SED = @SED@
189
+ SET_MAKE = @SET_MAKE@
190
+ SHELL = @SHELL@
191
+ STRIP = @STRIP@
192
+ U = @U@
193
+ VERSION = @VERSION@
194
+ abs_builddir = @abs_builddir@
195
+ abs_srcdir = @abs_srcdir@
196
+ abs_top_builddir = @abs_top_builddir@
197
+ abs_top_srcdir = @abs_top_srcdir@
198
+ ac_ct_CC = @ac_ct_CC@
199
+ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
200
+ am__include = @am__include@
201
+ am__leading_dot = @am__leading_dot@
202
+ am__quote = @am__quote@
203
+ am__tar = @am__tar@
204
+ am__untar = @am__untar@
205
+ bindir = @bindir@
206
+ build = @build@
207
+ build_alias = @build_alias@
208
+ build_cpu = @build_cpu@
209
+ build_os = @build_os@
210
+ build_vendor = @build_vendor@
211
+ builddir = @builddir@
212
+ datadir = @datadir@
213
+ datarootdir = @datarootdir@
214
+ docdir = $(prefix)/share/doc/@PACKAGE@
215
+ dvidir = @dvidir@
216
+ exec_prefix = @exec_prefix@
217
+ host = @host@
218
+ host_alias = @host_alias@
219
+ host_cpu = @host_cpu@
220
+ host_os = @host_os@
221
+ host_vendor = @host_vendor@
222
+ htmldir = @htmldir@
223
+ includedir = @includedir@
224
+ infodir = @infodir@
225
+ install_sh = @install_sh@
226
+ libdir = @libdir@
227
+ libexecdir = @libexecdir@
228
+ localedir = @localedir@
229
+ localstatedir = @localstatedir@
230
+ lt_ECHO = @lt_ECHO@
231
+ mandir = @mandir@
232
+ mkdir_p = @mkdir_p@
233
+ oldincludedir = @oldincludedir@
234
+ pdfdir = @pdfdir@
235
+ prefix = @prefix@
236
+ program_transform_name = @program_transform_name@
237
+ psdir = @psdir@
238
+ sbindir = @sbindir@
239
+ sharedstatedir = @sharedstatedir@
240
+ srcdir = @srcdir@
241
+ sysconfdir = @sysconfdir@
242
+ target_alias = @target_alias@
243
+ top_build_prefix = @top_build_prefix@
244
+ top_builddir = @top_builddir@
245
+ top_srcdir = @top_srcdir@
246
+ SUBDIRS = include lib/cqdb lib/crf frontend swig
247
+ doc_DATA = README INSTALL COPYING AUTHORS ChangeLog
248
+ EXTRA_DIST = \
249
+ crfsuite.sln \
250
+ autogen.sh \
251
+ win32/stdint.h \
252
+ example/crfutils.py \
253
+ example/template.py \
254
+ example/pos.py \
255
+ example/ner.py \
256
+ example/chunking.py
257
+
258
+ AUTOMAKE_OPTIONS = foreign
259
+ ACLOCAL_AMFLAGS = -I m4
260
+ all: config.h
261
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
262
+
263
+ .SUFFIXES:
264
+ am--refresh:
265
+ @:
266
+ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
267
+ @for dep in $?; do \
268
+ case '$(am__configure_deps)' in \
269
+ *$$dep*) \
270
+ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
271
+ $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
272
+ && exit 0; \
273
+ exit 1;; \
274
+ esac; \
275
+ done; \
276
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
277
+ $(am__cd) $(top_srcdir) && \
278
+ $(AUTOMAKE) --foreign Makefile
279
+ .PRECIOUS: Makefile
280
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
281
+ @case '$?' in \
282
+ *config.status*) \
283
+ echo ' $(SHELL) ./config.status'; \
284
+ $(SHELL) ./config.status;; \
285
+ *) \
286
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
287
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
288
+ esac;
289
+
290
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
291
+ $(SHELL) ./config.status --recheck
292
+
293
+ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
294
+ $(am__cd) $(srcdir) && $(AUTOCONF)
295
+ $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
296
+ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
297
+ $(am__aclocal_m4_deps):
298
+
299
+ config.h: stamp-h1
300
+ @if test ! -f $@; then \
301
+ rm -f stamp-h1; \
302
+ $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
303
+ else :; fi
304
+
305
+ stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
306
+ @rm -f stamp-h1
307
+ cd $(top_builddir) && $(SHELL) ./config.status config.h
308
+ $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
309
+ ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
310
+ rm -f stamp-h1
311
+ touch $@
312
+
313
+ distclean-hdr:
314
+ -rm -f config.h stamp-h1
315
+ genbinary.sh: $(top_builddir)/config.status $(srcdir)/genbinary.sh.in
316
+ cd $(top_builddir) && $(SHELL) ./config.status $@
317
+
318
+ mostlyclean-libtool:
319
+ -rm -f *.lo
320
+
321
+ clean-libtool:
322
+ -rm -rf .libs _libs
323
+
324
+ distclean-libtool:
325
+ -rm -f libtool config.lt
326
+ install-docDATA: $(doc_DATA)
327
+ @$(NORMAL_INSTALL)
328
+ test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)"
329
+ @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \
330
+ for p in $$list; do \
331
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
332
+ echo "$$d$$p"; \
333
+ done | $(am__base_list) | \
334
+ while read files; do \
335
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \
336
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \
337
+ done
338
+
339
+ uninstall-docDATA:
340
+ @$(NORMAL_UNINSTALL)
341
+ @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \
342
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
343
+ test -n "$$files" || exit 0; \
344
+ echo " ( cd '$(DESTDIR)$(docdir)' && rm -f" $$files ")"; \
345
+ cd "$(DESTDIR)$(docdir)" && rm -f $$files
346
+
347
+ # This directory's subdirectories are mostly independent; you can cd
348
+ # into them and run `make' without going through this Makefile.
349
+ # To change the values of `make' variables: instead of editing Makefiles,
350
+ # (1) if the variable is set in `config.status', edit `config.status'
351
+ # (which will cause the Makefiles to be regenerated when you run `make');
352
+ # (2) otherwise, pass the desired values on the `make' command line.
353
+ $(RECURSIVE_TARGETS):
354
+ @fail= failcom='exit 1'; \
355
+ for f in x $$MAKEFLAGS; do \
356
+ case $$f in \
357
+ *=* | --[!k]*);; \
358
+ *k*) failcom='fail=yes';; \
359
+ esac; \
360
+ done; \
361
+ dot_seen=no; \
362
+ target=`echo $@ | sed s/-recursive//`; \
363
+ list='$(SUBDIRS)'; for subdir in $$list; do \
364
+ echo "Making $$target in $$subdir"; \
365
+ if test "$$subdir" = "."; then \
366
+ dot_seen=yes; \
367
+ local_target="$$target-am"; \
368
+ else \
369
+ local_target="$$target"; \
370
+ fi; \
371
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
372
+ || eval $$failcom; \
373
+ done; \
374
+ if test "$$dot_seen" = "no"; then \
375
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
376
+ fi; test -z "$$fail"
377
+
378
+ $(RECURSIVE_CLEAN_TARGETS):
379
+ @fail= failcom='exit 1'; \
380
+ for f in x $$MAKEFLAGS; do \
381
+ case $$f in \
382
+ *=* | --[!k]*);; \
383
+ *k*) failcom='fail=yes';; \
384
+ esac; \
385
+ done; \
386
+ dot_seen=no; \
387
+ case "$@" in \
388
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
389
+ *) list='$(SUBDIRS)' ;; \
390
+ esac; \
391
+ rev=''; for subdir in $$list; do \
392
+ if test "$$subdir" = "."; then :; else \
393
+ rev="$$subdir $$rev"; \
394
+ fi; \
395
+ done; \
396
+ rev="$$rev ."; \
397
+ target=`echo $@ | sed s/-recursive//`; \
398
+ for subdir in $$rev; do \
399
+ echo "Making $$target in $$subdir"; \
400
+ if test "$$subdir" = "."; then \
401
+ local_target="$$target-am"; \
402
+ else \
403
+ local_target="$$target"; \
404
+ fi; \
405
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
406
+ || eval $$failcom; \
407
+ done && test -z "$$fail"
408
+ tags-recursive:
409
+ list='$(SUBDIRS)'; for subdir in $$list; do \
410
+ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
411
+ done
412
+ ctags-recursive:
413
+ list='$(SUBDIRS)'; for subdir in $$list; do \
414
+ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
415
+ done
416
+
417
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
418
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
419
+ unique=`for i in $$list; do \
420
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
421
+ done | \
422
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
423
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
424
+ mkid -fID $$unique
425
+ tags: TAGS
426
+
427
+ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
428
+ $(TAGS_FILES) $(LISP)
429
+ set x; \
430
+ here=`pwd`; \
431
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
432
+ include_option=--etags-include; \
433
+ empty_fix=.; \
434
+ else \
435
+ include_option=--include; \
436
+ empty_fix=; \
437
+ fi; \
438
+ list='$(SUBDIRS)'; for subdir in $$list; do \
439
+ if test "$$subdir" = .; then :; else \
440
+ test ! -f $$subdir/TAGS || \
441
+ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
442
+ fi; \
443
+ done; \
444
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
445
+ unique=`for i in $$list; do \
446
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
447
+ done | \
448
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
449
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
450
+ shift; \
451
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
452
+ test -n "$$unique" || unique=$$empty_fix; \
453
+ if test $$# -gt 0; then \
454
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
455
+ "$$@" $$unique; \
456
+ else \
457
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
458
+ $$unique; \
459
+ fi; \
460
+ fi
461
+ ctags: CTAGS
462
+ CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
463
+ $(TAGS_FILES) $(LISP)
464
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
465
+ unique=`for i in $$list; do \
466
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
467
+ done | \
468
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
469
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
470
+ test -z "$(CTAGS_ARGS)$$unique" \
471
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
472
+ $$unique
473
+
474
+ GTAGS:
475
+ here=`$(am__cd) $(top_builddir) && pwd` \
476
+ && $(am__cd) $(top_srcdir) \
477
+ && gtags -i $(GTAGS_ARGS) "$$here"
478
+
479
+ distclean-tags:
480
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
481
+
482
+ distdir: $(DISTFILES)
483
+ $(am__remove_distdir)
484
+ test -d "$(distdir)" || mkdir "$(distdir)"
485
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
486
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
487
+ list='$(DISTFILES)'; \
488
+ dist_files=`for file in $$list; do echo $$file; done | \
489
+ sed -e "s|^$$srcdirstrip/||;t" \
490
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
491
+ case $$dist_files in \
492
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
493
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
494
+ sort -u` ;; \
495
+ esac; \
496
+ for file in $$dist_files; do \
497
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
498
+ if test -d $$d/$$file; then \
499
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
500
+ if test -d "$(distdir)/$$file"; then \
501
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
502
+ fi; \
503
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
504
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
505
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
506
+ fi; \
507
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
508
+ else \
509
+ test -f "$(distdir)/$$file" \
510
+ || cp -p $$d/$$file "$(distdir)/$$file" \
511
+ || exit 1; \
512
+ fi; \
513
+ done
514
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
515
+ if test "$$subdir" = .; then :; else \
516
+ test -d "$(distdir)/$$subdir" \
517
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
518
+ || exit 1; \
519
+ fi; \
520
+ done
521
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
522
+ if test "$$subdir" = .; then :; else \
523
+ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
524
+ $(am__relativize); \
525
+ new_distdir=$$reldir; \
526
+ dir1=$$subdir; dir2="$(top_distdir)"; \
527
+ $(am__relativize); \
528
+ new_top_distdir=$$reldir; \
529
+ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
530
+ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
531
+ ($(am__cd) $$subdir && \
532
+ $(MAKE) $(AM_MAKEFLAGS) \
533
+ top_distdir="$$new_top_distdir" \
534
+ distdir="$$new_distdir" \
535
+ am__remove_distdir=: \
536
+ am__skip_length_check=: \
537
+ am__skip_mode_fix=: \
538
+ distdir) \
539
+ || exit 1; \
540
+ fi; \
541
+ done
542
+ -test -n "$(am__skip_mode_fix)" \
543
+ || find "$(distdir)" -type d ! -perm -755 \
544
+ -exec chmod u+rwx,go+rx {} \; -o \
545
+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
546
+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
547
+ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
548
+ || chmod -R a+r "$(distdir)"
549
+ dist-gzip: distdir
550
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
551
+ $(am__remove_distdir)
552
+
553
+ dist-bzip2: distdir
554
+ tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
555
+ $(am__remove_distdir)
556
+
557
+ dist-lzma: distdir
558
+ tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
559
+ $(am__remove_distdir)
560
+
561
+ dist-xz: distdir
562
+ tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
563
+ $(am__remove_distdir)
564
+
565
+ dist-tarZ: distdir
566
+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
567
+ $(am__remove_distdir)
568
+
569
+ dist-shar: distdir
570
+ shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
571
+ $(am__remove_distdir)
572
+
573
+ dist-zip: distdir
574
+ -rm -f $(distdir).zip
575
+ zip -rq $(distdir).zip $(distdir)
576
+ $(am__remove_distdir)
577
+
578
+ dist dist-all: distdir
579
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
580
+ $(am__remove_distdir)
581
+
582
+ # This target untars the dist file and tries a VPATH configuration. Then
583
+ # it guarantees that the distribution is self-contained by making another
584
+ # tarfile.
585
+ distcheck: dist
586
+ case '$(DIST_ARCHIVES)' in \
587
+ *.tar.gz*) \
588
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
589
+ *.tar.bz2*) \
590
+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
591
+ *.tar.lzma*) \
592
+ lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
593
+ *.tar.xz*) \
594
+ xz -dc $(distdir).tar.xz | $(am__untar) ;;\
595
+ *.tar.Z*) \
596
+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
597
+ *.shar.gz*) \
598
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
599
+ *.zip*) \
600
+ unzip $(distdir).zip ;;\
601
+ esac
602
+ chmod -R a-w $(distdir); chmod a+w $(distdir)
603
+ mkdir $(distdir)/_build
604
+ mkdir $(distdir)/_inst
605
+ chmod a-w $(distdir)
606
+ test -d $(distdir)/_build || exit 0; \
607
+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
608
+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
609
+ && am__cwd=`pwd` \
610
+ && $(am__cd) $(distdir)/_build \
611
+ && ../configure --srcdir=.. --prefix="$$dc_install_base" \
612
+ $(DISTCHECK_CONFIGURE_FLAGS) \
613
+ && $(MAKE) $(AM_MAKEFLAGS) \
614
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
615
+ && $(MAKE) $(AM_MAKEFLAGS) check \
616
+ && $(MAKE) $(AM_MAKEFLAGS) install \
617
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
618
+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \
619
+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
620
+ distuninstallcheck \
621
+ && chmod -R a-w "$$dc_install_base" \
622
+ && ({ \
623
+ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
624
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
625
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
626
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
627
+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
628
+ } || { rm -rf "$$dc_destdir"; exit 1; }) \
629
+ && rm -rf "$$dc_destdir" \
630
+ && $(MAKE) $(AM_MAKEFLAGS) dist \
631
+ && rm -rf $(DIST_ARCHIVES) \
632
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
633
+ && cd "$$am__cwd" \
634
+ || exit 1
635
+ $(am__remove_distdir)
636
+ @(echo "$(distdir) archives ready for distribution: "; \
637
+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
638
+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
639
+ distuninstallcheck:
640
+ @$(am__cd) '$(distuninstallcheck_dir)' \
641
+ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
642
+ || { echo "ERROR: files left after uninstall:" ; \
643
+ if test -n "$(DESTDIR)"; then \
644
+ echo " (check DESTDIR support)"; \
645
+ fi ; \
646
+ $(distuninstallcheck_listfiles) ; \
647
+ exit 1; } >&2
648
+ distcleancheck: distclean
649
+ @if test '$(srcdir)' = . ; then \
650
+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \
651
+ exit 1 ; \
652
+ fi
653
+ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
654
+ || { echo "ERROR: files left in build directory after distclean:" ; \
655
+ $(distcleancheck_listfiles) ; \
656
+ exit 1; } >&2
657
+ check-am: all-am
658
+ check: check-recursive
659
+ all-am: Makefile $(DATA) config.h
660
+ installdirs: installdirs-recursive
661
+ installdirs-am:
662
+ for dir in "$(DESTDIR)$(docdir)"; do \
663
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
664
+ done
665
+ install: install-recursive
666
+ install-exec: install-exec-recursive
667
+ install-data: install-data-recursive
668
+ uninstall: uninstall-recursive
669
+
670
+ install-am: all-am
671
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
672
+
673
+ installcheck: installcheck-recursive
674
+ install-strip:
675
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
676
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
677
+ `test -z '$(STRIP)' || \
678
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
679
+ mostlyclean-generic:
680
+
681
+ clean-generic:
682
+
683
+ distclean-generic:
684
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
685
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
686
+
687
+ maintainer-clean-generic:
688
+ @echo "This command is intended for maintainers to use"
689
+ @echo "it deletes files that may require special tools to rebuild."
690
+ clean: clean-recursive
691
+
692
+ clean-am: clean-generic clean-libtool mostlyclean-am
693
+
694
+ distclean: distclean-recursive
695
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
696
+ -rm -f Makefile
697
+ distclean-am: clean-am distclean-generic distclean-hdr \
698
+ distclean-libtool distclean-tags
699
+
700
+ dvi: dvi-recursive
701
+
702
+ dvi-am:
703
+
704
+ html: html-recursive
705
+
706
+ html-am:
707
+
708
+ info: info-recursive
709
+
710
+ info-am:
711
+
712
+ install-data-am: install-docDATA
713
+
714
+ install-dvi: install-dvi-recursive
715
+
716
+ install-dvi-am:
717
+
718
+ install-exec-am:
719
+
720
+ install-html: install-html-recursive
721
+
722
+ install-html-am:
723
+
724
+ install-info: install-info-recursive
725
+
726
+ install-info-am:
727
+
728
+ install-man:
729
+
730
+ install-pdf: install-pdf-recursive
731
+
732
+ install-pdf-am:
733
+
734
+ install-ps: install-ps-recursive
735
+
736
+ install-ps-am:
737
+
738
+ installcheck-am:
739
+
740
+ maintainer-clean: maintainer-clean-recursive
741
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
742
+ -rm -rf $(top_srcdir)/autom4te.cache
743
+ -rm -f Makefile
744
+ maintainer-clean-am: distclean-am maintainer-clean-generic
745
+
746
+ mostlyclean: mostlyclean-recursive
747
+
748
+ mostlyclean-am: mostlyclean-generic mostlyclean-libtool
749
+
750
+ pdf: pdf-recursive
751
+
752
+ pdf-am:
753
+
754
+ ps: ps-recursive
755
+
756
+ ps-am:
757
+
758
+ uninstall-am: uninstall-docDATA
759
+
760
+ .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
761
+ ctags-recursive install-am install-strip tags-recursive
762
+
763
+ .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
764
+ all all-am am--refresh check check-am clean clean-generic \
765
+ clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
766
+ dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
767
+ distcheck distclean distclean-generic distclean-hdr \
768
+ distclean-libtool distclean-tags distcleancheck distdir \
769
+ distuninstallcheck dvi dvi-am html html-am info info-am \
770
+ install install-am install-data install-data-am \
771
+ install-docDATA install-dvi install-dvi-am install-exec \
772
+ install-exec-am install-html install-html-am install-info \
773
+ install-info-am install-man install-pdf install-pdf-am \
774
+ install-ps install-ps-am install-strip installcheck \
775
+ installcheck-am installdirs installdirs-am maintainer-clean \
776
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
777
+ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
778
+ uninstall uninstall-am uninstall-docDATA
779
+
780
+
781
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
782
+ # Otherwise a system limit (for SysV at least) may be exceeded.
783
+ .NOEXPORT: