abstractor 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (346) hide show
  1. checksums.yaml +15 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +14 -0
  4. data/Rakefile +33 -0
  5. data/app/assets/images/abstractor/add.png +0 -0
  6. data/app/assets/images/abstractor/ajax-loader.gif +0 -0
  7. data/app/assets/images/abstractor/bar.gif +0 -0
  8. data/app/assets/images/abstractor/bti_logo.jpg +0 -0
  9. data/app/assets/images/abstractor/bullet_arrow_down.png +0 -0
  10. data/app/assets/images/abstractor/bullet_arrow_up.png +0 -0
  11. data/app/assets/images/abstractor/cog.png +0 -0
  12. data/app/assets/images/abstractor/delete.png +0 -0
  13. data/app/assets/images/abstractor/edit.png +0 -0
  14. data/app/assets/images/abstractor/excel.png +0 -0
  15. data/app/assets/images/abstractor/favicon.ico +0 -0
  16. data/app/assets/images/abstractor/greencheck.gif +0 -0
  17. data/app/assets/images/abstractor/loading.gif +0 -0
  18. data/app/assets/images/abstractor/nu_logo.jpg +0 -0
  19. data/app/assets/images/abstractor/nubic_logo.png +0 -0
  20. data/app/assets/images/abstractor/page.png +0 -0
  21. data/app/assets/images/abstractor/rails.png +0 -0
  22. data/app/assets/images/abstractor/robert_h_lurie.jpg +0 -0
  23. data/app/assets/images/abstractor/show.png +0 -0
  24. data/app/assets/images/abstractor/switch_minus.gif +0 -0
  25. data/app/assets/images/abstractor/switch_plus.gif +0 -0
  26. data/app/assets/javascripts/abstractor/abstractor.js +89 -0
  27. data/app/assets/javascripts/abstractor/application.js +21 -0
  28. data/app/assets/javascripts/abstractor/combobox.js +301 -0
  29. data/app/assets/javascripts/abstractor/jquery/jquery.form.js +1074 -0
  30. data/app/assets/javascripts/abstractor/nested_attributes.js +69 -0
  31. data/app/assets/stylesheets/abstractor/abstractor_abstractions.css +312 -0
  32. data/app/assets/stylesheets/abstractor/application.css +21 -0
  33. data/app/assets/stylesheets/abstractor/jquery.ui.override.css.scss +73 -0
  34. data/app/controllers/abstractor/abstractor_abstraction_groups_controller.rb +5 -0
  35. data/app/controllers/abstractor/abstractor_abstractions_controller.rb +5 -0
  36. data/app/controllers/abstractor/abstractor_suggestions_controller.rb +5 -0
  37. data/app/controllers/abstractor/application_controller.rb +2 -0
  38. data/app/helpers/abstractor/application_helper.rb +4 -0
  39. data/app/models/abstractor/abstractor_abstraction.rb +6 -0
  40. data/app/models/abstractor/abstractor_abstraction_group.rb +6 -0
  41. data/app/models/abstractor/abstractor_abstraction_group_member.rb +6 -0
  42. data/app/models/abstractor/abstractor_abstraction_schema.rb +6 -0
  43. data/app/models/abstractor/abstractor_abstraction_schema_object_value.rb +6 -0
  44. data/app/models/abstractor/abstractor_abstraction_schema_predicate_variant.rb +6 -0
  45. data/app/models/abstractor/abstractor_abstraction_schema_relation.rb +6 -0
  46. data/app/models/abstractor/abstractor_abstraction_source.rb +6 -0
  47. data/app/models/abstractor/abstractor_object_type.rb +6 -0
  48. data/app/models/abstractor/abstractor_object_value.rb +6 -0
  49. data/app/models/abstractor/abstractor_object_value_variant.rb +6 -0
  50. data/app/models/abstractor/abstractor_relation_type.rb +6 -0
  51. data/app/models/abstractor/abstractor_rule_type.rb +6 -0
  52. data/app/models/abstractor/abstractor_subject.rb +6 -0
  53. data/app/models/abstractor/abstractor_subject_group.rb +6 -0
  54. data/app/models/abstractor/abstractor_subject_group_member.rb +6 -0
  55. data/app/models/abstractor/abstractor_subject_relation.rb +6 -0
  56. data/app/models/abstractor/abstractor_suggestion.rb +6 -0
  57. data/app/models/abstractor/abstractor_suggestion_object_value.rb +6 -0
  58. data/app/models/abstractor/abstractor_suggestion_source.rb +6 -0
  59. data/app/models/abstractor/abstractor_suggestion_status.rb +6 -0
  60. data/app/views/abstractor/abstractor_abstraction_groups/_form.html.haml +10 -0
  61. data/app/views/abstractor/abstractor_abstraction_groups/edit.html.haml +1 -0
  62. data/app/views/abstractor/abstractor_abstractions/_fields.html.haml +63 -0
  63. data/app/views/abstractor/abstractor_abstractions/_list.html.haml +45 -0
  64. data/app/views/abstractor/abstractor_abstractions/edit.html.haml +53 -0
  65. data/app/views/abstractor/abstractor_abstractions/show.html.haml +1 -0
  66. data/app/views/abstractor/shared/_error_messages.html.haml +5 -0
  67. data/config/cucumber.yml +8 -0
  68. data/config/routes.rb +7 -0
  69. data/db/migrate/20131227205140_create_abstractor_object_types.rb +10 -0
  70. data/db/migrate/20131227205219_create_abstractor_object_values.rb +10 -0
  71. data/db/migrate/20131227205256_create_abstractor_object_value_variants.rb +11 -0
  72. data/db/migrate/20131227205320_create_abstractor_relation_types.rb +10 -0
  73. data/db/migrate/20131227205354_create_abstractor_rule_types.rb +11 -0
  74. data/db/migrate/20131227205432_create_abstractor_abstraction_schemas.rb +13 -0
  75. data/db/migrate/20131227205456_create_abstractor_abstraction_schema_object_values.rb +10 -0
  76. data/db/migrate/20131227205529_create_abstractor_abstraction_schema_predicate_variants.rb +11 -0
  77. data/db/migrate/20131227205610_create_abstractor_abstraction_schema_relations.rb +11 -0
  78. data/db/migrate/20131227205652_create_abstractor_subjects.rb +12 -0
  79. data/db/migrate/20131227205732_create_abstractor_subject_relations.rb +11 -0
  80. data/db/migrate/20131227205831_create_abstractor_abstraction_sources.rb +11 -0
  81. data/db/migrate/20131227210211_create_abstractor_subject_groups.rb +10 -0
  82. data/db/migrate/20131227210244_create_abstractor_subject_group_members.rb +11 -0
  83. data/db/migrate/20131227210350_create_abstractor_abstraction_groups.rb +12 -0
  84. data/db/migrate/20131227210353_create_abstractor_abstraction_group_members.rb +11 -0
  85. data/db/migrate/20131227211050_create_abstractor_suggestion_statuses.rb +10 -0
  86. data/db/migrate/20131227211303_create_abstractor_abstractions.rb +15 -0
  87. data/db/migrate/20131227213427_create_abstractor_suggestions.rb +14 -0
  88. data/db/migrate/20131228041944_create_abstractor_suggestion_object_values.rb +11 -0
  89. data/db/migrate/20131228041945_create_abstractor_suggestion_sources.rb +16 -0
  90. data/db/seeds.rb +0 -0
  91. data/lib/abstractor.rb +8 -0
  92. data/lib/abstractor/abstractable.rb +190 -0
  93. data/lib/abstractor/core_ext/string.rb +99 -0
  94. data/lib/abstractor/engine.rb +14 -0
  95. data/lib/abstractor/methods/controllers/abstractor_abstraction_groups_controller.rb +37 -0
  96. data/lib/abstractor/methods/controllers/abstractor_abstractions_controller.rb +42 -0
  97. data/lib/abstractor/methods/controllers/abstractor_suggestions_controller.rb +28 -0
  98. data/lib/abstractor/methods/models/abstractor_abstraction.rb +65 -0
  99. data/lib/abstractor/methods/models/abstractor_abstraction_group.rb +37 -0
  100. data/lib/abstractor/methods/models/abstractor_abstraction_group_member.rb +17 -0
  101. data/lib/abstractor/methods/models/abstractor_abstraction_schema.rb +27 -0
  102. data/lib/abstractor/methods/models/abstractor_abstraction_schema_object_value.rb +17 -0
  103. data/lib/abstractor/methods/models/abstractor_abstraction_schema_predicate_variant.rb +16 -0
  104. data/lib/abstractor/methods/models/abstractor_abstraction_schema_relation.rb +18 -0
  105. data/lib/abstractor/methods/models/abstractor_abstraction_source.rb +29 -0
  106. data/lib/abstractor/methods/models/abstractor_object_type.rb +16 -0
  107. data/lib/abstractor/methods/models/abstractor_object_value.rb +24 -0
  108. data/lib/abstractor/methods/models/abstractor_object_value_variant.rb +16 -0
  109. data/lib/abstractor/methods/models/abstractor_relation_type.rb +16 -0
  110. data/lib/abstractor/methods/models/abstractor_rule_type.rb +17 -0
  111. data/lib/abstractor/methods/models/abstractor_subject.rb +258 -0
  112. data/lib/abstractor/methods/models/abstractor_subject_group.rb +19 -0
  113. data/lib/abstractor/methods/models/abstractor_subject_group_member.rb +17 -0
  114. data/lib/abstractor/methods/models/abstractor_subject_relation.rb +18 -0
  115. data/lib/abstractor/methods/models/abstractor_suggestion.rb +88 -0
  116. data/lib/abstractor/methods/models/abstractor_suggestion_object_value.rb +17 -0
  117. data/lib/abstractor/methods/models/abstractor_suggestion_source.rb +17 -0
  118. data/lib/abstractor/methods/models/abstractor_suggestion_status.rb +29 -0
  119. data/lib/abstractor/methods/models/soft_delete.rb +35 -0
  120. data/lib/abstractor/negation_detection.rb +43 -0
  121. data/lib/abstractor/parser.rb +76 -0
  122. data/lib/abstractor/setup.rb +24 -0
  123. data/lib/abstractor/user_interface.rb +40 -0
  124. data/lib/abstractor/utility.rb +8 -0
  125. data/lib/abstractor/version.rb +3 -0
  126. data/lib/generators/abstractor/install/install_generator.rb +118 -0
  127. data/lib/generators/abstractor/install/templates/controllers/abstractor_abstraction_groups_controller.rb +16 -0
  128. data/lib/generators/abstractor/install/templates/controllers/abstractor_abstractions_controller.rb +24 -0
  129. data/lib/generators/abstractor/install/templates/controllers/abstractor_suggestions_controller.rb +12 -0
  130. data/lib/generators/abstractor/install/templates/dictionaries.yml +235 -0
  131. data/lib/generators/abstractor/install/templates/helpers/abstractions_helper.rb +9 -0
  132. data/lib/generators/abstractor/install/templates/models/abstractor_abstraction.rb +9 -0
  133. data/lib/generators/abstractor/install/templates/models/abstractor_abstraction_group.rb +9 -0
  134. data/lib/generators/abstractor/install/templates/models/abstractor_abstraction_group_member.rb +9 -0
  135. data/lib/generators/abstractor/install/templates/models/abstractor_abstraction_schema.rb +9 -0
  136. data/lib/generators/abstractor/install/templates/models/abstractor_abstraction_schema_object_value.rb +9 -0
  137. data/lib/generators/abstractor/install/templates/models/abstractor_abstraction_schema_predicate_variant.rb +9 -0
  138. data/lib/generators/abstractor/install/templates/models/abstractor_abstraction_schema_relation.rb +9 -0
  139. data/lib/generators/abstractor/install/templates/models/abstractor_abstraction_source.rb +9 -0
  140. data/lib/generators/abstractor/install/templates/models/abstractor_object_type.rb +9 -0
  141. data/lib/generators/abstractor/install/templates/models/abstractor_object_value.rb +9 -0
  142. data/lib/generators/abstractor/install/templates/models/abstractor_object_value_variant.rb +9 -0
  143. data/lib/generators/abstractor/install/templates/models/abstractor_relation_type.rb +9 -0
  144. data/lib/generators/abstractor/install/templates/models/abstractor_rule_type.rb +9 -0
  145. data/lib/generators/abstractor/install/templates/models/abstractor_subject.rb +9 -0
  146. data/lib/generators/abstractor/install/templates/models/abstractor_subject_group.rb +9 -0
  147. data/lib/generators/abstractor/install/templates/models/abstractor_subject_group_member.rb +9 -0
  148. data/lib/generators/abstractor/install/templates/models/abstractor_subject_relation.rb +9 -0
  149. data/lib/generators/abstractor/install/templates/models/abstractor_suggestion.rb +9 -0
  150. data/lib/generators/abstractor/install/templates/models/abstractor_suggestion_object_value.rb +9 -0
  151. data/lib/generators/abstractor/install/templates/models/abstractor_suggestion_source.rb +9 -0
  152. data/lib/generators/abstractor/install/templates/models/abstractor_suggestion_status.rb +9 -0
  153. data/lib/lingscope/build.xml +74 -0
  154. data/lib/lingscope/build/built-jar.properties +4 -0
  155. data/lib/lingscope/build/classes/lingscope/algorithms/AbnerTokenizer.class +0 -0
  156. data/lib/lingscope/build/classes/lingscope/algorithms/AnnotationComparer.class +0 -0
  157. data/lib/lingscope/build/classes/lingscope/algorithms/Annotator.class +0 -0
  158. data/lib/lingscope/build/classes/lingscope/algorithms/BaselineAnnotator.class +0 -0
  159. data/lib/lingscope/build/classes/lingscope/algorithms/BaselineCueAnnotator.class +0 -0
  160. data/lib/lingscope/build/classes/lingscope/algorithms/BaselineScopeAnnotator.class +0 -0
  161. data/lib/lingscope/build/classes/lingscope/algorithms/CrfAnnotator.class +0 -0
  162. data/lib/lingscope/build/classes/lingscope/algorithms/NegexAnnotator.class +0 -0
  163. data/lib/lingscope/build/classes/lingscope/algorithms/NegexCueAnnotator.class +0 -0
  164. data/lib/lingscope/build/classes/lingscope/algorithms/NegexScopeAnnotator.class +0 -0
  165. data/lib/lingscope/build/classes/lingscope/algorithms/PosTagger.class +0 -0
  166. data/lib/lingscope/build/classes/lingscope/algorithms/negex/GenNegEx.class +0 -0
  167. data/lib/lingscope/build/classes/lingscope/algorithms/negex/Sorter.class +0 -0
  168. data/lib/lingscope/build/classes/lingscope/drivers/AnnotatedFilesMerger.class +0 -0
  169. data/lib/lingscope/build/classes/lingscope/drivers/AnnotationComparerDriver.class +0 -0
  170. data/lib/lingscope/build/classes/lingscope/drivers/BaselineDriver.class +0 -0
  171. data/lib/lingscope/build/classes/lingscope/drivers/CrfDriver.class +0 -0
  172. data/lib/lingscope/build/classes/lingscope/drivers/CueAndPosFilesMerger.class +0 -0
  173. data/lib/lingscope/build/classes/lingscope/drivers/ModelTrainer.class +0 -0
  174. data/lib/lingscope/build/classes/lingscope/drivers/NegexDriver.class +0 -0
  175. data/lib/lingscope/build/classes/lingscope/drivers/PosTaggerDriver.class +0 -0
  176. data/lib/lingscope/build/classes/lingscope/drivers/SentencePosTagger.class +0 -0
  177. data/lib/lingscope/build/classes/lingscope/drivers/SentenceTagger.class +0 -0
  178. data/lib/lingscope/build/classes/lingscope/io/AnnotatedSentencesIO.class +0 -0
  179. data/lib/lingscope/build/classes/lingscope/structures/AnnotatedSentence.class +0 -0
  180. data/lib/lingscope/dist/README.TXT +32 -0
  181. data/lib/lingscope/dist/javadoc/allclasses-frame.html +80 -0
  182. data/lib/lingscope/dist/javadoc/allclasses-noframe.html +80 -0
  183. data/lib/lingscope/dist/javadoc/constant-values.html +199 -0
  184. data/lib/lingscope/dist/javadoc/deprecated-list.html +147 -0
  185. data/lib/lingscope/dist/javadoc/help-doc.html +224 -0
  186. data/lib/lingscope/dist/javadoc/index-files/index-1.html +188 -0
  187. data/lib/lingscope/dist/javadoc/index-files/index-10.html +149 -0
  188. data/lib/lingscope/dist/javadoc/index-files/index-11.html +158 -0
  189. data/lib/lingscope/dist/javadoc/index-files/index-12.html +157 -0
  190. data/lib/lingscope/dist/javadoc/index-files/index-13.html +177 -0
  191. data/lib/lingscope/dist/javadoc/index-files/index-14.html +155 -0
  192. data/lib/lingscope/dist/javadoc/index-files/index-15.html +152 -0
  193. data/lib/lingscope/dist/javadoc/index-files/index-16.html +146 -0
  194. data/lib/lingscope/dist/javadoc/index-files/index-2.html +158 -0
  195. data/lib/lingscope/dist/javadoc/index-files/index-3.html +165 -0
  196. data/lib/lingscope/dist/javadoc/index-files/index-4.html +146 -0
  197. data/lib/lingscope/dist/javadoc/index-files/index-5.html +219 -0
  198. data/lib/lingscope/dist/javadoc/index-files/index-6.html +149 -0
  199. data/lib/lingscope/dist/javadoc/index-files/index-7.html +155 -0
  200. data/lib/lingscope/dist/javadoc/index-files/index-8.html +185 -0
  201. data/lib/lingscope/dist/javadoc/index-files/index-9.html +164 -0
  202. data/lib/lingscope/dist/javadoc/index.html +74 -0
  203. data/lib/lingscope/dist/javadoc/lingscope/algorithms/AbnerTokenizer.html +280 -0
  204. data/lib/lingscope/dist/javadoc/lingscope/algorithms/AnnotationComparer.html +526 -0
  205. data/lib/lingscope/dist/javadoc/lingscope/algorithms/Annotator.html +401 -0
  206. data/lib/lingscope/dist/javadoc/lingscope/algorithms/BaselineAnnotator.html +375 -0
  207. data/lib/lingscope/dist/javadoc/lingscope/algorithms/BaselineCueAnnotator.html +309 -0
  208. data/lib/lingscope/dist/javadoc/lingscope/algorithms/BaselineScopeAnnotator.html +340 -0
  209. data/lib/lingscope/dist/javadoc/lingscope/algorithms/CrfAnnotator.html +340 -0
  210. data/lib/lingscope/dist/javadoc/lingscope/algorithms/NegexAnnotator.html +364 -0
  211. data/lib/lingscope/dist/javadoc/lingscope/algorithms/NegexCueAnnotator.html +309 -0
  212. data/lib/lingscope/dist/javadoc/lingscope/algorithms/NegexScopeAnnotator.html +309 -0
  213. data/lib/lingscope/dist/javadoc/lingscope/algorithms/PosTagger.html +268 -0
  214. data/lib/lingscope/dist/javadoc/lingscope/algorithms/class-use/AbnerTokenizer.html +145 -0
  215. data/lib/lingscope/dist/javadoc/lingscope/algorithms/class-use/AnnotationComparer.html +145 -0
  216. data/lib/lingscope/dist/javadoc/lingscope/algorithms/class-use/Annotator.html +299 -0
  217. data/lib/lingscope/dist/javadoc/lingscope/algorithms/class-use/BaselineAnnotator.html +189 -0
  218. data/lib/lingscope/dist/javadoc/lingscope/algorithms/class-use/BaselineCueAnnotator.html +145 -0
  219. data/lib/lingscope/dist/javadoc/lingscope/algorithms/class-use/BaselineScopeAnnotator.html +145 -0
  220. data/lib/lingscope/dist/javadoc/lingscope/algorithms/class-use/CrfAnnotator.html +145 -0
  221. data/lib/lingscope/dist/javadoc/lingscope/algorithms/class-use/NegexAnnotator.html +189 -0
  222. data/lib/lingscope/dist/javadoc/lingscope/algorithms/class-use/NegexCueAnnotator.html +145 -0
  223. data/lib/lingscope/dist/javadoc/lingscope/algorithms/class-use/NegexScopeAnnotator.html +145 -0
  224. data/lib/lingscope/dist/javadoc/lingscope/algorithms/class-use/PosTagger.html +145 -0
  225. data/lib/lingscope/dist/javadoc/lingscope/algorithms/negex/GenNegEx.html +369 -0
  226. data/lib/lingscope/dist/javadoc/lingscope/algorithms/negex/Sorter.html +253 -0
  227. data/lib/lingscope/dist/javadoc/lingscope/algorithms/negex/class-use/GenNegEx.html +181 -0
  228. data/lib/lingscope/dist/javadoc/lingscope/algorithms/negex/class-use/Sorter.html +145 -0
  229. data/lib/lingscope/dist/javadoc/lingscope/algorithms/negex/package-frame.html +35 -0
  230. data/lib/lingscope/dist/javadoc/lingscope/algorithms/negex/package-summary.html +165 -0
  231. data/lib/lingscope/dist/javadoc/lingscope/algorithms/negex/package-tree.html +154 -0
  232. data/lib/lingscope/dist/javadoc/lingscope/algorithms/negex/package-use.html +174 -0
  233. data/lib/lingscope/dist/javadoc/lingscope/algorithms/package-frame.html +53 -0
  234. data/lib/lingscope/dist/javadoc/lingscope/algorithms/package-summary.html +198 -0
  235. data/lib/lingscope/dist/javadoc/lingscope/algorithms/package-tree.html +160 -0
  236. data/lib/lingscope/dist/javadoc/lingscope/algorithms/package-use.html +202 -0
  237. data/lib/lingscope/dist/javadoc/lingscope/drivers/AnnotatedFilesMerger.html +284 -0
  238. data/lib/lingscope/dist/javadoc/lingscope/drivers/AnnotationComparerDriver.html +258 -0
  239. data/lib/lingscope/dist/javadoc/lingscope/drivers/BaselineDriver.html +260 -0
  240. data/lib/lingscope/dist/javadoc/lingscope/drivers/CrfDriver.html +262 -0
  241. data/lib/lingscope/dist/javadoc/lingscope/drivers/CueAndPosFilesMerger.html +310 -0
  242. data/lib/lingscope/dist/javadoc/lingscope/drivers/ModelTrainer.html +281 -0
  243. data/lib/lingscope/dist/javadoc/lingscope/drivers/NegexDriver.html +262 -0
  244. data/lib/lingscope/dist/javadoc/lingscope/drivers/PosTaggerDriver.html +289 -0
  245. data/lib/lingscope/dist/javadoc/lingscope/drivers/SentencePosTagger.html +313 -0
  246. data/lib/lingscope/dist/javadoc/lingscope/drivers/SentenceTagger.html +512 -0
  247. data/lib/lingscope/dist/javadoc/lingscope/drivers/class-use/AnnotatedFilesMerger.html +145 -0
  248. data/lib/lingscope/dist/javadoc/lingscope/drivers/class-use/AnnotationComparerDriver.html +145 -0
  249. data/lib/lingscope/dist/javadoc/lingscope/drivers/class-use/BaselineDriver.html +145 -0
  250. data/lib/lingscope/dist/javadoc/lingscope/drivers/class-use/CrfDriver.html +145 -0
  251. data/lib/lingscope/dist/javadoc/lingscope/drivers/class-use/CueAndPosFilesMerger.html +145 -0
  252. data/lib/lingscope/dist/javadoc/lingscope/drivers/class-use/ModelTrainer.html +145 -0
  253. data/lib/lingscope/dist/javadoc/lingscope/drivers/class-use/NegexDriver.html +145 -0
  254. data/lib/lingscope/dist/javadoc/lingscope/drivers/class-use/PosTaggerDriver.html +145 -0
  255. data/lib/lingscope/dist/javadoc/lingscope/drivers/class-use/SentencePosTagger.html +145 -0
  256. data/lib/lingscope/dist/javadoc/lingscope/drivers/class-use/SentenceTagger.html +145 -0
  257. data/lib/lingscope/dist/javadoc/lingscope/drivers/package-frame.html +51 -0
  258. data/lib/lingscope/dist/javadoc/lingscope/drivers/package-summary.html +195 -0
  259. data/lib/lingscope/dist/javadoc/lingscope/drivers/package-tree.html +154 -0
  260. data/lib/lingscope/dist/javadoc/lingscope/drivers/package-use.html +145 -0
  261. data/lib/lingscope/dist/javadoc/lingscope/io/AnnotatedSentencesIO.html +285 -0
  262. data/lib/lingscope/dist/javadoc/lingscope/io/class-use/AnnotatedSentencesIO.html +145 -0
  263. data/lib/lingscope/dist/javadoc/lingscope/io/package-frame.html +33 -0
  264. data/lib/lingscope/dist/javadoc/lingscope/io/package-summary.html +158 -0
  265. data/lib/lingscope/dist/javadoc/lingscope/io/package-tree.html +154 -0
  266. data/lib/lingscope/dist/javadoc/lingscope/io/package-use.html +145 -0
  267. data/lib/lingscope/dist/javadoc/lingscope/structures/AnnotatedSentence.html +425 -0
  268. data/lib/lingscope/dist/javadoc/lingscope/structures/class-use/AnnotatedSentence.html +423 -0
  269. data/lib/lingscope/dist/javadoc/lingscope/structures/package-frame.html +33 -0
  270. data/lib/lingscope/dist/javadoc/lingscope/structures/package-summary.html +158 -0
  271. data/lib/lingscope/dist/javadoc/lingscope/structures/package-tree.html +154 -0
  272. data/lib/lingscope/dist/javadoc/lingscope/structures/package-use.html +209 -0
  273. data/lib/lingscope/dist/javadoc/overview-frame.html +51 -0
  274. data/lib/lingscope/dist/javadoc/overview-summary.html +168 -0
  275. data/lib/lingscope/dist/javadoc/overview-tree.html +159 -0
  276. data/lib/lingscope/dist/javadoc/package-list +5 -0
  277. data/lib/lingscope/dist/javadoc/resources/inherit.gif +0 -0
  278. data/lib/lingscope/dist/javadoc/stylesheet.css +29 -0
  279. data/lib/lingscope/dist/lib/abner.jar +0 -0
  280. data/lib/lingscope/dist/lib/commons-lang-2.4.jar +0 -0
  281. data/lib/lingscope/dist/lib/java_utils.jar +0 -0
  282. data/lib/lingscope/dist/lib/sptoolkit.jar +0 -0
  283. data/lib/lingscope/dist/lib/stanford-postagger.jar +0 -0
  284. data/lib/lingscope/dist/lingscope.jar +0 -0
  285. data/lib/lingscope/lingscope.zip +0 -0
  286. data/lib/lingscope/manifest.mf +3 -0
  287. data/lib/lingscope/nbproject/build-impl.xml +1338 -0
  288. data/lib/lingscope/nbproject/genfiles.properties +8 -0
  289. data/lib/lingscope/nbproject/private/config.properties +0 -0
  290. data/lib/lingscope/nbproject/private/private.properties +10 -0
  291. data/lib/lingscope/nbproject/private/private.xml +5 -0
  292. data/lib/lingscope/nbproject/project.properties +85 -0
  293. data/lib/lingscope/nbproject/project.xml +15 -0
  294. data/lib/lingscope/negation_models.zip +0 -0
  295. data/lib/lingscope/negation_models/baseline_cue_all_both.model +49 -0
  296. data/lib/lingscope/negation_models/baseline_cue_all_clinical.model +19 -0
  297. data/lib/lingscope/negation_models/crf_cue_all_both.model +0 -0
  298. data/lib/lingscope/negation_models/crf_cue_all_clinical.model +0 -0
  299. data/lib/lingscope/negation_models/crf_scope_cue_crf_all_both.model +0 -0
  300. data/lib/lingscope/negation_models/crf_scope_cue_crf_all_clinical.model +0 -0
  301. data/lib/lingscope/negation_models/crf_scope_cue_regex_all_both.model +0 -0
  302. data/lib/lingscope/negation_models/crf_scope_cue_regex_all_clinical.model +0 -0
  303. data/lib/lingscope/negation_models/crf_scope_words_all_both.model +0 -0
  304. data/lib/lingscope/negation_models/crf_scope_words_all_clinical.model +0 -0
  305. data/lib/lingscope/negation_models/crf_scope_words_crf_all_both.model +0 -0
  306. data/lib/lingscope/negation_models/crf_scope_words_crf_all_clinical.model +0 -0
  307. data/lib/lingscope/negation_models/crf_scope_words_regex_all_both.model +0 -0
  308. data/lib/lingscope/negation_models/crf_scope_words_regex_all_clinical.model +0 -0
  309. data/lib/lingscope/src/lingscope/algorithms/AbnerTokenizer.java +58 -0
  310. data/lib/lingscope/src/lingscope/algorithms/AnnotationComparer.java +207 -0
  311. data/lib/lingscope/src/lingscope/algorithms/Annotator.java +51 -0
  312. data/lib/lingscope/src/lingscope/algorithms/BaselineAnnotator.java +80 -0
  313. data/lib/lingscope/src/lingscope/algorithms/BaselineCueAnnotator.java +84 -0
  314. data/lib/lingscope/src/lingscope/algorithms/BaselineScopeAnnotator.java +101 -0
  315. data/lib/lingscope/src/lingscope/algorithms/CrfAnnotator.java +45 -0
  316. data/lib/lingscope/src/lingscope/algorithms/NegexAnnotator.java +52 -0
  317. data/lib/lingscope/src/lingscope/algorithms/NegexCueAnnotator.java +26 -0
  318. data/lib/lingscope/src/lingscope/algorithms/NegexScopeAnnotator.java +26 -0
  319. data/lib/lingscope/src/lingscope/algorithms/PosTagger.java +54 -0
  320. data/lib/lingscope/src/lingscope/algorithms/negex/GenNegEx.java +530 -0
  321. data/lib/lingscope/src/lingscope/algorithms/negex/Sorter.java +36 -0
  322. data/lib/lingscope/src/lingscope/drivers/AnnotatedFilesMerger.java +61 -0
  323. data/lib/lingscope/src/lingscope/drivers/AnnotationComparerDriver.java +22 -0
  324. data/lib/lingscope/src/lingscope/drivers/BaselineDriver.java +45 -0
  325. data/lib/lingscope/src/lingscope/drivers/CrfDriver.java +31 -0
  326. data/lib/lingscope/src/lingscope/drivers/CueAndPosFilesMerger.java +86 -0
  327. data/lib/lingscope/src/lingscope/drivers/ModelTrainer.java +39 -0
  328. data/lib/lingscope/src/lingscope/drivers/NegexDriver.java +32 -0
  329. data/lib/lingscope/src/lingscope/drivers/PosTaggerDriver.java +62 -0
  330. data/lib/lingscope/src/lingscope/drivers/SentencePosTagger.java +89 -0
  331. data/lib/lingscope/src/lingscope/drivers/SentenceTagger.java +158 -0
  332. data/lib/lingscope/src/lingscope/io/AnnotatedSentencesIO.java +53 -0
  333. data/lib/lingscope/src/lingscope/structures/AnnotatedSentence.java +105 -0
  334. data/lib/setup/data/ICD-O-3_CSV-metadata/Morphenglish.csv +1 -0
  335. data/lib/setup/data/ICD-O-3_CSV-metadata/Morphenglish.txt +2273 -0
  336. data/lib/setup/data/ICD-O-3_CSV-metadata/Topoenglish.csv +1 -0
  337. data/lib/setup/data/ICD-O-3_CSV-metadata/Topoenglish.txt +1342 -0
  338. data/lib/setup/data/ICD-O-3_CSV-metadata/icd-o3 readme.txt +21 -0
  339. data/lib/setup/data/custom_site_synonyms.csv +1 -0
  340. data/lib/setup/data/diagnosis_categorizations.csv +1 -0
  341. data/lib/setup/data/high_level_primary_cns_diagnosis_categorizations.yml +597 -0
  342. data/lib/setup/data/icdo3_sites_with_laterality.txt +11 -0
  343. data/lib/setup/data/site_site_categories.txt +28 -0
  344. data/lib/tasks/abstractor_tasks.rake +22 -0
  345. data/lib/tasks/cucumber.rake +65 -0
  346. metadata +754 -0
@@ -0,0 +1,401 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+ <!--NewPage-->
3
+ <HTML>
4
+ <HEAD>
5
+ <!-- Generated by javadoc (build 1.6.0_65) on Tue Feb 18 19:45:41 CST 2014 -->
6
+ <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+ <TITLE>
8
+ Annotator
9
+ </TITLE>
10
+
11
+ <META NAME="date" CONTENT="2014-02-18">
12
+
13
+ <LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
14
+
15
+ <SCRIPT type="text/javascript">
16
+ function windowTitle()
17
+ {
18
+ if (location.href.indexOf('is-external=true') == -1) {
19
+ parent.document.title="Annotator";
20
+ }
21
+ }
22
+ </SCRIPT>
23
+ <NOSCRIPT>
24
+ </NOSCRIPT>
25
+
26
+ </HEAD>
27
+
28
+ <BODY BGCOLOR="white" onload="windowTitle();">
29
+ <HR>
30
+
31
+
32
+ <!-- ========= START OF TOP NAVBAR ======= -->
33
+ <A NAME="navbar_top"><!-- --></A>
34
+ <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
35
+ <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
36
+ <TR>
37
+ <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
38
+ <A NAME="navbar_top_firstrow"><!-- --></A>
39
+ <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
40
+ <TR ALIGN="center" VALIGN="top">
41
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
42
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
43
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
44
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Annotator.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
45
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
46
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
47
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
48
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
49
+ </TR>
50
+ </TABLE>
51
+ </TD>
52
+ <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
53
+ </EM>
54
+ </TD>
55
+ </TR>
56
+
57
+ <TR>
58
+ <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59
+ &nbsp;<A HREF="../../lingscope/algorithms/AnnotationComparer.html" title="class in lingscope.algorithms"><B>PREV CLASS</B></A>&nbsp;
60
+ &nbsp;<A HREF="../../lingscope/algorithms/BaselineAnnotator.html" title="class in lingscope.algorithms"><B>NEXT CLASS</B></A></FONT></TD>
61
+ <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
62
+ <A HREF="../../index.html?lingscope/algorithms/Annotator.html" target="_top"><B>FRAMES</B></A> &nbsp;
63
+ &nbsp;<A HREF="Annotator.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
64
+ &nbsp;<SCRIPT type="text/javascript">
65
+ <!--
66
+ if(window==top) {
67
+ document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
68
+ }
69
+ //-->
70
+ </SCRIPT>
71
+ <NOSCRIPT>
72
+ <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
73
+ </NOSCRIPT>
74
+
75
+
76
+ </FONT></TD>
77
+ </TR>
78
+ <TR>
79
+ <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80
+ SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
81
+ <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
82
+ DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
83
+ </TR>
84
+ </TABLE>
85
+ <A NAME="skip-navbar_top"></A>
86
+ <!-- ========= END OF TOP NAVBAR ========= -->
87
+
88
+ <HR>
89
+ <!-- ======== START OF CLASS DATA ======== -->
90
+ <H2>
91
+ <FONT SIZE="-1">
92
+ lingscope.algorithms</FONT>
93
+ <BR>
94
+ Class Annotator</H2>
95
+ <PRE>
96
+ java.lang.Object
97
+ <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>lingscope.algorithms.Annotator</B>
98
+ </PRE>
99
+ <DL>
100
+ <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../lingscope/algorithms/BaselineAnnotator.html" title="class in lingscope.algorithms">BaselineAnnotator</A>, <A HREF="../../lingscope/algorithms/CrfAnnotator.html" title="class in lingscope.algorithms">CrfAnnotator</A>, <A HREF="../../lingscope/algorithms/NegexAnnotator.html" title="class in lingscope.algorithms">NegexAnnotator</A></DD>
101
+ </DL>
102
+ <HR>
103
+ <DL>
104
+ <DT><PRE>public abstract class <B>Annotator</B><DT>extends java.lang.Object</DL>
105
+ </PRE>
106
+
107
+ <P>
108
+ <HR>
109
+
110
+ <P>
111
+ <!-- =========== FIELD SUMMARY =========== -->
112
+
113
+ <A NAME="field_summary"><!-- --></A>
114
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
115
+ <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
116
+ <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
117
+ <B>Field Summary</B></FONT></TH>
118
+ </TR>
119
+ <TR BGCOLOR="white" CLASS="TableRowColor">
120
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
121
+ <CODE>protected &nbsp;java.lang.String</CODE></FONT></TD>
122
+ <TD><CODE><B><A HREF="../../lingscope/algorithms/Annotator.html#beginTag">beginTag</A></B></CODE>
123
+
124
+ <BR>
125
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
126
+ </TR>
127
+ <TR BGCOLOR="white" CLASS="TableRowColor">
128
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
129
+ <CODE>protected &nbsp;java.lang.String</CODE></FONT></TD>
130
+ <TD><CODE><B><A HREF="../../lingscope/algorithms/Annotator.html#interTag">interTag</A></B></CODE>
131
+
132
+ <BR>
133
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
134
+ </TR>
135
+ <TR BGCOLOR="white" CLASS="TableRowColor">
136
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
137
+ <CODE>protected &nbsp;java.lang.String</CODE></FONT></TD>
138
+ <TD><CODE><B><A HREF="../../lingscope/algorithms/Annotator.html#otherTag">otherTag</A></B></CODE>
139
+
140
+ <BR>
141
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
142
+ </TR>
143
+ </TABLE>
144
+ &nbsp;
145
+ <!-- ======== CONSTRUCTOR SUMMARY ======== -->
146
+
147
+ <A NAME="constructor_summary"><!-- --></A>
148
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
149
+ <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
150
+ <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
151
+ <B>Constructor Summary</B></FONT></TH>
152
+ </TR>
153
+ <TR BGCOLOR="white" CLASS="TableRowColor">
154
+ <TD><CODE><B><A HREF="../../lingscope/algorithms/Annotator.html#Annotator(java.lang.String, java.lang.String, java.lang.String)">Annotator</A></B>(java.lang.String&nbsp;beginTag,
155
+ java.lang.String&nbsp;interTag,
156
+ java.lang.String&nbsp;otherTag)</CODE>
157
+
158
+ <BR>
159
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
160
+ </TR>
161
+ </TABLE>
162
+ &nbsp;
163
+ <!-- ========== METHOD SUMMARY =========== -->
164
+
165
+ <A NAME="method_summary"><!-- --></A>
166
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
167
+ <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
168
+ <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
169
+ <B>Method Summary</B></FONT></TH>
170
+ </TR>
171
+ <TR BGCOLOR="white" CLASS="TableRowColor">
172
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
173
+ <CODE>abstract &nbsp;<A HREF="../../lingscope/structures/AnnotatedSentence.html" title="class in lingscope.structures">AnnotatedSentence</A></CODE></FONT></TD>
174
+ <TD><CODE><B><A HREF="../../lingscope/algorithms/Annotator.html#annotateSentence(java.lang.String, boolean)">annotateSentence</A></B>(java.lang.String&nbsp;sentence,
175
+ boolean&nbsp;isTokenized)</CODE>
176
+
177
+ <BR>
178
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
179
+ </TR>
180
+ <TR BGCOLOR="white" CLASS="TableRowColor">
181
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
182
+ <CODE>&nbsp;boolean</CODE></FONT></TD>
183
+ <TD><CODE><B><A HREF="../../lingscope/algorithms/Annotator.html#isTargetNegated(java.lang.String, boolean, java.lang.String)">isTargetNegated</A></B>(java.lang.String&nbsp;sentence,
184
+ boolean&nbsp;isTokenized,
185
+ java.lang.String&nbsp;targetPhrase)</CODE>
186
+
187
+ <BR>
188
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks if the given target phrase is negated in the given sentence.</TD>
189
+ </TR>
190
+ <TR BGCOLOR="white" CLASS="TableRowColor">
191
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
192
+ <CODE>abstract &nbsp;void</CODE></FONT></TD>
193
+ <TD><CODE><B><A HREF="../../lingscope/algorithms/Annotator.html#loadAnnotator(java.lang.String)">loadAnnotator</A></B>(java.lang.String&nbsp;modelFile)</CODE>
194
+
195
+ <BR>
196
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
197
+ </TR>
198
+ <TR BGCOLOR="white" CLASS="TableRowColor">
199
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
200
+ <CODE>abstract &nbsp;void</CODE></FONT></TD>
201
+ <TD><CODE><B><A HREF="../../lingscope/algorithms/Annotator.html#serializeAnnotator(java.lang.String, java.lang.String)">serializeAnnotator</A></B>(java.lang.String&nbsp;trainingFile,
202
+ java.lang.String&nbsp;modelFile)</CODE>
203
+
204
+ <BR>
205
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
206
+ </TR>
207
+ </TABLE>
208
+ &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
209
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
210
+ <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
211
+ <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
212
+ </TR>
213
+ <TR BGCOLOR="white" CLASS="TableRowColor">
214
+ <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
215
+ </TR>
216
+ </TABLE>
217
+ &nbsp;
218
+ <P>
219
+
220
+ <!-- ============ FIELD DETAIL =========== -->
221
+
222
+ <A NAME="field_detail"><!-- --></A>
223
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
224
+ <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
225
+ <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
226
+ <B>Field Detail</B></FONT></TH>
227
+ </TR>
228
+ </TABLE>
229
+
230
+ <A NAME="beginTag"><!-- --></A><H3>
231
+ beginTag</H3>
232
+ <PRE>
233
+ protected java.lang.String <B>beginTag</B></PRE>
234
+ <DL>
235
+ <DL>
236
+ </DL>
237
+ </DL>
238
+ <HR>
239
+
240
+ <A NAME="interTag"><!-- --></A><H3>
241
+ interTag</H3>
242
+ <PRE>
243
+ protected java.lang.String <B>interTag</B></PRE>
244
+ <DL>
245
+ <DL>
246
+ </DL>
247
+ </DL>
248
+ <HR>
249
+
250
+ <A NAME="otherTag"><!-- --></A><H3>
251
+ otherTag</H3>
252
+ <PRE>
253
+ protected java.lang.String <B>otherTag</B></PRE>
254
+ <DL>
255
+ <DL>
256
+ </DL>
257
+ </DL>
258
+
259
+ <!-- ========= CONSTRUCTOR DETAIL ======== -->
260
+
261
+ <A NAME="constructor_detail"><!-- --></A>
262
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
263
+ <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
264
+ <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
265
+ <B>Constructor Detail</B></FONT></TH>
266
+ </TR>
267
+ </TABLE>
268
+
269
+ <A NAME="Annotator(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
270
+ Annotator</H3>
271
+ <PRE>
272
+ public <B>Annotator</B>(java.lang.String&nbsp;beginTag,
273
+ java.lang.String&nbsp;interTag,
274
+ java.lang.String&nbsp;otherTag)</PRE>
275
+ <DL>
276
+ </DL>
277
+
278
+ <!-- ============ METHOD DETAIL ========== -->
279
+
280
+ <A NAME="method_detail"><!-- --></A>
281
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
282
+ <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
283
+ <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
284
+ <B>Method Detail</B></FONT></TH>
285
+ </TR>
286
+ </TABLE>
287
+
288
+ <A NAME="serializeAnnotator(java.lang.String, java.lang.String)"><!-- --></A><H3>
289
+ serializeAnnotator</H3>
290
+ <PRE>
291
+ public abstract void <B>serializeAnnotator</B>(java.lang.String&nbsp;trainingFile,
292
+ java.lang.String&nbsp;modelFile)</PRE>
293
+ <DL>
294
+ <DD><DL>
295
+ </DL>
296
+ </DD>
297
+ </DL>
298
+ <HR>
299
+
300
+ <A NAME="annotateSentence(java.lang.String, boolean)"><!-- --></A><H3>
301
+ annotateSentence</H3>
302
+ <PRE>
303
+ public abstract <A HREF="../../lingscope/structures/AnnotatedSentence.html" title="class in lingscope.structures">AnnotatedSentence</A> <B>annotateSentence</B>(java.lang.String&nbsp;sentence,
304
+ boolean&nbsp;isTokenized)</PRE>
305
+ <DL>
306
+ <DD><DL>
307
+ </DL>
308
+ </DD>
309
+ </DL>
310
+ <HR>
311
+
312
+ <A NAME="loadAnnotator(java.lang.String)"><!-- --></A><H3>
313
+ loadAnnotator</H3>
314
+ <PRE>
315
+ public abstract void <B>loadAnnotator</B>(java.lang.String&nbsp;modelFile)</PRE>
316
+ <DL>
317
+ <DD><DL>
318
+ </DL>
319
+ </DD>
320
+ </DL>
321
+ <HR>
322
+
323
+ <A NAME="isTargetNegated(java.lang.String, boolean, java.lang.String)"><!-- --></A><H3>
324
+ isTargetNegated</H3>
325
+ <PRE>
326
+ public boolean <B>isTargetNegated</B>(java.lang.String&nbsp;sentence,
327
+ boolean&nbsp;isTokenized,
328
+ java.lang.String&nbsp;targetPhrase)</PRE>
329
+ <DL>
330
+ <DD>Checks if the given target phrase is negated in the given sentence. Only
331
+ the first word of the target phrase is used
332
+ <P>
333
+ <DD><DL>
334
+ <DT><B>Parameters:</B><DD><CODE>sentence</CODE> - <DD><CODE>isTokenized</CODE> - <DD><CODE>targetPhrase</CODE> -
335
+ <DT><B>Returns:</B><DD></DL>
336
+ </DD>
337
+ </DL>
338
+ <!-- ========= END OF CLASS DATA ========= -->
339
+ <HR>
340
+
341
+
342
+ <!-- ======= START OF BOTTOM NAVBAR ====== -->
343
+ <A NAME="navbar_bottom"><!-- --></A>
344
+ <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
345
+ <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
346
+ <TR>
347
+ <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
348
+ <A NAME="navbar_bottom_firstrow"><!-- --></A>
349
+ <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
350
+ <TR ALIGN="center" VALIGN="top">
351
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
352
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
353
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
354
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Annotator.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
355
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
356
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
357
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
358
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
359
+ </TR>
360
+ </TABLE>
361
+ </TD>
362
+ <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
363
+ </EM>
364
+ </TD>
365
+ </TR>
366
+
367
+ <TR>
368
+ <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
369
+ &nbsp;<A HREF="../../lingscope/algorithms/AnnotationComparer.html" title="class in lingscope.algorithms"><B>PREV CLASS</B></A>&nbsp;
370
+ &nbsp;<A HREF="../../lingscope/algorithms/BaselineAnnotator.html" title="class in lingscope.algorithms"><B>NEXT CLASS</B></A></FONT></TD>
371
+ <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
372
+ <A HREF="../../index.html?lingscope/algorithms/Annotator.html" target="_top"><B>FRAMES</B></A> &nbsp;
373
+ &nbsp;<A HREF="Annotator.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
374
+ &nbsp;<SCRIPT type="text/javascript">
375
+ <!--
376
+ if(window==top) {
377
+ document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
378
+ }
379
+ //-->
380
+ </SCRIPT>
381
+ <NOSCRIPT>
382
+ <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
383
+ </NOSCRIPT>
384
+
385
+
386
+ </FONT></TD>
387
+ </TR>
388
+ <TR>
389
+ <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
390
+ SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
391
+ <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
392
+ DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
393
+ </TR>
394
+ </TABLE>
395
+ <A NAME="skip-navbar_bottom"></A>
396
+ <!-- ======== END OF BOTTOM NAVBAR ======= -->
397
+
398
+ <HR>
399
+
400
+ </BODY>
401
+ </HTML>
@@ -0,0 +1,375 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+ <!--NewPage-->
3
+ <HTML>
4
+ <HEAD>
5
+ <!-- Generated by javadoc (build 1.6.0_65) on Tue Feb 18 19:45:41 CST 2014 -->
6
+ <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+ <TITLE>
8
+ BaselineAnnotator
9
+ </TITLE>
10
+
11
+ <META NAME="date" CONTENT="2014-02-18">
12
+
13
+ <LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
14
+
15
+ <SCRIPT type="text/javascript">
16
+ function windowTitle()
17
+ {
18
+ if (location.href.indexOf('is-external=true') == -1) {
19
+ parent.document.title="BaselineAnnotator";
20
+ }
21
+ }
22
+ </SCRIPT>
23
+ <NOSCRIPT>
24
+ </NOSCRIPT>
25
+
26
+ </HEAD>
27
+
28
+ <BODY BGCOLOR="white" onload="windowTitle();">
29
+ <HR>
30
+
31
+
32
+ <!-- ========= START OF TOP NAVBAR ======= -->
33
+ <A NAME="navbar_top"><!-- --></A>
34
+ <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
35
+ <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
36
+ <TR>
37
+ <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
38
+ <A NAME="navbar_top_firstrow"><!-- --></A>
39
+ <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
40
+ <TR ALIGN="center" VALIGN="top">
41
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
42
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
43
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
44
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BaselineAnnotator.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
45
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
46
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
47
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
48
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
49
+ </TR>
50
+ </TABLE>
51
+ </TD>
52
+ <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
53
+ </EM>
54
+ </TD>
55
+ </TR>
56
+
57
+ <TR>
58
+ <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59
+ &nbsp;<A HREF="../../lingscope/algorithms/Annotator.html" title="class in lingscope.algorithms"><B>PREV CLASS</B></A>&nbsp;
60
+ &nbsp;<A HREF="../../lingscope/algorithms/BaselineCueAnnotator.html" title="class in lingscope.algorithms"><B>NEXT CLASS</B></A></FONT></TD>
61
+ <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
62
+ <A HREF="../../index.html?lingscope/algorithms/BaselineAnnotator.html" target="_top"><B>FRAMES</B></A> &nbsp;
63
+ &nbsp;<A HREF="BaselineAnnotator.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
64
+ &nbsp;<SCRIPT type="text/javascript">
65
+ <!--
66
+ if(window==top) {
67
+ document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
68
+ }
69
+ //-->
70
+ </SCRIPT>
71
+ <NOSCRIPT>
72
+ <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
73
+ </NOSCRIPT>
74
+
75
+
76
+ </FONT></TD>
77
+ </TR>
78
+ <TR>
79
+ <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80
+ SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
81
+ <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
82
+ DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
83
+ </TR>
84
+ </TABLE>
85
+ <A NAME="skip-navbar_top"></A>
86
+ <!-- ========= END OF TOP NAVBAR ========= -->
87
+
88
+ <HR>
89
+ <!-- ======== START OF CLASS DATA ======== -->
90
+ <H2>
91
+ <FONT SIZE="-1">
92
+ lingscope.algorithms</FONT>
93
+ <BR>
94
+ Class BaselineAnnotator</H2>
95
+ <PRE>
96
+ java.lang.Object
97
+ <IMG SRC="../../resources/inherit.gif" ALT="extended by "><A HREF="../../lingscope/algorithms/Annotator.html" title="class in lingscope.algorithms">lingscope.algorithms.Annotator</A>
98
+ <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>lingscope.algorithms.BaselineAnnotator</B>
99
+ </PRE>
100
+ <DL>
101
+ <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../lingscope/algorithms/BaselineCueAnnotator.html" title="class in lingscope.algorithms">BaselineCueAnnotator</A>, <A HREF="../../lingscope/algorithms/BaselineScopeAnnotator.html" title="class in lingscope.algorithms">BaselineScopeAnnotator</A></DD>
102
+ </DL>
103
+ <HR>
104
+ <DL>
105
+ <DT><PRE>public abstract class <B>BaselineAnnotator</B><DT>extends <A HREF="../../lingscope/algorithms/Annotator.html" title="class in lingscope.algorithms">Annotator</A></DL>
106
+ </PRE>
107
+
108
+ <P>
109
+ The baseline annotator
110
+ <P>
111
+
112
+ <P>
113
+ <HR>
114
+
115
+ <P>
116
+ <!-- =========== FIELD SUMMARY =========== -->
117
+
118
+ <A NAME="field_summary"><!-- --></A>
119
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
120
+ <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
121
+ <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
122
+ <B>Field Summary</B></FONT></TH>
123
+ </TR>
124
+ <TR BGCOLOR="white" CLASS="TableRowColor">
125
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
126
+ <CODE>protected &nbsp;java.util.Set&lt;java.lang.String&gt;</CODE></FONT></TD>
127
+ <TD><CODE><B><A HREF="../../lingscope/algorithms/BaselineAnnotator.html#phrases">phrases</A></B></CODE>
128
+
129
+ <BR>
130
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
131
+ </TR>
132
+ </TABLE>
133
+ &nbsp;<A NAME="fields_inherited_from_class_lingscope.algorithms.Annotator"><!-- --></A>
134
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
135
+ <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
136
+ <TH ALIGN="left"><B>Fields inherited from class lingscope.algorithms.<A HREF="../../lingscope/algorithms/Annotator.html" title="class in lingscope.algorithms">Annotator</A></B></TH>
137
+ </TR>
138
+ <TR BGCOLOR="white" CLASS="TableRowColor">
139
+ <TD><CODE><A HREF="../../lingscope/algorithms/Annotator.html#beginTag">beginTag</A>, <A HREF="../../lingscope/algorithms/Annotator.html#interTag">interTag</A>, <A HREF="../../lingscope/algorithms/Annotator.html#otherTag">otherTag</A></CODE></TD>
140
+ </TR>
141
+ </TABLE>
142
+ &nbsp;
143
+ <!-- ======== CONSTRUCTOR SUMMARY ======== -->
144
+
145
+ <A NAME="constructor_summary"><!-- --></A>
146
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
147
+ <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
148
+ <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
149
+ <B>Constructor Summary</B></FONT></TH>
150
+ </TR>
151
+ <TR BGCOLOR="white" CLASS="TableRowColor">
152
+ <TD><CODE><B><A HREF="../../lingscope/algorithms/BaselineAnnotator.html#BaselineAnnotator(java.lang.String, java.lang.String, java.lang.String)">BaselineAnnotator</A></B>(java.lang.String&nbsp;beginTag,
153
+ java.lang.String&nbsp;interTag,
154
+ java.lang.String&nbsp;otherTag)</CODE>
155
+
156
+ <BR>
157
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
158
+ </TR>
159
+ </TABLE>
160
+ &nbsp;
161
+ <!-- ========== METHOD SUMMARY =========== -->
162
+
163
+ <A NAME="method_summary"><!-- --></A>
164
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
165
+ <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
166
+ <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
167
+ <B>Method Summary</B></FONT></TH>
168
+ </TR>
169
+ <TR BGCOLOR="white" CLASS="TableRowColor">
170
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
171
+ <CODE>static&nbsp;java.util.Set&lt;java.lang.String&gt;</CODE></FONT></TD>
172
+ <TD><CODE><B><A HREF="../../lingscope/algorithms/BaselineAnnotator.html#getCueWords(java.lang.String, java.lang.String, java.lang.String, java.lang.String)">getCueWords</A></B>(java.lang.String&nbsp;abnerTaggedSentence,
173
+ java.lang.String&nbsp;beginTag,
174
+ java.lang.String&nbsp;intermediateTag,
175
+ java.lang.String&nbsp;otherTag)</CODE>
176
+
177
+ <BR>
178
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the set of cue word phrases in the given sentence.</TD>
179
+ </TR>
180
+ <TR BGCOLOR="white" CLASS="TableRowColor">
181
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
182
+ <CODE>&nbsp;void</CODE></FONT></TD>
183
+ <TD><CODE><B><A HREF="../../lingscope/algorithms/BaselineAnnotator.html#loadAnnotator(java.lang.String)">loadAnnotator</A></B>(java.lang.String&nbsp;modelFile)</CODE>
184
+
185
+ <BR>
186
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
187
+ </TR>
188
+ <TR BGCOLOR="white" CLASS="TableRowColor">
189
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
190
+ <CODE>&nbsp;void</CODE></FONT></TD>
191
+ <TD><CODE><B><A HREF="../../lingscope/algorithms/BaselineAnnotator.html#serializeAnnotator(java.lang.String, java.lang.String)">serializeAnnotator</A></B>(java.lang.String&nbsp;trainingFile,
192
+ java.lang.String&nbsp;modelFile)</CODE>
193
+
194
+ <BR>
195
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
196
+ </TR>
197
+ </TABLE>
198
+ &nbsp;<A NAME="methods_inherited_from_class_lingscope.algorithms.Annotator"><!-- --></A>
199
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
200
+ <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
201
+ <TH ALIGN="left"><B>Methods inherited from class lingscope.algorithms.<A HREF="../../lingscope/algorithms/Annotator.html" title="class in lingscope.algorithms">Annotator</A></B></TH>
202
+ </TR>
203
+ <TR BGCOLOR="white" CLASS="TableRowColor">
204
+ <TD><CODE><A HREF="../../lingscope/algorithms/Annotator.html#annotateSentence(java.lang.String, boolean)">annotateSentence</A>, <A HREF="../../lingscope/algorithms/Annotator.html#isTargetNegated(java.lang.String, boolean, java.lang.String)">isTargetNegated</A></CODE></TD>
205
+ </TR>
206
+ </TABLE>
207
+ &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
208
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
209
+ <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
210
+ <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
211
+ </TR>
212
+ <TR BGCOLOR="white" CLASS="TableRowColor">
213
+ <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
214
+ </TR>
215
+ </TABLE>
216
+ &nbsp;
217
+ <P>
218
+
219
+ <!-- ============ FIELD DETAIL =========== -->
220
+
221
+ <A NAME="field_detail"><!-- --></A>
222
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
223
+ <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
224
+ <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
225
+ <B>Field Detail</B></FONT></TH>
226
+ </TR>
227
+ </TABLE>
228
+
229
+ <A NAME="phrases"><!-- --></A><H3>
230
+ phrases</H3>
231
+ <PRE>
232
+ protected java.util.Set&lt;java.lang.String&gt; <B>phrases</B></PRE>
233
+ <DL>
234
+ <DL>
235
+ </DL>
236
+ </DL>
237
+
238
+ <!-- ========= CONSTRUCTOR DETAIL ======== -->
239
+
240
+ <A NAME="constructor_detail"><!-- --></A>
241
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
242
+ <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
243
+ <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
244
+ <B>Constructor Detail</B></FONT></TH>
245
+ </TR>
246
+ </TABLE>
247
+
248
+ <A NAME="BaselineAnnotator(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
249
+ BaselineAnnotator</H3>
250
+ <PRE>
251
+ public <B>BaselineAnnotator</B>(java.lang.String&nbsp;beginTag,
252
+ java.lang.String&nbsp;interTag,
253
+ java.lang.String&nbsp;otherTag)</PRE>
254
+ <DL>
255
+ </DL>
256
+
257
+ <!-- ============ METHOD DETAIL ========== -->
258
+
259
+ <A NAME="method_detail"><!-- --></A>
260
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
261
+ <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
262
+ <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
263
+ <B>Method Detail</B></FONT></TH>
264
+ </TR>
265
+ </TABLE>
266
+
267
+ <A NAME="serializeAnnotator(java.lang.String, java.lang.String)"><!-- --></A><H3>
268
+ serializeAnnotator</H3>
269
+ <PRE>
270
+ public void <B>serializeAnnotator</B>(java.lang.String&nbsp;trainingFile,
271
+ java.lang.String&nbsp;modelFile)</PRE>
272
+ <DL>
273
+ <DD><DL>
274
+ <DT><B>Specified by:</B><DD><CODE><A HREF="../../lingscope/algorithms/Annotator.html#serializeAnnotator(java.lang.String, java.lang.String)">serializeAnnotator</A></CODE> in class <CODE><A HREF="../../lingscope/algorithms/Annotator.html" title="class in lingscope.algorithms">Annotator</A></CODE></DL>
275
+ </DD>
276
+ <DD><DL>
277
+ </DL>
278
+ </DD>
279
+ </DL>
280
+ <HR>
281
+
282
+ <A NAME="loadAnnotator(java.lang.String)"><!-- --></A><H3>
283
+ loadAnnotator</H3>
284
+ <PRE>
285
+ public void <B>loadAnnotator</B>(java.lang.String&nbsp;modelFile)</PRE>
286
+ <DL>
287
+ <DD><DL>
288
+ <DT><B>Specified by:</B><DD><CODE><A HREF="../../lingscope/algorithms/Annotator.html#loadAnnotator(java.lang.String)">loadAnnotator</A></CODE> in class <CODE><A HREF="../../lingscope/algorithms/Annotator.html" title="class in lingscope.algorithms">Annotator</A></CODE></DL>
289
+ </DD>
290
+ <DD><DL>
291
+ </DL>
292
+ </DD>
293
+ </DL>
294
+ <HR>
295
+
296
+ <A NAME="getCueWords(java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
297
+ getCueWords</H3>
298
+ <PRE>
299
+ public static java.util.Set&lt;java.lang.String&gt; <B>getCueWords</B>(java.lang.String&nbsp;abnerTaggedSentence,
300
+ java.lang.String&nbsp;beginTag,
301
+ java.lang.String&nbsp;intermediateTag,
302
+ java.lang.String&nbsp;otherTag)</PRE>
303
+ <DL>
304
+ <DD>Gets the set of cue word phrases in the given sentence. The given
305
+ sentence is tagged according to Abner's specifications
306
+ <P>
307
+ <DD><DL>
308
+ <DT><B>Parameters:</B><DD><CODE>abnerTaggedSentence</CODE> - sentence tagged by abner's specification.<DD><CODE>beginTag</CODE> - the tag to mark the beginning of the cue<DD><CODE>intermediateTag</CODE> - the tag to mark intermediate portions<DD><CODE>otherTag</CODE> - the other tag
309
+ <DT><B>Returns:</B><DD>the set of cue words or phrases in the given sentence</DL>
310
+ </DD>
311
+ </DL>
312
+ <!-- ========= END OF CLASS DATA ========= -->
313
+ <HR>
314
+
315
+
316
+ <!-- ======= START OF BOTTOM NAVBAR ====== -->
317
+ <A NAME="navbar_bottom"><!-- --></A>
318
+ <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
319
+ <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
320
+ <TR>
321
+ <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
322
+ <A NAME="navbar_bottom_firstrow"><!-- --></A>
323
+ <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
324
+ <TR ALIGN="center" VALIGN="top">
325
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
326
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
327
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
328
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BaselineAnnotator.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
329
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
330
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
331
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
332
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
333
+ </TR>
334
+ </TABLE>
335
+ </TD>
336
+ <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
337
+ </EM>
338
+ </TD>
339
+ </TR>
340
+
341
+ <TR>
342
+ <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
343
+ &nbsp;<A HREF="../../lingscope/algorithms/Annotator.html" title="class in lingscope.algorithms"><B>PREV CLASS</B></A>&nbsp;
344
+ &nbsp;<A HREF="../../lingscope/algorithms/BaselineCueAnnotator.html" title="class in lingscope.algorithms"><B>NEXT CLASS</B></A></FONT></TD>
345
+ <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
346
+ <A HREF="../../index.html?lingscope/algorithms/BaselineAnnotator.html" target="_top"><B>FRAMES</B></A> &nbsp;
347
+ &nbsp;<A HREF="BaselineAnnotator.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
348
+ &nbsp;<SCRIPT type="text/javascript">
349
+ <!--
350
+ if(window==top) {
351
+ document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
352
+ }
353
+ //-->
354
+ </SCRIPT>
355
+ <NOSCRIPT>
356
+ <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
357
+ </NOSCRIPT>
358
+
359
+
360
+ </FONT></TD>
361
+ </TR>
362
+ <TR>
363
+ <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
364
+ SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
365
+ <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
366
+ DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
367
+ </TR>
368
+ </TABLE>
369
+ <A NAME="skip-navbar_bottom"></A>
370
+ <!-- ======== END OF BOTTOM NAVBAR ======= -->
371
+
372
+ <HR>
373
+
374
+ </BODY>
375
+ </HTML>