grammar_cop 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (344) hide show
  1. data/.DS_Store +0 -0
  2. data/.gitignore +4 -0
  3. data/Gemfile +4 -0
  4. data/Rakefile +8 -0
  5. data/data/.DS_Store +0 -0
  6. data/data/Makefile +511 -0
  7. data/data/Makefile.am +4 -0
  8. data/data/Makefile.in +511 -0
  9. data/data/de/.DS_Store +0 -0
  10. data/data/de/4.0.affix +7 -0
  11. data/data/de/4.0.dict +474 -0
  12. data/data/de/Makefile +387 -0
  13. data/data/de/Makefile.am +9 -0
  14. data/data/de/Makefile.in +387 -0
  15. data/data/en/.DS_Store +0 -0
  16. data/data/en/4.0.affix +26 -0
  17. data/data/en/4.0.batch +1002 -0
  18. data/data/en/4.0.biolg.batch +411 -0
  19. data/data/en/4.0.constituent-knowledge +127 -0
  20. data/data/en/4.0.dict +8759 -0
  21. data/data/en/4.0.dict.m4 +6928 -0
  22. data/data/en/4.0.enwiki.batch +14 -0
  23. data/data/en/4.0.fixes.batch +2776 -0
  24. data/data/en/4.0.knowledge +306 -0
  25. data/data/en/4.0.regex +225 -0
  26. data/data/en/4.0.voa.batch +114 -0
  27. data/data/en/Makefile +554 -0
  28. data/data/en/Makefile.am +19 -0
  29. data/data/en/Makefile.in +554 -0
  30. data/data/en/README +173 -0
  31. data/data/en/tiny.dict +157 -0
  32. data/data/en/words/.DS_Store +0 -0
  33. data/data/en/words/Makefile +456 -0
  34. data/data/en/words/Makefile.am +78 -0
  35. data/data/en/words/Makefile.in +456 -0
  36. data/data/en/words/currency +205 -0
  37. data/data/en/words/currency.p +28 -0
  38. data/data/en/words/entities.given-bisex.sing +39 -0
  39. data/data/en/words/entities.given-female.sing +4141 -0
  40. data/data/en/words/entities.given-male.sing +1633 -0
  41. data/data/en/words/entities.locations.sing +68 -0
  42. data/data/en/words/entities.national.sing +253 -0
  43. data/data/en/words/entities.organizations.sing +7 -0
  44. data/data/en/words/entities.us-states.sing +11 -0
  45. data/data/en/words/units.1 +45 -0
  46. data/data/en/words/units.1.dot +4 -0
  47. data/data/en/words/units.3 +2 -0
  48. data/data/en/words/units.4 +5 -0
  49. data/data/en/words/units.4.dot +1 -0
  50. data/data/en/words/words-medical.adv.1 +1191 -0
  51. data/data/en/words/words-medical.prep.1 +67 -0
  52. data/data/en/words/words-medical.v.4.1 +2835 -0
  53. data/data/en/words/words-medical.v.4.2 +2848 -0
  54. data/data/en/words/words-medical.v.4.3 +3011 -0
  55. data/data/en/words/words-medical.v.4.4 +3036 -0
  56. data/data/en/words/words-medical.v.4.5 +3050 -0
  57. data/data/en/words/words.adj.1 +6794 -0
  58. data/data/en/words/words.adj.2 +638 -0
  59. data/data/en/words/words.adj.3 +667 -0
  60. data/data/en/words/words.adv.1 +1573 -0
  61. data/data/en/words/words.adv.2 +67 -0
  62. data/data/en/words/words.adv.3 +157 -0
  63. data/data/en/words/words.adv.4 +80 -0
  64. data/data/en/words/words.n.1 +11464 -0
  65. data/data/en/words/words.n.1.wiki +264 -0
  66. data/data/en/words/words.n.2.s +2017 -0
  67. data/data/en/words/words.n.2.s.biolg +1 -0
  68. data/data/en/words/words.n.2.s.wiki +298 -0
  69. data/data/en/words/words.n.2.x +65 -0
  70. data/data/en/words/words.n.2.x.wiki +10 -0
  71. data/data/en/words/words.n.3 +5717 -0
  72. data/data/en/words/words.n.t +23 -0
  73. data/data/en/words/words.v.1.1 +1038 -0
  74. data/data/en/words/words.v.1.2 +1043 -0
  75. data/data/en/words/words.v.1.3 +1052 -0
  76. data/data/en/words/words.v.1.4 +1023 -0
  77. data/data/en/words/words.v.1.p +17 -0
  78. data/data/en/words/words.v.10.1 +14 -0
  79. data/data/en/words/words.v.10.2 +15 -0
  80. data/data/en/words/words.v.10.3 +88 -0
  81. data/data/en/words/words.v.10.4 +17 -0
  82. data/data/en/words/words.v.2.1 +1253 -0
  83. data/data/en/words/words.v.2.2 +1304 -0
  84. data/data/en/words/words.v.2.3 +1280 -0
  85. data/data/en/words/words.v.2.4 +1285 -0
  86. data/data/en/words/words.v.2.5 +1287 -0
  87. data/data/en/words/words.v.4.1 +2472 -0
  88. data/data/en/words/words.v.4.2 +2487 -0
  89. data/data/en/words/words.v.4.3 +2441 -0
  90. data/data/en/words/words.v.4.4 +2478 -0
  91. data/data/en/words/words.v.4.5 +2483 -0
  92. data/data/en/words/words.v.5.1 +98 -0
  93. data/data/en/words/words.v.5.2 +98 -0
  94. data/data/en/words/words.v.5.3 +103 -0
  95. data/data/en/words/words.v.5.4 +102 -0
  96. data/data/en/words/words.v.6.1 +388 -0
  97. data/data/en/words/words.v.6.2 +401 -0
  98. data/data/en/words/words.v.6.3 +397 -0
  99. data/data/en/words/words.v.6.4 +405 -0
  100. data/data/en/words/words.v.6.5 +401 -0
  101. data/data/en/words/words.v.8.1 +117 -0
  102. data/data/en/words/words.v.8.2 +118 -0
  103. data/data/en/words/words.v.8.3 +118 -0
  104. data/data/en/words/words.v.8.4 +119 -0
  105. data/data/en/words/words.v.8.5 +119 -0
  106. data/data/en/words/words.y +104 -0
  107. data/data/lt/.DS_Store +0 -0
  108. data/data/lt/4.0.affix +6 -0
  109. data/data/lt/4.0.constituent-knowledge +24 -0
  110. data/data/lt/4.0.dict +135 -0
  111. data/data/lt/4.0.knowledge +38 -0
  112. data/data/lt/Makefile +389 -0
  113. data/data/lt/Makefile.am +11 -0
  114. data/data/lt/Makefile.in +389 -0
  115. data/ext/.DS_Store +0 -0
  116. data/ext/link_grammar/.DS_Store +0 -0
  117. data/ext/link_grammar/extconf.rb +2 -0
  118. data/ext/link_grammar/link-grammar/.DS_Store +0 -0
  119. data/ext/link_grammar/link-grammar/.deps/analyze-linkage.Plo +198 -0
  120. data/ext/link_grammar/link-grammar/.deps/and.Plo +202 -0
  121. data/ext/link_grammar/link-grammar/.deps/api.Plo +244 -0
  122. data/ext/link_grammar/link-grammar/.deps/build-disjuncts.Plo +212 -0
  123. data/ext/link_grammar/link-grammar/.deps/command-line.Plo +201 -0
  124. data/ext/link_grammar/link-grammar/.deps/constituents.Plo +201 -0
  125. data/ext/link_grammar/link-grammar/.deps/count.Plo +202 -0
  126. data/ext/link_grammar/link-grammar/.deps/disjunct-utils.Plo +126 -0
  127. data/ext/link_grammar/link-grammar/.deps/disjuncts.Plo +123 -0
  128. data/ext/link_grammar/link-grammar/.deps/error.Plo +121 -0
  129. data/ext/link_grammar/link-grammar/.deps/expand.Plo +133 -0
  130. data/ext/link_grammar/link-grammar/.deps/extract-links.Plo +198 -0
  131. data/ext/link_grammar/link-grammar/.deps/fast-match.Plo +200 -0
  132. data/ext/link_grammar/link-grammar/.deps/idiom.Plo +200 -0
  133. data/ext/link_grammar/link-grammar/.deps/jni-client.Plo +217 -0
  134. data/ext/link_grammar/link-grammar/.deps/link-parser.Po +1 -0
  135. data/ext/link_grammar/link-grammar/.deps/massage.Plo +202 -0
  136. data/ext/link_grammar/link-grammar/.deps/post-process.Plo +202 -0
  137. data/ext/link_grammar/link-grammar/.deps/pp_knowledge.Plo +202 -0
  138. data/ext/link_grammar/link-grammar/.deps/pp_lexer.Plo +201 -0
  139. data/ext/link_grammar/link-grammar/.deps/pp_linkset.Plo +200 -0
  140. data/ext/link_grammar/link-grammar/.deps/prefix.Plo +102 -0
  141. data/ext/link_grammar/link-grammar/.deps/preparation.Plo +202 -0
  142. data/ext/link_grammar/link-grammar/.deps/print-util.Plo +200 -0
  143. data/ext/link_grammar/link-grammar/.deps/print.Plo +201 -0
  144. data/ext/link_grammar/link-grammar/.deps/prune.Plo +202 -0
  145. data/ext/link_grammar/link-grammar/.deps/read-dict.Plo +223 -0
  146. data/ext/link_grammar/link-grammar/.deps/read-regex.Plo +123 -0
  147. data/ext/link_grammar/link-grammar/.deps/regex-morph.Plo +131 -0
  148. data/ext/link_grammar/link-grammar/.deps/resources.Plo +203 -0
  149. data/ext/link_grammar/link-grammar/.deps/spellcheck-aspell.Plo +1 -0
  150. data/ext/link_grammar/link-grammar/.deps/spellcheck-hun.Plo +115 -0
  151. data/ext/link_grammar/link-grammar/.deps/string-set.Plo +198 -0
  152. data/ext/link_grammar/link-grammar/.deps/tokenize.Plo +160 -0
  153. data/ext/link_grammar/link-grammar/.deps/utilities.Plo +222 -0
  154. data/ext/link_grammar/link-grammar/.deps/word-file.Plo +201 -0
  155. data/ext/link_grammar/link-grammar/.deps/word-utils.Plo +212 -0
  156. data/ext/link_grammar/link-grammar/.libs/analyze-linkage.o +0 -0
  157. data/ext/link_grammar/link-grammar/.libs/and.o +0 -0
  158. data/ext/link_grammar/link-grammar/.libs/api.o +0 -0
  159. data/ext/link_grammar/link-grammar/.libs/build-disjuncts.o +0 -0
  160. data/ext/link_grammar/link-grammar/.libs/command-line.o +0 -0
  161. data/ext/link_grammar/link-grammar/.libs/constituents.o +0 -0
  162. data/ext/link_grammar/link-grammar/.libs/count.o +0 -0
  163. data/ext/link_grammar/link-grammar/.libs/disjunct-utils.o +0 -0
  164. data/ext/link_grammar/link-grammar/.libs/disjuncts.o +0 -0
  165. data/ext/link_grammar/link-grammar/.libs/error.o +0 -0
  166. data/ext/link_grammar/link-grammar/.libs/expand.o +0 -0
  167. data/ext/link_grammar/link-grammar/.libs/extract-links.o +0 -0
  168. data/ext/link_grammar/link-grammar/.libs/fast-match.o +0 -0
  169. data/ext/link_grammar/link-grammar/.libs/idiom.o +0 -0
  170. data/ext/link_grammar/link-grammar/.libs/jni-client.o +0 -0
  171. data/ext/link_grammar/link-grammar/.libs/liblink-grammar-java-symbols.expsym +31 -0
  172. data/ext/link_grammar/link-grammar/.libs/liblink-grammar-java.4.dylib +0 -0
  173. data/ext/link_grammar/link-grammar/.libs/liblink-grammar-java.4.dylib.dSYM/Contents/Info.plist +20 -0
  174. data/ext/link_grammar/link-grammar/.libs/liblink-grammar-java.4.dylib.dSYM/Contents/Resources/DWARF/liblink-grammar-java.4.dylib +0 -0
  175. data/ext/link_grammar/link-grammar/.libs/liblink-grammar-java.a +0 -0
  176. data/ext/link_grammar/link-grammar/.libs/liblink-grammar-java.dylib +0 -0
  177. data/ext/link_grammar/link-grammar/.libs/liblink-grammar-symbols.expsym +194 -0
  178. data/ext/link_grammar/link-grammar/.libs/liblink-grammar.4.dylib +0 -0
  179. data/ext/link_grammar/link-grammar/.libs/liblink-grammar.4.dylib.dSYM/Contents/Info.plist +20 -0
  180. data/ext/link_grammar/link-grammar/.libs/liblink-grammar.4.dylib.dSYM/Contents/Resources/DWARF/liblink-grammar.4.dylib +0 -0
  181. data/ext/link_grammar/link-grammar/.libs/liblink-grammar.a +0 -0
  182. data/ext/link_grammar/link-grammar/.libs/liblink-grammar.dylib +0 -0
  183. data/ext/link_grammar/link-grammar/.libs/liblink-grammar.la +41 -0
  184. data/ext/link_grammar/link-grammar/.libs/liblink-grammar.lai +41 -0
  185. data/ext/link_grammar/link-grammar/.libs/massage.o +0 -0
  186. data/ext/link_grammar/link-grammar/.libs/post-process.o +0 -0
  187. data/ext/link_grammar/link-grammar/.libs/pp_knowledge.o +0 -0
  188. data/ext/link_grammar/link-grammar/.libs/pp_lexer.o +0 -0
  189. data/ext/link_grammar/link-grammar/.libs/pp_linkset.o +0 -0
  190. data/ext/link_grammar/link-grammar/.libs/prefix.o +0 -0
  191. data/ext/link_grammar/link-grammar/.libs/preparation.o +0 -0
  192. data/ext/link_grammar/link-grammar/.libs/print-util.o +0 -0
  193. data/ext/link_grammar/link-grammar/.libs/print.o +0 -0
  194. data/ext/link_grammar/link-grammar/.libs/prune.o +0 -0
  195. data/ext/link_grammar/link-grammar/.libs/read-dict.o +0 -0
  196. data/ext/link_grammar/link-grammar/.libs/read-regex.o +0 -0
  197. data/ext/link_grammar/link-grammar/.libs/regex-morph.o +0 -0
  198. data/ext/link_grammar/link-grammar/.libs/resources.o +0 -0
  199. data/ext/link_grammar/link-grammar/.libs/spellcheck-aspell.o +0 -0
  200. data/ext/link_grammar/link-grammar/.libs/spellcheck-hun.o +0 -0
  201. data/ext/link_grammar/link-grammar/.libs/string-set.o +0 -0
  202. data/ext/link_grammar/link-grammar/.libs/tokenize.o +0 -0
  203. data/ext/link_grammar/link-grammar/.libs/utilities.o +0 -0
  204. data/ext/link_grammar/link-grammar/.libs/word-file.o +0 -0
  205. data/ext/link_grammar/link-grammar/.libs/word-utils.o +0 -0
  206. data/ext/link_grammar/link-grammar/Makefile +900 -0
  207. data/ext/link_grammar/link-grammar/Makefile.am +202 -0
  208. data/ext/link_grammar/link-grammar/Makefile.in +900 -0
  209. data/ext/link_grammar/link-grammar/analyze-linkage.c +1317 -0
  210. data/ext/link_grammar/link-grammar/analyze-linkage.h +24 -0
  211. data/ext/link_grammar/link-grammar/and.c +1603 -0
  212. data/ext/link_grammar/link-grammar/and.h +27 -0
  213. data/ext/link_grammar/link-grammar/api-structures.h +362 -0
  214. data/ext/link_grammar/link-grammar/api-types.h +72 -0
  215. data/ext/link_grammar/link-grammar/api.c +1887 -0
  216. data/ext/link_grammar/link-grammar/api.h +96 -0
  217. data/ext/link_grammar/link-grammar/autoit/.DS_Store +0 -0
  218. data/ext/link_grammar/link-grammar/autoit/README +10 -0
  219. data/ext/link_grammar/link-grammar/autoit/_LGTest.au3 +22 -0
  220. data/ext/link_grammar/link-grammar/autoit/_LinkGrammar.au3 +545 -0
  221. data/ext/link_grammar/link-grammar/build-disjuncts.c +487 -0
  222. data/ext/link_grammar/link-grammar/build-disjuncts.h +21 -0
  223. data/ext/link_grammar/link-grammar/command-line.c +458 -0
  224. data/ext/link_grammar/link-grammar/command-line.h +15 -0
  225. data/ext/link_grammar/link-grammar/constituents.c +1836 -0
  226. data/ext/link_grammar/link-grammar/constituents.h +26 -0
  227. data/ext/link_grammar/link-grammar/corpus/.DS_Store +0 -0
  228. data/ext/link_grammar/link-grammar/corpus/.deps/cluster.Plo +1 -0
  229. data/ext/link_grammar/link-grammar/corpus/.deps/corpus.Plo +1 -0
  230. data/ext/link_grammar/link-grammar/corpus/Makefile +527 -0
  231. data/ext/link_grammar/link-grammar/corpus/Makefile.am +46 -0
  232. data/ext/link_grammar/link-grammar/corpus/Makefile.in +527 -0
  233. data/ext/link_grammar/link-grammar/corpus/README +17 -0
  234. data/ext/link_grammar/link-grammar/corpus/cluster.c +286 -0
  235. data/ext/link_grammar/link-grammar/corpus/cluster.h +32 -0
  236. data/ext/link_grammar/link-grammar/corpus/corpus.c +483 -0
  237. data/ext/link_grammar/link-grammar/corpus/corpus.h +46 -0
  238. data/ext/link_grammar/link-grammar/count.c +828 -0
  239. data/ext/link_grammar/link-grammar/count.h +25 -0
  240. data/ext/link_grammar/link-grammar/disjunct-utils.c +261 -0
  241. data/ext/link_grammar/link-grammar/disjunct-utils.h +27 -0
  242. data/ext/link_grammar/link-grammar/disjuncts.c +138 -0
  243. data/ext/link_grammar/link-grammar/disjuncts.h +13 -0
  244. data/ext/link_grammar/link-grammar/error.c +92 -0
  245. data/ext/link_grammar/link-grammar/error.h +35 -0
  246. data/ext/link_grammar/link-grammar/expand.c +67 -0
  247. data/ext/link_grammar/link-grammar/expand.h +13 -0
  248. data/ext/link_grammar/link-grammar/externs.h +22 -0
  249. data/ext/link_grammar/link-grammar/extract-links.c +625 -0
  250. data/ext/link_grammar/link-grammar/extract-links.h +16 -0
  251. data/ext/link_grammar/link-grammar/fast-match.c +309 -0
  252. data/ext/link_grammar/link-grammar/fast-match.h +17 -0
  253. data/ext/link_grammar/link-grammar/idiom.c +373 -0
  254. data/ext/link_grammar/link-grammar/idiom.h +15 -0
  255. data/ext/link_grammar/link-grammar/jni-client.c +779 -0
  256. data/ext/link_grammar/link-grammar/jni-client.h +236 -0
  257. data/ext/link_grammar/link-grammar/liblink-grammar-java.la +42 -0
  258. data/ext/link_grammar/link-grammar/liblink-grammar.la +41 -0
  259. data/ext/link_grammar/link-grammar/link-features.h +37 -0
  260. data/ext/link_grammar/link-grammar/link-features.h.in +37 -0
  261. data/ext/link_grammar/link-grammar/link-grammar-java.def +31 -0
  262. data/ext/link_grammar/link-grammar/link-grammar.def +194 -0
  263. data/ext/link_grammar/link-grammar/link-includes.h +465 -0
  264. data/ext/link_grammar/link-grammar/link-parser.c +849 -0
  265. data/ext/link_grammar/link-grammar/massage.c +329 -0
  266. data/ext/link_grammar/link-grammar/massage.h +13 -0
  267. data/ext/link_grammar/link-grammar/post-process.c +1113 -0
  268. data/ext/link_grammar/link-grammar/post-process.h +45 -0
  269. data/ext/link_grammar/link-grammar/pp_knowledge.c +376 -0
  270. data/ext/link_grammar/link-grammar/pp_knowledge.h +14 -0
  271. data/ext/link_grammar/link-grammar/pp_lexer.c +1920 -0
  272. data/ext/link_grammar/link-grammar/pp_lexer.h +19 -0
  273. data/ext/link_grammar/link-grammar/pp_linkset.c +158 -0
  274. data/ext/link_grammar/link-grammar/pp_linkset.h +20 -0
  275. data/ext/link_grammar/link-grammar/prefix.c +482 -0
  276. data/ext/link_grammar/link-grammar/prefix.h +139 -0
  277. data/ext/link_grammar/link-grammar/preparation.c +412 -0
  278. data/ext/link_grammar/link-grammar/preparation.h +20 -0
  279. data/ext/link_grammar/link-grammar/print-util.c +87 -0
  280. data/ext/link_grammar/link-grammar/print-util.h +32 -0
  281. data/ext/link_grammar/link-grammar/print.c +1085 -0
  282. data/ext/link_grammar/link-grammar/print.h +16 -0
  283. data/ext/link_grammar/link-grammar/prune.c +1864 -0
  284. data/ext/link_grammar/link-grammar/prune.h +17 -0
  285. data/ext/link_grammar/link-grammar/read-dict.c +1785 -0
  286. data/ext/link_grammar/link-grammar/read-dict.h +29 -0
  287. data/ext/link_grammar/link-grammar/read-regex.c +161 -0
  288. data/ext/link_grammar/link-grammar/read-regex.h +12 -0
  289. data/ext/link_grammar/link-grammar/regex-morph.c +126 -0
  290. data/ext/link_grammar/link-grammar/regex-morph.h +17 -0
  291. data/ext/link_grammar/link-grammar/resources.c +180 -0
  292. data/ext/link_grammar/link-grammar/resources.h +23 -0
  293. data/ext/link_grammar/link-grammar/sat-solver/.DS_Store +0 -0
  294. data/ext/link_grammar/link-grammar/sat-solver/.deps/fast-sprintf.Plo +1 -0
  295. data/ext/link_grammar/link-grammar/sat-solver/.deps/sat-encoder.Plo +1 -0
  296. data/ext/link_grammar/link-grammar/sat-solver/.deps/util.Plo +1 -0
  297. data/ext/link_grammar/link-grammar/sat-solver/.deps/variables.Plo +1 -0
  298. data/ext/link_grammar/link-grammar/sat-solver/.deps/word-tag.Plo +1 -0
  299. data/ext/link_grammar/link-grammar/sat-solver/Makefile +527 -0
  300. data/ext/link_grammar/link-grammar/sat-solver/Makefile.am +29 -0
  301. data/ext/link_grammar/link-grammar/sat-solver/Makefile.in +527 -0
  302. data/ext/link_grammar/link-grammar/sat-solver/clock.hpp +33 -0
  303. data/ext/link_grammar/link-grammar/sat-solver/fast-sprintf.cpp +26 -0
  304. data/ext/link_grammar/link-grammar/sat-solver/fast-sprintf.hpp +7 -0
  305. data/ext/link_grammar/link-grammar/sat-solver/guiding.hpp +244 -0
  306. data/ext/link_grammar/link-grammar/sat-solver/matrix-ut.hpp +79 -0
  307. data/ext/link_grammar/link-grammar/sat-solver/sat-encoder.cpp +2811 -0
  308. data/ext/link_grammar/link-grammar/sat-solver/sat-encoder.h +11 -0
  309. data/ext/link_grammar/link-grammar/sat-solver/sat-encoder.hpp +381 -0
  310. data/ext/link_grammar/link-grammar/sat-solver/trie.hpp +118 -0
  311. data/ext/link_grammar/link-grammar/sat-solver/util.cpp +23 -0
  312. data/ext/link_grammar/link-grammar/sat-solver/util.hpp +14 -0
  313. data/ext/link_grammar/link-grammar/sat-solver/variables.cpp +5 -0
  314. data/ext/link_grammar/link-grammar/sat-solver/variables.hpp +829 -0
  315. data/ext/link_grammar/link-grammar/sat-solver/word-tag.cpp +159 -0
  316. data/ext/link_grammar/link-grammar/sat-solver/word-tag.hpp +162 -0
  317. data/ext/link_grammar/link-grammar/spellcheck-aspell.c +148 -0
  318. data/ext/link_grammar/link-grammar/spellcheck-hun.c +136 -0
  319. data/ext/link_grammar/link-grammar/spellcheck.h +34 -0
  320. data/ext/link_grammar/link-grammar/string-set.c +169 -0
  321. data/ext/link_grammar/link-grammar/string-set.h +16 -0
  322. data/ext/link_grammar/link-grammar/structures.h +498 -0
  323. data/ext/link_grammar/link-grammar/tokenize.c +1049 -0
  324. data/ext/link_grammar/link-grammar/tokenize.h +15 -0
  325. data/ext/link_grammar/link-grammar/utilities.c +847 -0
  326. data/ext/link_grammar/link-grammar/utilities.h +281 -0
  327. data/ext/link_grammar/link-grammar/word-file.c +124 -0
  328. data/ext/link_grammar/link-grammar/word-file.h +15 -0
  329. data/ext/link_grammar/link-grammar/word-utils.c +526 -0
  330. data/ext/link_grammar/link-grammar/word-utils.h +152 -0
  331. data/ext/link_grammar/link_grammar.c +202 -0
  332. data/ext/link_grammar/link_grammar.h +99 -0
  333. data/grammar_cop.gemspec +24 -0
  334. data/lib/.DS_Store +0 -0
  335. data/lib/grammar_cop.rb +9 -0
  336. data/lib/grammar_cop/.DS_Store +0 -0
  337. data/lib/grammar_cop/dictionary.rb +19 -0
  338. data/lib/grammar_cop/linkage.rb +30 -0
  339. data/lib/grammar_cop/parse_options.rb +32 -0
  340. data/lib/grammar_cop/sentence.rb +36 -0
  341. data/lib/grammar_cop/version.rb +3 -0
  342. data/test/.DS_Store +0 -0
  343. data/test/grammar_cop_test.rb +27 -0
  344. metadata +407 -0
@@ -0,0 +1,114 @@
1
+
2
+ !verbosity=1
3
+ !echo
4
+ !limit=1000
5
+ !batch
6
+ !short=20
7
+ !constituents=1
8
+ !spell=0
9
+
10
+ Finally, cover the cut with a clean bandage while it heals.
11
+ As the wound heals, inspect for signs of infection including increased pain, redness and fluid around the cut.
12
+ To learn more about first aid, contact a hospital or local organization like a Red Cross or Red Crescent society.
13
+ King Nebuchadnezzar the Second probably built the gardens about two thousand six hundred years ago.
14
+ Also on this list is the Colossus of Rhodes.
15
+ Next on our list is the statue of the Greek God Zeus in a temple at Olympia, Greece.
16
+ The Temple of Artemis at Ephesus is another ancient wonder of the world.
17
+ Number six on our list was also built in what is now Turkey.
18
+ It was so famous that all large burial places, or tombs, became known as mausoleums.
19
+ The fifth Mughal emperor, Shah Jahan, ordered it built in Agra in sixteen thirty-one.
20
+ They were built to honor an ancient king of Egypt, Ramses the Second, and his wife, Nefertari.
21
+ In front of the main temple are four huge statues of Ramses the Second.
22
+ Nearby is another temple that honors his wife, Nefertari.
23
+ It too is beautifully carved out of solid rock.
24
+ It, too, is beautifully carved out of solid rock.
25
+ Today, we complete the story of the American Revolution against Britain in the late seventeen seventies.
26
+ Washington knows that if Howe attacks, the British will be able to go all the way to Philadelphia.
27
+ Washington wants to surprise the enemy early in the morning the day after the Christmas holiday, December twenty-sixth.
28
+ The crossing takes longer than Washington thought it would.
29
+ A few days later, he marches his captured prisoners through the streets of the city of Philadelphia.
30
+ And in August, seventeen seventy-seven, General Howe captured Philadelphia.
31
+ British general John Burgoyne surrenders at Saratoga, New York, in October 1777, as painted by Percy Moran.
32
+ He surrendered to George Washington on October seventeenth, seventeen eighty-one.
33
+ The Massachusetts Institute of Technology became an early leader with its OpenCourseWare project, first announced in two thousand one.
34
+ These range from physics and linear algebra to anthropology, political science -- even scuba diving.
35
+ Still, M.I.T. says the site has had forty million visits by thirty-one million visitors from almost every country.
36
+ This followed a money-raising effort linked to the two hundredth anniversary of the United States.
37
+ The first one airs on Sunday.
38
+ Oscar Peterson played piano and wrote music.
39
+ The International Monetary Fund estimated growth at five and two-tenths percent.
40
+ In October the I.M.F. cut its estimate for global growth this year by almost half a percentage point, to four and eight-tenths percent.
41
+ There are worries of an economic slowdown or possibly a recession in the United States.
42
+ Another major issue for two thousand eight is what effect energy prices will have on economic growth.
43
+ The violence this week in Kenya has thrown the usually peaceful country into crisis.
44
+ On Friday Kenya's main opposition party, the Orange Democratic Movement, called for a new election.
45
+ But Kikuyus have long ruled the country, both politically and financially.
46
+ Kenyans on the streets feel discriminated against the equal share of the national cake and they are determined to equal the playing field in a democratic manner.
47
+ After leaving the army, he worked for Playboy magazine for almost twenty years.
48
+ The young man did just that, and the tree was happy.
49
+ Shel Silverstein once said that he wanted to go everywhere, look at and listen to everything.
50
+ Arkansas is rich in natural resources and has become a favorite place for older people to retire.
51
+ Hawaii, far out in the Pacific Ocean, is the Aloha State.
52
+ And in Rwanda, Engineers Without Borders is rebuilding areas destroyed during the nineteen ninety-four genocide.
53
+ Her first project there was to photograph John Lennon, a member of the British band the Beatles.
54
+ Leibovitz had imagined photographing the couple without clothes.
55
+ Influenza is a common infection of the nose and throat, and sometimes the lungs.
56
+ The virus spreads through the air when an infected person expels air suddenly.
57
+ But the flu can kill.
58
+ But they did not really know why until recently.
59
+ American researchers say they now know why the influenza virus spreads in the winter and not in the summer.
60
+ Researchers in New York carried out twenty experiments with guinea pigs to investigate how the virus spreads.
61
+ A person who has suffered one kind of flu cannot develop that same kind again.
62
+ The World Health Organization holds meetings in which experts discuss what kinds of flu viruses to include in the next vaccine.
63
+ People in fifteenth century Italy thought sicknesses were caused by the influence of the stars.
64
+ The flu spread in Asia in eighteen twenty-nine, then again in eighteen thirty-six.
65
+ Experts say two hundred fifty thousand people died in Europe in that flu pandemic.
66
+ The deadliest spread of influenza ever reported involved a flu that first appeared in Spain.
67
+ Wild and farm birds often have a flu virus.
68
+ Two hundred eight of them died.
69
+ Two hundred and eight of them died.
70
+ People would become infected with a virus their bodies have never before experienced.
71
+ Bob Frydenlund says having a round barn means keeping alive part of the history of American farming.
72
+ Last week, we told about structures built hundreds or thousands of years ago.
73
+ A crown of white snow covers the top of the mountain most of the year.
74
+ Or you could climb the mountain to get an even better look.
75
+ In fifteen forty, Spanish explorer Garcia Lopez de Cardenas was searching this desert area for gold.
76
+ The sunlight made deep shadows and seemed to change the shape of things every minute.
77
+ Often, some areas of the deep canyon appeared bright red.
78
+ Next we travel across the Pacific Ocean.
79
+ Or doctors may misdiagnose it as asthma or another infection.
80
+ It was not until after Lincoln was murdered, however, that the states approved the Thirteenth Amendment to ban slavery everywhere in the country.
81
+ Another amendment proposed in the early nineteen hundreds was designed to change the method of electing United States Senators.
82
+ But not everyone used it.
83
+ If you look -- and smell -- carefully, you will realize that the wrapped forms contain several kilograms of spices such as cinnamon and turmeric.
84
+ Mister Neto often creates works like this one that visitors can step into and explore using different senses.
85
+ He shared an Emmy Award for outstanding movie made for television.
86
+ Some experts say it could slow down service at McDonald's restaurants.
87
+ But a year ago he warned that its fast growth had led to what he called the watering down of the Starbucks experience.
88
+ Some neighborhoods have a Starbucks on every block or two.
89
+ Testers from Consumer Reports thought it tasted better than Starbucks, and it cost less.
90
+ Senator Hillary Clinton won the Democratic vote in the first primary state, New Hampshire, on Tuesday.
91
+ The New York senator and former first lady hopes to become the country’s first female president.
92
+ New Mexico Governor Bill Richardson dropped out of the Democratic race this week.
93
+ Every week we tell about a person important in the history of the United States.
94
+ No end to the lines of soldiers marching across the land.
95
+ They have told of the soldiers’ fear and terror.
96
+ How they suffered and died.
97
+ And how they sang before and after battle.
98
+ A woman lay asleep in her hotel room.
99
+ It had just the right words for the great marching music.
100
+ Illinois is The Land of Lincoln.
101
+ The midwestern state of Indiana is called the Hoosier State, but nobody is quite sure why.
102
+ No wonder the state legislature instead calls Indiana The Crossroads of America.
103
+ North Dakota gets its nickname, The Flickertail State not from some bird, but from a little squirrel.
104
+ This report says the Kenyan parliament has 126 seats and that the opposition won 95 of them in recent elections.
105
+ As a young man, Jack Benny played violin in a vaudeville theater in his home state of Illinois.
106
+ This week, we tell about vitamins.
107
+ They are known as vitamins A, the B group, C, D, E and K.
108
+ And, they said vitamin D supplements and calcium can protect the bones of older women.
109
+ They said people should be sure to discuss what vitamins they take with their doctors.
110
+ They found that those taking vitamin A, vitamin E or beta carotene
111
+ supplements had an increased risk of dying at an early age.
112
+ Grasslands need time to rest when cattle and other animals feed on them.
113
+ In earlier programs, we told about ancient structures and beautiful natural places.
114
+ But the cost could not be compared to the cost of a ship that had to sail from ports on the Atlantic Ocean to ports in Asia.
data/data/en/Makefile ADDED
@@ -0,0 +1,554 @@
1
+ # Makefile.in generated by automake 1.10.2 from Makefile.am.
2
+ # data/en/Makefile. Generated from Makefile.in by configure.
3
+
4
+ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
+ # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6
+ # This Makefile.in is free software; the Free Software Foundation
7
+ # gives unlimited permission to copy and/or distribute it,
8
+ # with or without modifications, as long as this notice is preserved.
9
+
10
+ # This program is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
+ # PARTICULAR PURPOSE.
14
+
15
+
16
+
17
+
18
+ pkgdatadir = $(datadir)/link-grammar
19
+ pkglibdir = $(libdir)/link-grammar
20
+ pkgincludedir = $(includedir)/link-grammar
21
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
22
+ install_sh_DATA = $(install_sh) -c -m 644
23
+ install_sh_PROGRAM = $(install_sh) -c
24
+ install_sh_SCRIPT = $(install_sh) -c
25
+ INSTALL_HEADER = $(INSTALL_DATA)
26
+ transform = $(program_transform_name)
27
+ NORMAL_INSTALL = :
28
+ PRE_INSTALL = :
29
+ POST_INSTALL = :
30
+ NORMAL_UNINSTALL = :
31
+ PRE_UNINSTALL = :
32
+ POST_UNINSTALL = :
33
+ build_triplet = i386-apple-darwin10.7.0
34
+ host_triplet = i386-apple-darwin10.7.0
35
+ subdir = data/en
36
+ DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
37
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
38
+ am__aclocal_m4_deps = $(top_srcdir)/ac-helpers/binreloc.m4 \
39
+ $(top_srcdir)/configure.in
40
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
41
+ $(ACLOCAL_M4)
42
+ mkinstalldirs = $(install_sh) -d
43
+ CONFIG_CLEAN_FILES =
44
+ SOURCES =
45
+ DIST_SOURCES =
46
+ RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
47
+ html-recursive info-recursive install-data-recursive \
48
+ install-dvi-recursive install-exec-recursive \
49
+ install-html-recursive install-info-recursive \
50
+ install-pdf-recursive install-ps-recursive install-recursive \
51
+ installcheck-recursive installdirs-recursive pdf-recursive \
52
+ ps-recursive uninstall-recursive
53
+ am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
54
+ am__vpath_adj = case $$p in \
55
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
56
+ *) f=$$p;; \
57
+ esac;
58
+ am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
59
+ am__installdirs = "$(DESTDIR)$(dictdir)"
60
+ dictDATA_INSTALL = $(INSTALL_DATA)
61
+ DATA = $(dict_DATA)
62
+ RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
63
+ distclean-recursive maintainer-clean-recursive
64
+ ETAGS = etags
65
+ CTAGS = ctags
66
+ DIST_SUBDIRS = $(SUBDIRS)
67
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
68
+ ACLOCAL = aclocal-1.10
69
+ AMTAR = tar
70
+ AR = ar
71
+ AS = as
72
+ ASPELL_CFLAGS =
73
+ ASPELL_LIBS =
74
+ AUTOCONF = autoconf
75
+ AUTOHEADER = autoheader
76
+ AUTOMAKE = automake-1.10
77
+ AWK = awk
78
+ BINRELOC_CFLAGS =
79
+ BINRELOC_LIBS =
80
+ CC = gcc
81
+ CCDEPMODE = depmode=gcc3
82
+ CFLAGS = -g -O2 -std=c99 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
83
+ CPP = gcc -E
84
+ CPPFLAGS = -I /include -I /include/freebsd -I /include/linux -I /include/win32 -I /Headers -I /include -I /include/freebsd -I /include/linux -I /include/win32 -I /Headers -I/usr/include/classpath/ -I/usr/local/jdk1.6.0/include/ -I/usr/local/jdk1.6.0/include/freebsd -I/usr/local/jdk1.6.0/include/linux -I/usr/lib/jvm/java-6-sun/include/ -I/usr/lib/jvm/java-6-sun/include/freebsd -I/usr/lib/jvm/java-6-sun/include/linux -I/usr/lib/j2sdk1.6-ibm/include -I/usr/lib/j2sdk1.6-ibm/include/freebsd -I/usr/lib/j2sdk1.6-ibm/include/linux -I/opt/jdk1.5/include/ -I/opt/jdk1.5/include/freebsd -I/opt/jdk1.5/include/linux -I/usr/lib/jvm/java-1.5.0-sun-1.5.0.15/include -I/usr/lib/jvm/java-1.5.0-sun-1.5.0.15/include/freebsd -I/usr/lib/jvm/java-1.5.0-sun-1.5.0.15/include/linux -I/c/java/jdk1.6.0/include/ -I/c/java/jdk1.6.0/include/win32/ -I/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/JavaVM.framework/Headers/ -I/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/JavaVM.framework/Headers/
85
+ CXX = g++
86
+ CXXCPP = g++ -E
87
+ CXXDEPMODE = depmode=gcc3
88
+ CXXFLAGS = -g -O2
89
+ CYGPATH_W = echo
90
+ DEFS = -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"link-grammar\" -DVERSION=\"4.7.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_TOWUPPER=1 -DDEBUG_MEMORY=0 -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_REGEXEC=1
91
+ DEPDIR = .deps
92
+ DLLTOOL = dlltool
93
+ DSYMUTIL = dsymutil
94
+ DUMPBIN =
95
+ ECHO_C = \c
96
+ ECHO_N =
97
+ ECHO_T =
98
+ EGREP = /usr/bin/grep -E
99
+ EXEEXT =
100
+ FGREP = /usr/bin/grep -F
101
+ GREP = /usr/bin/grep
102
+ HUNSPELL_CFLAGS =
103
+ HUNSPELL_LIBS =
104
+ INSTALL = /usr/bin/install -c
105
+ INSTALL_DATA = ${INSTALL} -m 644
106
+ INSTALL_PROGRAM = ${INSTALL}
107
+ INSTALL_SCRIPT = ${INSTALL}
108
+ INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
109
+ LD = /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
110
+ LDFLAGS =
111
+ LIBEDIT_CFLAGS =
112
+ LIBEDIT_LIBS =
113
+ LIBOBJS =
114
+ LIBS =
115
+ LIBTOOL = $(SHELL) $(top_builddir)/libtool
116
+ LINK_CFLAGS = -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -fno-strict-aliasing
117
+ LINK_MAJOR_VERSION = 4
118
+ LINK_MICRO_VERSION = 4
119
+ LINK_MINOR_VERSION = 7
120
+ LIPO = lipo
121
+ LN_S = ln -s
122
+ LTLIBOBJS =
123
+ MAINT = #
124
+ MAKEINFO = makeinfo
125
+ MKDIR_P = ../.././install-sh -c -d
126
+ NM = /usr/bin/nm
127
+ NMEDIT = nmedit
128
+ OBJDUMP = objdump
129
+ OBJEXT = o
130
+ OTOOL = otool
131
+ OTOOL64 = :
132
+ PACKAGE = link-grammar
133
+ PACKAGE_BUGREPORT =
134
+ PACKAGE_NAME =
135
+ PACKAGE_STRING =
136
+ PACKAGE_TARNAME =
137
+ PACKAGE_VERSION =
138
+ PATH_SEPARATOR = :
139
+ PKG_CONFIG = /opt/local/bin/pkg-config
140
+ RANLIB = ranlib
141
+ REGEX_LIBS =
142
+ SED = /usr/bin/sed
143
+ SET_MAKE =
144
+ SHELL = /bin/sh
145
+ SQLITE3_CFLAGS =
146
+ SQLITE3_LIBS =
147
+ STRIP = strip
148
+ VERSION = 4.7.4
149
+ VERSION_INFO = 11:4:7
150
+ abs_builddir = /Users/quannguyen/Desktop/link grammar/link-grammar-4.7.4/data/en
151
+ abs_srcdir = /Users/quannguyen/Desktop/link grammar/link-grammar-4.7.4/data/en
152
+ abs_top_builddir = /Users/quannguyen/Desktop/link grammar/link-grammar-4.7.4
153
+ abs_top_srcdir = /Users/quannguyen/Desktop/link grammar/link-grammar-4.7.4
154
+ ac_ct_CC = gcc
155
+ ac_ct_CXX = g++
156
+ ac_ct_DUMPBIN =
157
+ am__include = include
158
+ am__leading_dot = .
159
+ am__quote =
160
+ am__tar = ${AMTAR} chof - "$$tardir"
161
+ am__untar = ${AMTAR} xf -
162
+ bindir = ${exec_prefix}/bin
163
+ build = i386-apple-darwin10.7.0
164
+ build_alias =
165
+ build_cpu = i386
166
+ build_os = darwin10.7.0
167
+ build_vendor = apple
168
+ builddir = .
169
+ datadir = ${datarootdir}
170
+ datarootdir = ${prefix}/share
171
+ docdir = ${datarootdir}/doc/${PACKAGE}
172
+ dvidir = ${docdir}
173
+ exec_prefix = ${prefix}
174
+ host = i386-apple-darwin10.7.0
175
+ host_alias =
176
+ host_cpu = i386
177
+ host_os = darwin10.7.0
178
+ host_vendor = apple
179
+ htmldir = ${docdir}
180
+ includedir = ${prefix}/include
181
+ infodir = ${datarootdir}/info
182
+ install_sh = $(SHELL) /Users/quannguyen/Desktop/link grammar/link-grammar-4.7.4/install-sh
183
+ libdir = ${exec_prefix}/lib
184
+ libexecdir = ${exec_prefix}/libexec
185
+ localedir = ${datarootdir}/locale
186
+ localstatedir = ${prefix}/var
187
+ lt_ECHO = /bin/echo
188
+ mandir = ${datarootdir}/man
189
+ mkdir_p = $(top_builddir)/./install-sh -c -d
190
+ oldincludedir = /usr/include
191
+ pdfdir = ${docdir}
192
+ prefix = /usr/local
193
+ program_transform_name = s,x,x,
194
+ psdir = ${docdir}
195
+ sbindir = ${exec_prefix}/sbin
196
+ sharedstatedir = ${prefix}/com
197
+ srcdir = .
198
+ sysconfdir = ${prefix}/etc
199
+ target_alias =
200
+ top_build_prefix = ../../
201
+ top_builddir = ../..
202
+ top_srcdir = ../..
203
+ SUBDIRS = words
204
+ DICTS = \
205
+ 4.0.affix \
206
+ 4.0.batch \
207
+ 4.0.biolg.batch \
208
+ 4.0.enwiki.batch \
209
+ 4.0.fixes.batch \
210
+ 4.0.voa.batch \
211
+ 4.0.constituent-knowledge \
212
+ 4.0.dict \
213
+ 4.0.knowledge \
214
+ 4.0.regex \
215
+ tiny.dict
216
+
217
+ dictdir = $(pkgdatadir)/en
218
+ dict_DATA = $(DICTS)
219
+ EXTRA_DIST = $(DICTS) 4.0.dict.m4
220
+ all: all-recursive
221
+
222
+ .SUFFIXES:
223
+ $(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(am__configure_deps)
224
+ @for dep in $?; do \
225
+ case '$(am__configure_deps)' in \
226
+ *$$dep*) \
227
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
228
+ && { if test -f $@; then exit 0; else break; fi; }; \
229
+ exit 1;; \
230
+ esac; \
231
+ done; \
232
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/en/Makefile'; \
233
+ cd $(top_srcdir) && \
234
+ $(AUTOMAKE) --foreign data/en/Makefile
235
+ .PRECIOUS: Makefile
236
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
237
+ @case '$?' in \
238
+ *config.status*) \
239
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
240
+ *) \
241
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
242
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
243
+ esac;
244
+
245
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
246
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
247
+
248
+ $(top_srcdir)/configure: # $(am__configure_deps)
249
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
250
+ $(ACLOCAL_M4): # $(am__aclocal_m4_deps)
251
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
252
+
253
+ mostlyclean-libtool:
254
+ -rm -f *.lo
255
+
256
+ clean-libtool:
257
+ -rm -rf .libs _libs
258
+ install-dictDATA: $(dict_DATA)
259
+ @$(NORMAL_INSTALL)
260
+ test -z "$(dictdir)" || $(MKDIR_P) "$(DESTDIR)$(dictdir)"
261
+ @list='$(dict_DATA)'; for p in $$list; do \
262
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
263
+ f=$(am__strip_dir) \
264
+ echo " $(dictDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(dictdir)/$$f'"; \
265
+ $(dictDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(dictdir)/$$f"; \
266
+ done
267
+
268
+ uninstall-dictDATA:
269
+ @$(NORMAL_UNINSTALL)
270
+ @list='$(dict_DATA)'; for p in $$list; do \
271
+ f=$(am__strip_dir) \
272
+ echo " rm -f '$(DESTDIR)$(dictdir)/$$f'"; \
273
+ rm -f "$(DESTDIR)$(dictdir)/$$f"; \
274
+ done
275
+
276
+ # This directory's subdirectories are mostly independent; you can cd
277
+ # into them and run `make' without going through this Makefile.
278
+ # To change the values of `make' variables: instead of editing Makefiles,
279
+ # (1) if the variable is set in `config.status', edit `config.status'
280
+ # (which will cause the Makefiles to be regenerated when you run `make');
281
+ # (2) otherwise, pass the desired values on the `make' command line.
282
+ $(RECURSIVE_TARGETS):
283
+ @failcom='exit 1'; \
284
+ for f in x $$MAKEFLAGS; do \
285
+ case $$f in \
286
+ *=* | --[!k]*);; \
287
+ *k*) failcom='fail=yes';; \
288
+ esac; \
289
+ done; \
290
+ dot_seen=no; \
291
+ target=`echo $@ | sed s/-recursive//`; \
292
+ list='$(SUBDIRS)'; for subdir in $$list; do \
293
+ echo "Making $$target in $$subdir"; \
294
+ if test "$$subdir" = "."; then \
295
+ dot_seen=yes; \
296
+ local_target="$$target-am"; \
297
+ else \
298
+ local_target="$$target"; \
299
+ fi; \
300
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
301
+ || eval $$failcom; \
302
+ done; \
303
+ if test "$$dot_seen" = "no"; then \
304
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
305
+ fi; test -z "$$fail"
306
+
307
+ $(RECURSIVE_CLEAN_TARGETS):
308
+ @failcom='exit 1'; \
309
+ for f in x $$MAKEFLAGS; do \
310
+ case $$f in \
311
+ *=* | --[!k]*);; \
312
+ *k*) failcom='fail=yes';; \
313
+ esac; \
314
+ done; \
315
+ dot_seen=no; \
316
+ case "$@" in \
317
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
318
+ *) list='$(SUBDIRS)' ;; \
319
+ esac; \
320
+ rev=''; for subdir in $$list; do \
321
+ if test "$$subdir" = "."; then :; else \
322
+ rev="$$subdir $$rev"; \
323
+ fi; \
324
+ done; \
325
+ rev="$$rev ."; \
326
+ target=`echo $@ | sed s/-recursive//`; \
327
+ for subdir in $$rev; do \
328
+ echo "Making $$target in $$subdir"; \
329
+ if test "$$subdir" = "."; then \
330
+ local_target="$$target-am"; \
331
+ else \
332
+ local_target="$$target"; \
333
+ fi; \
334
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
335
+ || eval $$failcom; \
336
+ done && test -z "$$fail"
337
+ tags-recursive:
338
+ list='$(SUBDIRS)'; for subdir in $$list; do \
339
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
340
+ done
341
+ ctags-recursive:
342
+ list='$(SUBDIRS)'; for subdir in $$list; do \
343
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
344
+ done
345
+
346
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
347
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
348
+ unique=`for i in $$list; do \
349
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
350
+ done | \
351
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
352
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
353
+ mkid -fID $$unique
354
+ tags: TAGS
355
+
356
+ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
357
+ $(TAGS_FILES) $(LISP)
358
+ tags=; \
359
+ here=`pwd`; \
360
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
361
+ include_option=--etags-include; \
362
+ empty_fix=.; \
363
+ else \
364
+ include_option=--include; \
365
+ empty_fix=; \
366
+ fi; \
367
+ list='$(SUBDIRS)'; for subdir in $$list; do \
368
+ if test "$$subdir" = .; then :; else \
369
+ test ! -f $$subdir/TAGS || \
370
+ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
371
+ fi; \
372
+ done; \
373
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
374
+ unique=`for i in $$list; do \
375
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
376
+ done | \
377
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
378
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
379
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
380
+ test -n "$$unique" || unique=$$empty_fix; \
381
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
382
+ $$tags $$unique; \
383
+ fi
384
+ ctags: CTAGS
385
+ CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
386
+ $(TAGS_FILES) $(LISP)
387
+ tags=; \
388
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
389
+ unique=`for i in $$list; do \
390
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
391
+ done | \
392
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
393
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
394
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
395
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
396
+ $$tags $$unique
397
+
398
+ GTAGS:
399
+ here=`$(am__cd) $(top_builddir) && pwd` \
400
+ && cd $(top_srcdir) \
401
+ && gtags -i $(GTAGS_ARGS) $$here
402
+
403
+ distclean-tags:
404
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
405
+
406
+ distdir: $(DISTFILES)
407
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
408
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
409
+ list='$(DISTFILES)'; \
410
+ dist_files=`for file in $$list; do echo $$file; done | \
411
+ sed -e "s|^$$srcdirstrip/||;t" \
412
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
413
+ case $$dist_files in \
414
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
415
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
416
+ sort -u` ;; \
417
+ esac; \
418
+ for file in $$dist_files; do \
419
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
420
+ if test -d $$d/$$file; then \
421
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
422
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
423
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
424
+ fi; \
425
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
426
+ else \
427
+ test -f $(distdir)/$$file \
428
+ || cp -p $$d/$$file $(distdir)/$$file \
429
+ || exit 1; \
430
+ fi; \
431
+ done
432
+ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
433
+ if test "$$subdir" = .; then :; else \
434
+ test -d "$(distdir)/$$subdir" \
435
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
436
+ || exit 1; \
437
+ distdir=`$(am__cd) $(distdir) && pwd`; \
438
+ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
439
+ (cd $$subdir && \
440
+ $(MAKE) $(AM_MAKEFLAGS) \
441
+ top_distdir="$$top_distdir" \
442
+ distdir="$$distdir/$$subdir" \
443
+ am__remove_distdir=: \
444
+ am__skip_length_check=: \
445
+ distdir) \
446
+ || exit 1; \
447
+ fi; \
448
+ done
449
+ check-am: all-am
450
+ check: check-recursive
451
+ all-am: Makefile $(DATA)
452
+ installdirs: installdirs-recursive
453
+ installdirs-am:
454
+ for dir in "$(DESTDIR)$(dictdir)"; do \
455
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
456
+ done
457
+ install: install-recursive
458
+ install-exec: install-exec-recursive
459
+ install-data: install-data-recursive
460
+ uninstall: uninstall-recursive
461
+
462
+ install-am: all-am
463
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
464
+
465
+ installcheck: installcheck-recursive
466
+ install-strip:
467
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
468
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
469
+ `test -z '$(STRIP)' || \
470
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
471
+ mostlyclean-generic:
472
+
473
+ clean-generic:
474
+
475
+ distclean-generic:
476
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
477
+
478
+ maintainer-clean-generic:
479
+ @echo "This command is intended for maintainers to use"
480
+ @echo "it deletes files that may require special tools to rebuild."
481
+ clean: clean-recursive
482
+
483
+ clean-am: clean-generic clean-libtool mostlyclean-am
484
+
485
+ distclean: distclean-recursive
486
+ -rm -f Makefile
487
+ distclean-am: clean-am distclean-generic distclean-tags
488
+
489
+ dvi: dvi-recursive
490
+
491
+ dvi-am:
492
+
493
+ html: html-recursive
494
+
495
+ info: info-recursive
496
+
497
+ info-am:
498
+
499
+ install-data-am: install-dictDATA
500
+
501
+ install-dvi: install-dvi-recursive
502
+
503
+ install-exec-am:
504
+
505
+ install-html: install-html-recursive
506
+
507
+ install-info: install-info-recursive
508
+
509
+ install-man:
510
+
511
+ install-pdf: install-pdf-recursive
512
+
513
+ install-ps: install-ps-recursive
514
+
515
+ installcheck-am:
516
+
517
+ maintainer-clean: maintainer-clean-recursive
518
+ -rm -f Makefile
519
+ maintainer-clean-am: distclean-am maintainer-clean-generic
520
+
521
+ mostlyclean: mostlyclean-recursive
522
+
523
+ mostlyclean-am: mostlyclean-generic mostlyclean-libtool
524
+
525
+ pdf: pdf-recursive
526
+
527
+ pdf-am:
528
+
529
+ ps: ps-recursive
530
+
531
+ ps-am:
532
+
533
+ uninstall-am: uninstall-dictDATA
534
+
535
+ .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
536
+ install-strip
537
+
538
+ .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
539
+ all all-am check check-am clean clean-generic clean-libtool \
540
+ ctags ctags-recursive distclean distclean-generic \
541
+ distclean-libtool distclean-tags distdir dvi dvi-am html \
542
+ html-am info info-am install install-am install-data \
543
+ install-data-am install-dictDATA install-dvi install-dvi-am \
544
+ install-exec install-exec-am install-html install-html-am \
545
+ install-info install-info-am install-man install-pdf \
546
+ install-pdf-am install-ps install-ps-am install-strip \
547
+ installcheck installcheck-am installdirs installdirs-am \
548
+ maintainer-clean maintainer-clean-generic mostlyclean \
549
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
550
+ tags tags-recursive uninstall uninstall-am uninstall-dictDATA
551
+
552
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
553
+ # Otherwise a system limit (for SysV at least) may be exceeded.
554
+ .NOEXPORT: