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,78 @@
1
+ #!/usr/bin/env python
2
+
3
+ """
4
+ An example for part-of-speech tagging.
5
+ Copyright 2010,2011 Naoaki Okazaki.
6
+ """
7
+
8
+ # Separator of field values.
9
+ separator = ' '
10
+
11
+ # Field names of the input data.
12
+ fields = 'w num cap sym p1 p2 p3 p4 s1 s2 s3 s4 y'
13
+
14
+ # Feature template. This template is identical to the one bundled in CRF++
15
+ # distribution, but written in a Python object.
16
+ templates = (
17
+ (('num', 0), ),
18
+ (('cap', 0), ),
19
+ (('sym', 0), ),
20
+ (('p1', 0), ),
21
+ (('p2', 0), ),
22
+ (('p3', 0), ),
23
+ (('p4', 0), ),
24
+ (('s1', 0), ),
25
+ (('s2', 0), ),
26
+ (('s3', 0), ),
27
+ (('s4', 0), ),
28
+
29
+ (('w', 0), ),
30
+ (('w', -1), ),
31
+ (('w', 1), ),
32
+ (('w', -2), ),
33
+ (('w', 2), ),
34
+ (('w', -2), ('w', -1)),
35
+ (('w', -1), ('w', 0)),
36
+ (('w', 0), ('w', 1)),
37
+ (('w', 1), ('w', 2)),
38
+ (('w', -2), ('w', -1), ('w', 0)),
39
+ (('w', -1), ('w', 0), ('w', 1)),
40
+ (('w', 0), ('w', 1), ('w', 2)),
41
+ (('w', -2), ('w', -1), ('w', 0), ('w', 1)),
42
+ (('w', -1), ('w', 0), ('w', 1), ('w', 2)),
43
+ (('w', -2), ('w', -1), ('w', 0), ('w', 1), ('w', 2)),
44
+
45
+ (('w', 0), ('w', -1)),
46
+ (('w', 0), ('w', -2)),
47
+ (('w', 0), ('w', -3)),
48
+ (('w', 0), ('w', -4)),
49
+ (('w', 0), ('w', -5)),
50
+ (('w', 0), ('w', -6)),
51
+ (('w', 0), ('w', -7)),
52
+ (('w', 0), ('w', -8)),
53
+ (('w', 0), ('w', -9)),
54
+
55
+ (('w', 0), ('w', 1)),
56
+ (('w', 0), ('w', 2)),
57
+ (('w', 0), ('w', 3)),
58
+ (('w', 0), ('w', 4)),
59
+ (('w', 0), ('w', 5)),
60
+ (('w', 0), ('w', 6)),
61
+ (('w', 0), ('w', 7)),
62
+ (('w', 0), ('w', 8)),
63
+ (('w', 0), ('w', 9)),
64
+ )
65
+
66
+
67
+ import crfutils
68
+
69
+ def feature_extractor(X):
70
+ # Apply feature templates to obtain features (in fact, attributes)
71
+ crfutils.apply_templates(X, templates)
72
+ if X:
73
+ # Append BOS and EOS features manually
74
+ X[0]['F'].append('__BOS__') # BOS feature
75
+ X[-1]['F'].append('__EOS__') # EOS feature
76
+
77
+ if __name__ == '__main__':
78
+ crfutils.main(feature_extractor, fields=fields, sep=separator)
@@ -0,0 +1,88 @@
1
+ #!/usr/bin/env python
2
+
3
+ import re
4
+ import sys
5
+
6
+ class FeatureExtractor:
7
+ def __init__(self):
8
+ self.macro = re.compile(r'%x\[(?P<row>[\d-]+),(?P<col>[\d]+)\]')
9
+ self.inst = []
10
+ self.t = 0
11
+ self.templates = []
12
+
13
+ def read(self, fi):
14
+ self.templates = []
15
+ for line in fi:
16
+ line = line.strip()
17
+ if line.startswith('#'):
18
+ continue
19
+ if line.startswith('U'):
20
+ self.templates.append(line.replace(':', '='))
21
+ elif line == 'B':
22
+ continue
23
+ elif line.startswith('B'):
24
+ sys.stderr(
25
+ 'ERROR: bigram templates not supported: %s\n' % line)
26
+ sys.exit(1)
27
+
28
+ def replace(self, m):
29
+ row = self.t + int(m.group('row'))
30
+ col = int(m.group('col'))
31
+ if row in range(0, len(self.inst)):
32
+ return self.inst[row]['x'][col]
33
+ else:
34
+ return ''
35
+
36
+ def apply(self, inst, t):
37
+ self.inst = inst
38
+ self.t = t
39
+ for template in self.templates:
40
+ f = re.sub(self.macro, self.replace, template)
41
+ self.inst[t]['F'].append(f)
42
+
43
+ def readiter(fi, sep=None):
44
+ X = []
45
+ for line in fi:
46
+ line = line.strip('\n')
47
+ if not line:
48
+ yield X
49
+ X = []
50
+ else:
51
+ fields = line.split(sep)
52
+ item = {
53
+ 'x': fields[0:-1],
54
+ 'y': fields[-1],
55
+ 'F': []
56
+ }
57
+ X.append(item)
58
+
59
+ if __name__ == '__main__':
60
+ import optparse
61
+
62
+ fi = sys.stdin
63
+ fo = sys.stdout
64
+
65
+ # Parse the command-line arguments.
66
+ parser = optparse.OptionParser(usage="""usage: %prog <template>
67
+ This utility reads a data set from STDIN, applies feature templates compatible
68
+ with CRF++, and outputs attributes to STDOUT. Each line of a data set must
69
+ consist of field values separated by SEPARATOR characters (customizable with
70
+ -s option)."""
71
+ )
72
+ parser.add_option(
73
+ '-s', dest='separator', default='\t',
74
+ help='specify the separator of columns of input data [default: "\\t"]'
75
+ )
76
+ (options, args) = parser.parse_args()
77
+
78
+ F = FeatureExtractor()
79
+ F.read(open(args[0]))
80
+
81
+ for inst in readiter(fi, options.separator):
82
+ for t in range(len(inst)):
83
+ F.apply(inst, t)
84
+ fo.write('%s' % inst[t]['y'])
85
+ for attr in inst[t]['F']:
86
+ fo.write('\t%s' % attr.replace(':', '__COLON__'))
87
+ fo.write('\n')
88
+ fo.write('\n')
@@ -0,0 +1,29 @@
1
+ # $Id:$
2
+
3
+ bin_PROGRAMS = crfsuite
4
+ #man_MANS = crfsuite.1
5
+ #EXTRA_DIST = ${man_MANS}
6
+
7
+ EXTRA_DIST = \
8
+ frontend.vcxproj
9
+
10
+ crfsuite_SOURCES = \
11
+ iwa.h \
12
+ iwa.c \
13
+ option.h \
14
+ option.c \
15
+ readdata.h \
16
+ reader.c \
17
+ learn.c \
18
+ tag.c \
19
+ dump.c \
20
+ main.c
21
+
22
+ #crfsuite_CPPFLAGS =
23
+
24
+ AM_CFLAGS = @CFLAGS@
25
+ INCLUDES = @INCLUDES@
26
+ AM_LDFLAGS = @LDFLAGS@
27
+
28
+ crfsuite_CFLAGS = -I$(top_builddir)/include
29
+ crfsuite_LDADD = $(top_builddir)/lib/crf/libcrfsuite.la
@@ -0,0 +1,640 @@
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
+ bin_PROGRAMS = crfsuite$(EXEEXT)
40
+ subdir = frontend
41
+ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
42
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
43
+ am__aclocal_m4_deps = $(top_srcdir)/configure.in
44
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
45
+ $(ACLOCAL_M4)
46
+ mkinstalldirs = $(install_sh) -d
47
+ CONFIG_HEADER = $(top_builddir)/config.h
48
+ CONFIG_CLEAN_FILES =
49
+ CONFIG_CLEAN_VPATH_FILES =
50
+ am__installdirs = "$(DESTDIR)$(bindir)"
51
+ PROGRAMS = $(bin_PROGRAMS)
52
+ am_crfsuite_OBJECTS = crfsuite-iwa.$(OBJEXT) crfsuite-option.$(OBJEXT) \
53
+ crfsuite-reader.$(OBJEXT) crfsuite-learn.$(OBJEXT) \
54
+ crfsuite-tag.$(OBJEXT) crfsuite-dump.$(OBJEXT) \
55
+ crfsuite-main.$(OBJEXT)
56
+ crfsuite_OBJECTS = $(am_crfsuite_OBJECTS)
57
+ crfsuite_DEPENDENCIES = $(top_builddir)/lib/crf/libcrfsuite.la
58
+ crfsuite_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
59
+ --mode=link $(CCLD) $(crfsuite_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
60
+ $(LDFLAGS) -o $@
61
+ DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
62
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
63
+ am__depfiles_maybe = depfiles
64
+ am__mv = mv -f
65
+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
66
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
67
+ LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
68
+ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
69
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
70
+ CCLD = $(CC)
71
+ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
72
+ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
73
+ $(LDFLAGS) -o $@
74
+ SOURCES = $(crfsuite_SOURCES)
75
+ DIST_SOURCES = $(crfsuite_SOURCES)
76
+ ETAGS = etags
77
+ CTAGS = ctags
78
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
79
+ ACLOCAL = @ACLOCAL@
80
+ ALLOCA = @ALLOCA@
81
+ AMTAR = @AMTAR@
82
+ AR = @AR@
83
+ AUTOCONF = @AUTOCONF@
84
+ AUTOHEADER = @AUTOHEADER@
85
+ AUTOMAKE = @AUTOMAKE@
86
+ AWK = @AWK@
87
+ CC = @CC@
88
+ CCDEPMODE = @CCDEPMODE@
89
+ CFLAGS = @CFLAGS@
90
+ CPP = @CPP@
91
+ CPPFLAGS = @CPPFLAGS@
92
+ CYGPATH_W = @CYGPATH_W@
93
+ DEFS = @DEFS@
94
+ DEPDIR = @DEPDIR@
95
+ DSYMUTIL = @DSYMUTIL@
96
+ DUMPBIN = @DUMPBIN@
97
+ ECHO_C = @ECHO_C@
98
+ ECHO_N = @ECHO_N@
99
+ ECHO_T = @ECHO_T@
100
+ EGREP = @EGREP@
101
+ EXEEXT = @EXEEXT@
102
+ FGREP = @FGREP@
103
+ GREP = @GREP@
104
+ INCLUDES = @INCLUDES@
105
+ INSTALL = @INSTALL@
106
+ INSTALL_DATA = @INSTALL_DATA@
107
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
108
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
109
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
110
+ LD = @LD@
111
+ LDFLAGS = @LDFLAGS@
112
+ LIBOBJS = @LIBOBJS@
113
+ LIBS = @LIBS@
114
+ LIBTOOL = @LIBTOOL@
115
+ LIPO = @LIPO@
116
+ LN_S = @LN_S@
117
+ LTLIBOBJS = @LTLIBOBJS@
118
+ MAINT = @MAINT@
119
+ MAKEINFO = @MAKEINFO@
120
+ MKDIR_P = @MKDIR_P@
121
+ NM = @NM@
122
+ NMEDIT = @NMEDIT@
123
+ OBJDUMP = @OBJDUMP@
124
+ OBJEXT = @OBJEXT@
125
+ OTOOL = @OTOOL@
126
+ OTOOL64 = @OTOOL64@
127
+ PACKAGE = @PACKAGE@
128
+ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
129
+ PACKAGE_NAME = @PACKAGE_NAME@
130
+ PACKAGE_STRING = @PACKAGE_STRING@
131
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
132
+ PACKAGE_URL = @PACKAGE_URL@
133
+ PACKAGE_VERSION = @PACKAGE_VERSION@
134
+ PATH_SEPARATOR = @PATH_SEPARATOR@
135
+ RANLIB = @RANLIB@
136
+ SED = @SED@
137
+ SET_MAKE = @SET_MAKE@
138
+ SHELL = @SHELL@
139
+ STRIP = @STRIP@
140
+ U = @U@
141
+ VERSION = @VERSION@
142
+ abs_builddir = @abs_builddir@
143
+ abs_srcdir = @abs_srcdir@
144
+ abs_top_builddir = @abs_top_builddir@
145
+ abs_top_srcdir = @abs_top_srcdir@
146
+ ac_ct_CC = @ac_ct_CC@
147
+ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
148
+ am__include = @am__include@
149
+ am__leading_dot = @am__leading_dot@
150
+ am__quote = @am__quote@
151
+ am__tar = @am__tar@
152
+ am__untar = @am__untar@
153
+ bindir = @bindir@
154
+ build = @build@
155
+ build_alias = @build_alias@
156
+ build_cpu = @build_cpu@
157
+ build_os = @build_os@
158
+ build_vendor = @build_vendor@
159
+ builddir = @builddir@
160
+ datadir = @datadir@
161
+ datarootdir = @datarootdir@
162
+ docdir = @docdir@
163
+ dvidir = @dvidir@
164
+ exec_prefix = @exec_prefix@
165
+ host = @host@
166
+ host_alias = @host_alias@
167
+ host_cpu = @host_cpu@
168
+ host_os = @host_os@
169
+ host_vendor = @host_vendor@
170
+ htmldir = @htmldir@
171
+ includedir = @includedir@
172
+ infodir = @infodir@
173
+ install_sh = @install_sh@
174
+ libdir = @libdir@
175
+ libexecdir = @libexecdir@
176
+ localedir = @localedir@
177
+ localstatedir = @localstatedir@
178
+ lt_ECHO = @lt_ECHO@
179
+ mandir = @mandir@
180
+ mkdir_p = @mkdir_p@
181
+ oldincludedir = @oldincludedir@
182
+ pdfdir = @pdfdir@
183
+ prefix = @prefix@
184
+ program_transform_name = @program_transform_name@
185
+ psdir = @psdir@
186
+ sbindir = @sbindir@
187
+ sharedstatedir = @sharedstatedir@
188
+ srcdir = @srcdir@
189
+ sysconfdir = @sysconfdir@
190
+ target_alias = @target_alias@
191
+ top_build_prefix = @top_build_prefix@
192
+ top_builddir = @top_builddir@
193
+ top_srcdir = @top_srcdir@
194
+ #man_MANS = crfsuite.1
195
+ #EXTRA_DIST = ${man_MANS}
196
+ EXTRA_DIST = \
197
+ frontend.vcxproj
198
+
199
+ crfsuite_SOURCES = \
200
+ iwa.h \
201
+ iwa.c \
202
+ option.h \
203
+ option.c \
204
+ readdata.h \
205
+ reader.c \
206
+ learn.c \
207
+ tag.c \
208
+ dump.c \
209
+ main.c
210
+
211
+
212
+ #crfsuite_CPPFLAGS =
213
+ AM_CFLAGS = @CFLAGS@
214
+ AM_LDFLAGS = @LDFLAGS@
215
+ crfsuite_CFLAGS = -I$(top_builddir)/include
216
+ crfsuite_LDADD = $(top_builddir)/lib/crf/libcrfsuite.la
217
+ all: all-am
218
+
219
+ .SUFFIXES:
220
+ .SUFFIXES: .c .lo .o .obj
221
+ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
222
+ @for dep in $?; do \
223
+ case '$(am__configure_deps)' in \
224
+ *$$dep*) \
225
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
226
+ && { if test -f $@; then exit 0; else break; fi; }; \
227
+ exit 1;; \
228
+ esac; \
229
+ done; \
230
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu frontend/Makefile'; \
231
+ $(am__cd) $(top_srcdir) && \
232
+ $(AUTOMAKE) --gnu frontend/Makefile
233
+ .PRECIOUS: Makefile
234
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
235
+ @case '$?' in \
236
+ *config.status*) \
237
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
238
+ *) \
239
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
240
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
241
+ esac;
242
+
243
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
244
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
245
+
246
+ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
247
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
248
+ $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
249
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
250
+ $(am__aclocal_m4_deps):
251
+ install-binPROGRAMS: $(bin_PROGRAMS)
252
+ @$(NORMAL_INSTALL)
253
+ test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
254
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
255
+ for p in $$list; do echo "$$p $$p"; done | \
256
+ sed 's/$(EXEEXT)$$//' | \
257
+ while read p p1; do if test -f $$p || test -f $$p1; \
258
+ then echo "$$p"; echo "$$p"; else :; fi; \
259
+ done | \
260
+ sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
261
+ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
262
+ sed 'N;N;N;s,\n, ,g' | \
263
+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
264
+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
265
+ if ($$2 == $$4) files[d] = files[d] " " $$1; \
266
+ else { print "f", $$3 "/" $$4, $$1; } } \
267
+ END { for (d in files) print "f", d, files[d] }' | \
268
+ while read type dir files; do \
269
+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
270
+ test -z "$$files" || { \
271
+ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
272
+ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
273
+ } \
274
+ ; done
275
+
276
+ uninstall-binPROGRAMS:
277
+ @$(NORMAL_UNINSTALL)
278
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
279
+ files=`for p in $$list; do echo "$$p"; done | \
280
+ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
281
+ -e 's/$$/$(EXEEXT)/' `; \
282
+ test -n "$$list" || exit 0; \
283
+ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
284
+ cd "$(DESTDIR)$(bindir)" && rm -f $$files
285
+
286
+ clean-binPROGRAMS:
287
+ @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
288
+ echo " rm -f" $$list; \
289
+ rm -f $$list || exit $$?; \
290
+ test -n "$(EXEEXT)" || exit 0; \
291
+ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
292
+ echo " rm -f" $$list; \
293
+ rm -f $$list
294
+ crfsuite$(EXEEXT): $(crfsuite_OBJECTS) $(crfsuite_DEPENDENCIES)
295
+ @rm -f crfsuite$(EXEEXT)
296
+ $(crfsuite_LINK) $(crfsuite_OBJECTS) $(crfsuite_LDADD) $(LIBS)
297
+
298
+ mostlyclean-compile:
299
+ -rm -f *.$(OBJEXT)
300
+
301
+ distclean-compile:
302
+ -rm -f *.tab.c
303
+
304
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/crfsuite-dump.Po@am__quote@
305
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/crfsuite-iwa.Po@am__quote@
306
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/crfsuite-learn.Po@am__quote@
307
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/crfsuite-main.Po@am__quote@
308
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/crfsuite-option.Po@am__quote@
309
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/crfsuite-reader.Po@am__quote@
310
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/crfsuite-tag.Po@am__quote@
311
+
312
+ .c.o:
313
+ @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
314
+ @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
315
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
316
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
317
+ @am__fastdepCC_FALSE@ $(COMPILE) -c $<
318
+
319
+ .c.obj:
320
+ @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
321
+ @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
322
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
323
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
324
+ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
325
+
326
+ .c.lo:
327
+ @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
328
+ @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
329
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
330
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
331
+ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
332
+
333
+ crfsuite-iwa.o: iwa.c
334
+ @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(crfsuite_CFLAGS) $(CFLAGS) -MT crfsuite-iwa.o -MD -MP -MF $(DEPDIR)/crfsuite-iwa.Tpo -c -o crfsuite-iwa.o `test -f 'iwa.c' || echo '$(srcdir)/'`iwa.c
335
+ @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/crfsuite-iwa.Tpo $(DEPDIR)/crfsuite-iwa.Po
336
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='iwa.c' object='crfsuite-iwa.o' libtool=no @AMDEPBACKSLASH@
337
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
338
+ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(crfsuite_CFLAGS) $(CFLAGS) -c -o crfsuite-iwa.o `test -f 'iwa.c' || echo '$(srcdir)/'`iwa.c
339
+
340
+ crfsuite-iwa.obj: iwa.c
341
+ @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(crfsuite_CFLAGS) $(CFLAGS) -MT crfsuite-iwa.obj -MD -MP -MF $(DEPDIR)/crfsuite-iwa.Tpo -c -o crfsuite-iwa.obj `if test -f 'iwa.c'; then $(CYGPATH_W) 'iwa.c'; else $(CYGPATH_W) '$(srcdir)/iwa.c'; fi`
342
+ @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/crfsuite-iwa.Tpo $(DEPDIR)/crfsuite-iwa.Po
343
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='iwa.c' object='crfsuite-iwa.obj' libtool=no @AMDEPBACKSLASH@
344
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
345
+ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(crfsuite_CFLAGS) $(CFLAGS) -c -o crfsuite-iwa.obj `if test -f 'iwa.c'; then $(CYGPATH_W) 'iwa.c'; else $(CYGPATH_W) '$(srcdir)/iwa.c'; fi`
346
+
347
+ crfsuite-option.o: option.c
348
+ @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(crfsuite_CFLAGS) $(CFLAGS) -MT crfsuite-option.o -MD -MP -MF $(DEPDIR)/crfsuite-option.Tpo -c -o crfsuite-option.o `test -f 'option.c' || echo '$(srcdir)/'`option.c
349
+ @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/crfsuite-option.Tpo $(DEPDIR)/crfsuite-option.Po
350
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='option.c' object='crfsuite-option.o' libtool=no @AMDEPBACKSLASH@
351
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
352
+ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(crfsuite_CFLAGS) $(CFLAGS) -c -o crfsuite-option.o `test -f 'option.c' || echo '$(srcdir)/'`option.c
353
+
354
+ crfsuite-option.obj: option.c
355
+ @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(crfsuite_CFLAGS) $(CFLAGS) -MT crfsuite-option.obj -MD -MP -MF $(DEPDIR)/crfsuite-option.Tpo -c -o crfsuite-option.obj `if test -f 'option.c'; then $(CYGPATH_W) 'option.c'; else $(CYGPATH_W) '$(srcdir)/option.c'; fi`
356
+ @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/crfsuite-option.Tpo $(DEPDIR)/crfsuite-option.Po
357
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='option.c' object='crfsuite-option.obj' libtool=no @AMDEPBACKSLASH@
358
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
359
+ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(crfsuite_CFLAGS) $(CFLAGS) -c -o crfsuite-option.obj `if test -f 'option.c'; then $(CYGPATH_W) 'option.c'; else $(CYGPATH_W) '$(srcdir)/option.c'; fi`
360
+
361
+ crfsuite-reader.o: reader.c
362
+ @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(crfsuite_CFLAGS) $(CFLAGS) -MT crfsuite-reader.o -MD -MP -MF $(DEPDIR)/crfsuite-reader.Tpo -c -o crfsuite-reader.o `test -f 'reader.c' || echo '$(srcdir)/'`reader.c
363
+ @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/crfsuite-reader.Tpo $(DEPDIR)/crfsuite-reader.Po
364
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='reader.c' object='crfsuite-reader.o' libtool=no @AMDEPBACKSLASH@
365
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
366
+ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(crfsuite_CFLAGS) $(CFLAGS) -c -o crfsuite-reader.o `test -f 'reader.c' || echo '$(srcdir)/'`reader.c
367
+
368
+ crfsuite-reader.obj: reader.c
369
+ @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(crfsuite_CFLAGS) $(CFLAGS) -MT crfsuite-reader.obj -MD -MP -MF $(DEPDIR)/crfsuite-reader.Tpo -c -o crfsuite-reader.obj `if test -f 'reader.c'; then $(CYGPATH_W) 'reader.c'; else $(CYGPATH_W) '$(srcdir)/reader.c'; fi`
370
+ @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/crfsuite-reader.Tpo $(DEPDIR)/crfsuite-reader.Po
371
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='reader.c' object='crfsuite-reader.obj' libtool=no @AMDEPBACKSLASH@
372
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
373
+ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(crfsuite_CFLAGS) $(CFLAGS) -c -o crfsuite-reader.obj `if test -f 'reader.c'; then $(CYGPATH_W) 'reader.c'; else $(CYGPATH_W) '$(srcdir)/reader.c'; fi`
374
+
375
+ crfsuite-learn.o: learn.c
376
+ @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(crfsuite_CFLAGS) $(CFLAGS) -MT crfsuite-learn.o -MD -MP -MF $(DEPDIR)/crfsuite-learn.Tpo -c -o crfsuite-learn.o `test -f 'learn.c' || echo '$(srcdir)/'`learn.c
377
+ @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/crfsuite-learn.Tpo $(DEPDIR)/crfsuite-learn.Po
378
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='learn.c' object='crfsuite-learn.o' libtool=no @AMDEPBACKSLASH@
379
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
380
+ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(crfsuite_CFLAGS) $(CFLAGS) -c -o crfsuite-learn.o `test -f 'learn.c' || echo '$(srcdir)/'`learn.c
381
+
382
+ crfsuite-learn.obj: learn.c
383
+ @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(crfsuite_CFLAGS) $(CFLAGS) -MT crfsuite-learn.obj -MD -MP -MF $(DEPDIR)/crfsuite-learn.Tpo -c -o crfsuite-learn.obj `if test -f 'learn.c'; then $(CYGPATH_W) 'learn.c'; else $(CYGPATH_W) '$(srcdir)/learn.c'; fi`
384
+ @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/crfsuite-learn.Tpo $(DEPDIR)/crfsuite-learn.Po
385
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='learn.c' object='crfsuite-learn.obj' libtool=no @AMDEPBACKSLASH@
386
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
387
+ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(crfsuite_CFLAGS) $(CFLAGS) -c -o crfsuite-learn.obj `if test -f 'learn.c'; then $(CYGPATH_W) 'learn.c'; else $(CYGPATH_W) '$(srcdir)/learn.c'; fi`
388
+
389
+ crfsuite-tag.o: tag.c
390
+ @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(crfsuite_CFLAGS) $(CFLAGS) -MT crfsuite-tag.o -MD -MP -MF $(DEPDIR)/crfsuite-tag.Tpo -c -o crfsuite-tag.o `test -f 'tag.c' || echo '$(srcdir)/'`tag.c
391
+ @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/crfsuite-tag.Tpo $(DEPDIR)/crfsuite-tag.Po
392
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tag.c' object='crfsuite-tag.o' libtool=no @AMDEPBACKSLASH@
393
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
394
+ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(crfsuite_CFLAGS) $(CFLAGS) -c -o crfsuite-tag.o `test -f 'tag.c' || echo '$(srcdir)/'`tag.c
395
+
396
+ crfsuite-tag.obj: tag.c
397
+ @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(crfsuite_CFLAGS) $(CFLAGS) -MT crfsuite-tag.obj -MD -MP -MF $(DEPDIR)/crfsuite-tag.Tpo -c -o crfsuite-tag.obj `if test -f 'tag.c'; then $(CYGPATH_W) 'tag.c'; else $(CYGPATH_W) '$(srcdir)/tag.c'; fi`
398
+ @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/crfsuite-tag.Tpo $(DEPDIR)/crfsuite-tag.Po
399
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tag.c' object='crfsuite-tag.obj' libtool=no @AMDEPBACKSLASH@
400
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
401
+ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(crfsuite_CFLAGS) $(CFLAGS) -c -o crfsuite-tag.obj `if test -f 'tag.c'; then $(CYGPATH_W) 'tag.c'; else $(CYGPATH_W) '$(srcdir)/tag.c'; fi`
402
+
403
+ crfsuite-dump.o: dump.c
404
+ @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(crfsuite_CFLAGS) $(CFLAGS) -MT crfsuite-dump.o -MD -MP -MF $(DEPDIR)/crfsuite-dump.Tpo -c -o crfsuite-dump.o `test -f 'dump.c' || echo '$(srcdir)/'`dump.c
405
+ @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/crfsuite-dump.Tpo $(DEPDIR)/crfsuite-dump.Po
406
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='dump.c' object='crfsuite-dump.o' libtool=no @AMDEPBACKSLASH@
407
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
408
+ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(crfsuite_CFLAGS) $(CFLAGS) -c -o crfsuite-dump.o `test -f 'dump.c' || echo '$(srcdir)/'`dump.c
409
+
410
+ crfsuite-dump.obj: dump.c
411
+ @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(crfsuite_CFLAGS) $(CFLAGS) -MT crfsuite-dump.obj -MD -MP -MF $(DEPDIR)/crfsuite-dump.Tpo -c -o crfsuite-dump.obj `if test -f 'dump.c'; then $(CYGPATH_W) 'dump.c'; else $(CYGPATH_W) '$(srcdir)/dump.c'; fi`
412
+ @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/crfsuite-dump.Tpo $(DEPDIR)/crfsuite-dump.Po
413
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='dump.c' object='crfsuite-dump.obj' libtool=no @AMDEPBACKSLASH@
414
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
415
+ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(crfsuite_CFLAGS) $(CFLAGS) -c -o crfsuite-dump.obj `if test -f 'dump.c'; then $(CYGPATH_W) 'dump.c'; else $(CYGPATH_W) '$(srcdir)/dump.c'; fi`
416
+
417
+ crfsuite-main.o: main.c
418
+ @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(crfsuite_CFLAGS) $(CFLAGS) -MT crfsuite-main.o -MD -MP -MF $(DEPDIR)/crfsuite-main.Tpo -c -o crfsuite-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c
419
+ @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/crfsuite-main.Tpo $(DEPDIR)/crfsuite-main.Po
420
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='main.c' object='crfsuite-main.o' libtool=no @AMDEPBACKSLASH@
421
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
422
+ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(crfsuite_CFLAGS) $(CFLAGS) -c -o crfsuite-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c
423
+
424
+ crfsuite-main.obj: main.c
425
+ @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(crfsuite_CFLAGS) $(CFLAGS) -MT crfsuite-main.obj -MD -MP -MF $(DEPDIR)/crfsuite-main.Tpo -c -o crfsuite-main.obj `if test -f 'main.c'; then $(CYGPATH_W) 'main.c'; else $(CYGPATH_W) '$(srcdir)/main.c'; fi`
426
+ @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/crfsuite-main.Tpo $(DEPDIR)/crfsuite-main.Po
427
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='main.c' object='crfsuite-main.obj' libtool=no @AMDEPBACKSLASH@
428
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
429
+ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(crfsuite_CFLAGS) $(CFLAGS) -c -o crfsuite-main.obj `if test -f 'main.c'; then $(CYGPATH_W) 'main.c'; else $(CYGPATH_W) '$(srcdir)/main.c'; fi`
430
+
431
+ mostlyclean-libtool:
432
+ -rm -f *.lo
433
+
434
+ clean-libtool:
435
+ -rm -rf .libs _libs
436
+
437
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
438
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
439
+ unique=`for i in $$list; do \
440
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
441
+ done | \
442
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
443
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
444
+ mkid -fID $$unique
445
+ tags: TAGS
446
+
447
+ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
448
+ $(TAGS_FILES) $(LISP)
449
+ set x; \
450
+ here=`pwd`; \
451
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
452
+ unique=`for i in $$list; do \
453
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
454
+ done | \
455
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
456
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
457
+ shift; \
458
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
459
+ test -n "$$unique" || unique=$$empty_fix; \
460
+ if test $$# -gt 0; then \
461
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
462
+ "$$@" $$unique; \
463
+ else \
464
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
465
+ $$unique; \
466
+ fi; \
467
+ fi
468
+ ctags: CTAGS
469
+ CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
470
+ $(TAGS_FILES) $(LISP)
471
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
472
+ unique=`for i in $$list; do \
473
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
474
+ done | \
475
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
476
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
477
+ test -z "$(CTAGS_ARGS)$$unique" \
478
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
479
+ $$unique
480
+
481
+ GTAGS:
482
+ here=`$(am__cd) $(top_builddir) && pwd` \
483
+ && $(am__cd) $(top_srcdir) \
484
+ && gtags -i $(GTAGS_ARGS) "$$here"
485
+
486
+ distclean-tags:
487
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
488
+
489
+ distdir: $(DISTFILES)
490
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
491
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
492
+ list='$(DISTFILES)'; \
493
+ dist_files=`for file in $$list; do echo $$file; done | \
494
+ sed -e "s|^$$srcdirstrip/||;t" \
495
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
496
+ case $$dist_files in \
497
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
498
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
499
+ sort -u` ;; \
500
+ esac; \
501
+ for file in $$dist_files; do \
502
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
503
+ if test -d $$d/$$file; then \
504
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
505
+ if test -d "$(distdir)/$$file"; then \
506
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
507
+ fi; \
508
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
509
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
510
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
511
+ fi; \
512
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
513
+ else \
514
+ test -f "$(distdir)/$$file" \
515
+ || cp -p $$d/$$file "$(distdir)/$$file" \
516
+ || exit 1; \
517
+ fi; \
518
+ done
519
+ check-am: all-am
520
+ check: check-am
521
+ all-am: Makefile $(PROGRAMS)
522
+ installdirs:
523
+ for dir in "$(DESTDIR)$(bindir)"; do \
524
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
525
+ done
526
+ install: install-am
527
+ install-exec: install-exec-am
528
+ install-data: install-data-am
529
+ uninstall: uninstall-am
530
+
531
+ install-am: all-am
532
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
533
+
534
+ installcheck: installcheck-am
535
+ install-strip:
536
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
537
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
538
+ `test -z '$(STRIP)' || \
539
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
540
+ mostlyclean-generic:
541
+
542
+ clean-generic:
543
+
544
+ distclean-generic:
545
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
546
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
547
+
548
+ maintainer-clean-generic:
549
+ @echo "This command is intended for maintainers to use"
550
+ @echo "it deletes files that may require special tools to rebuild."
551
+ clean: clean-am
552
+
553
+ clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
554
+
555
+ distclean: distclean-am
556
+ -rm -rf ./$(DEPDIR)
557
+ -rm -f Makefile
558
+ distclean-am: clean-am distclean-compile distclean-generic \
559
+ distclean-tags
560
+
561
+ dvi: dvi-am
562
+
563
+ dvi-am:
564
+
565
+ html: html-am
566
+
567
+ html-am:
568
+
569
+ info: info-am
570
+
571
+ info-am:
572
+
573
+ install-data-am:
574
+
575
+ install-dvi: install-dvi-am
576
+
577
+ install-dvi-am:
578
+
579
+ install-exec-am: install-binPROGRAMS
580
+
581
+ install-html: install-html-am
582
+
583
+ install-html-am:
584
+
585
+ install-info: install-info-am
586
+
587
+ install-info-am:
588
+
589
+ install-man:
590
+
591
+ install-pdf: install-pdf-am
592
+
593
+ install-pdf-am:
594
+
595
+ install-ps: install-ps-am
596
+
597
+ install-ps-am:
598
+
599
+ installcheck-am:
600
+
601
+ maintainer-clean: maintainer-clean-am
602
+ -rm -rf ./$(DEPDIR)
603
+ -rm -f Makefile
604
+ maintainer-clean-am: distclean-am maintainer-clean-generic
605
+
606
+ mostlyclean: mostlyclean-am
607
+
608
+ mostlyclean-am: mostlyclean-compile mostlyclean-generic \
609
+ mostlyclean-libtool
610
+
611
+ pdf: pdf-am
612
+
613
+ pdf-am:
614
+
615
+ ps: ps-am
616
+
617
+ ps-am:
618
+
619
+ uninstall-am: uninstall-binPROGRAMS
620
+
621
+ .MAKE: install-am install-strip
622
+
623
+ .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
624
+ clean-generic clean-libtool ctags distclean distclean-compile \
625
+ distclean-generic distclean-libtool distclean-tags distdir dvi \
626
+ dvi-am html html-am info info-am install install-am \
627
+ install-binPROGRAMS install-data install-data-am install-dvi \
628
+ install-dvi-am install-exec install-exec-am install-html \
629
+ install-html-am install-info install-info-am install-man \
630
+ install-pdf install-pdf-am install-ps install-ps-am \
631
+ install-strip installcheck installcheck-am installdirs \
632
+ maintainer-clean maintainer-clean-generic mostlyclean \
633
+ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
634
+ pdf pdf-am ps ps-am tags uninstall uninstall-am \
635
+ uninstall-binPROGRAMS
636
+
637
+
638
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
639
+ # Otherwise a system limit (for SysV at least) may be exceeded.
640
+ .NOEXPORT: