shalmaneser 0.0.1.alpha → 1.2.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +2 -2
  3. data/CHANGELOG.md +4 -0
  4. data/LICENSE.md +4 -0
  5. data/README.md +49 -0
  6. data/bin/fred +18 -0
  7. data/bin/frprep +34 -0
  8. data/bin/rosy +17 -0
  9. data/lib/common/AbstractSynInterface.rb +35 -33
  10. data/lib/common/Mallet.rb +236 -0
  11. data/lib/common/Maxent.rb +26 -12
  12. data/lib/common/Parser.rb +5 -5
  13. data/lib/common/SynInterfaces.rb +13 -6
  14. data/lib/common/TabFormat.rb +7 -6
  15. data/lib/common/Tiger.rb +4 -4
  16. data/lib/common/Timbl.rb +144 -0
  17. data/lib/common/{FrprepHelper.rb → frprep_helper.rb} +14 -8
  18. data/lib/common/headz.rb +1 -1
  19. data/lib/common/ruby_class_extensions.rb +3 -3
  20. data/lib/fred/FredBOWContext.rb +14 -2
  21. data/lib/fred/FredDetermineTargets.rb +4 -9
  22. data/lib/fred/FredEval.rb +1 -1
  23. data/lib/fred/FredFeatureExtractors.rb +4 -3
  24. data/lib/fred/FredFeaturize.rb +1 -1
  25. data/lib/frprep/CollinsInterface.rb +6 -6
  26. data/lib/frprep/MiniparInterface.rb +5 -5
  27. data/lib/frprep/SleepyInterface.rb +7 -7
  28. data/lib/frprep/TntInterface.rb +1 -1
  29. data/lib/frprep/TreetaggerInterface.rb +29 -5
  30. data/lib/frprep/do_parses.rb +1 -0
  31. data/lib/frprep/frprep.rb +36 -32
  32. data/lib/{common/BerkeleyInterface.rb → frprep/interfaces/berkeley_interface.rb} +69 -95
  33. data/lib/frprep/interfaces/stanford_interface.rb +353 -0
  34. data/lib/frprep/interpreters/berkeley_interpreter.rb +22 -0
  35. data/lib/frprep/interpreters/stanford_interpreter.rb +22 -0
  36. data/lib/frprep/opt_parser.rb +2 -2
  37. data/lib/rosy/AbstractFeatureAndExternal.rb +5 -3
  38. data/lib/rosy/RosyIterator.rb +11 -10
  39. data/lib/rosy/rosy.rb +1 -0
  40. data/lib/shalmaneser/version.rb +1 -1
  41. data/test/functional/sample_experiment_files/fred_test.salsa.erb +1 -1
  42. data/test/functional/sample_experiment_files/fred_train.salsa.erb +1 -1
  43. data/test/functional/sample_experiment_files/prp_test.salsa.erb +2 -2
  44. data/test/functional/sample_experiment_files/prp_test.salsa.fred.standalone.erb +2 -2
  45. data/test/functional/sample_experiment_files/prp_test.salsa.rosy.standalone.erb +2 -2
  46. data/test/functional/sample_experiment_files/prp_train.salsa.erb +2 -2
  47. data/test/functional/sample_experiment_files/prp_train.salsa.fred.standalone.erb +2 -2
  48. data/test/functional/sample_experiment_files/prp_train.salsa.rosy.standalone.erb +2 -2
  49. data/test/functional/sample_experiment_files/rosy_test.salsa.erb +1 -1
  50. data/test/functional/sample_experiment_files/rosy_train.salsa.erb +7 -7
  51. data/test/functional/test_frprep.rb +3 -3
  52. data/test/functional/test_rosy.rb +20 -0
  53. metadata +215 -224
  54. data/CHANGELOG.rdoc +0 -0
  55. data/LICENSE.rdoc +0 -0
  56. data/README.rdoc +0 -0
  57. data/lib/common/CollinsInterface.rb +0 -1165
  58. data/lib/common/MiniparInterface.rb +0 -1388
  59. data/lib/common/SleepyInterface.rb +0 -384
  60. data/lib/common/TntInterface.rb +0 -44
  61. data/lib/common/TreetaggerInterface.rb +0 -303
  62. data/lib/frprep/AbstractSynInterface.rb +0 -1227
  63. data/lib/frprep/BerkeleyInterface.rb +0 -375
  64. data/lib/frprep/ConfigData.rb +0 -694
  65. data/lib/frprep/FixSynSemMapping.rb +0 -196
  66. data/lib/frprep/FrPrepConfigData.rb +0 -66
  67. data/lib/frprep/FrprepHelper.rb +0 -1324
  68. data/lib/frprep/ISO-8859-1.rb +0 -24
  69. data/lib/frprep/Parser.rb +0 -213
  70. data/lib/frprep/SalsaTigerRegXML.rb +0 -2347
  71. data/lib/frprep/SalsaTigerXMLHelper.rb +0 -99
  72. data/lib/frprep/SynInterfaces.rb +0 -275
  73. data/lib/frprep/TabFormat.rb +0 -720
  74. data/lib/frprep/Tiger.rb +0 -1448
  75. data/lib/frprep/Tree.rb +0 -61
  76. data/lib/frprep/headz.rb +0 -338
data/lib/rosy/rosy.rb CHANGED
@@ -64,6 +64,7 @@ module Rosy
64
64
  begin
65
65
  task_obj.perform
66
66
  rescue => e
67
+ puts e.backtrace
67
68
  fail "Error during task execution: #{e.class}=>#{e.message}"
68
69
  ensure
69
70
  database.close
@@ -1,3 +1,3 @@
1
1
  module Shalmaneser
2
- VERSION = '0.0.1.prealpha'
2
+ VERSION = '1.2.0.rc1'
3
3
  end
@@ -113,7 +113,7 @@ binary_classifiers = false
113
113
  #
114
114
  # for maxent, give first the path where maxent resides,
115
115
  # then <where_shalmaneser_resides>/program/tools/maxent
116
- classifier = maxent /opt/OpenNLP-maxent/2.4.0 <%= File.expand_path('tools/maxent/') %>
116
+ classifier = maxent <%= File.expand_path('tools/maxent/maxent-2.4.0') %>
117
117
 
118
118
 
119
119
  # for binary classifiers, you can set the pseudolabel
@@ -126,7 +126,7 @@ binary_classifiers = false
126
126
  #
127
127
  # for maxent, give first the path where maxent resides,
128
128
  # then <where_shalmaneser_resides>/program/tools/maxent
129
- classifier = maxent /opt/OpenNLP-maxent/2.4.0 <%= File.expand_path('tools/maxent/') %>
129
+ classifier = maxent <%= File.expand_path('tools/maxent/maxent-2.4.0') %>
130
130
 
131
131
 
132
132
  # for binary classifiers, you can set the pseudolabel
@@ -122,10 +122,10 @@ fe_rel_repair = false
122
122
  # parser_path = /proj/llx/Software/Parsers/minipar-linux/
123
123
  #
124
124
  pos_tagger = treetagger
125
- pos_tagger_path = <%= File.expand_path('tools/treetagger/shal-ger') %>
125
+ pos_tagger_path = <%= File.expand_path('tools/treetagger') %>
126
126
 
127
127
  lemmatizer = treetagger
128
- lemmatizer_path = <%= File.expand_path('tools/treetagger/shal-ger') %>
128
+ lemmatizer_path = <%= File.expand_path('tools/treetagger') %>
129
129
 
130
130
  parser = berkeley
131
131
  parser_path = <%= File.expand_path('tools/berkeleyParser') %>
@@ -104,10 +104,10 @@ fe_rel_repair = false
104
104
  # parser_path = /proj/llx/Software/Parsers/minipar-linux/
105
105
  #
106
106
  pos_tagger = treetagger
107
- pos_tagger_path = <%= File.expand_path('tools/treetagger/shal-ger') %>
107
+ pos_tagger_path = <%= File.expand_path('tools/treetagger') %>
108
108
 
109
109
  lemmatizer = treetagger
110
- lemmatizer_path = <%= File.expand_path('tools/treetagger/shal-ger') %>
110
+ lemmatizer_path = <%= File.expand_path('tools/treetagger') %>
111
111
 
112
112
  parser = berkeley
113
113
  parser_path = <%= File.expand_path('tools/berkeleyParser') %>
@@ -104,10 +104,10 @@ fe_rel_repair = false
104
104
  # parser_path = /proj/llx/Software/Parsers/minipar-linux/
105
105
  #
106
106
  pos_tagger = treetagger
107
- pos_tagger_path = <%= File.expand_path('tools/treetagger/shal-ger') %>
107
+ pos_tagger_path = <%= File.expand_path('tools/treetagger') %>
108
108
 
109
109
  lemmatizer = treetagger
110
- lemmatizer_path = <%= File.expand_path('tools/treetagger/shal-ger') %>
110
+ lemmatizer_path = <%= File.expand_path('tools/treetagger') %>
111
111
 
112
112
  parser = berkeley
113
113
  parser_path = <%= File.expand_path('tools/berkeleyParser') %>
@@ -122,10 +122,10 @@ fe_rel_repair = false
122
122
  # parser_path = /proj/llx/Software/Parsers/minipar-linux/
123
123
  #
124
124
  pos_tagger = treetagger
125
- pos_tagger_path = <%= File.expand_path('tools/treetagger/shal-ger') %>
125
+ pos_tagger_path = <%= File.expand_path('tools/treetagger') %>
126
126
 
127
127
  lemmatizer = treetagger
128
- lemmatizer_path = <%= File.expand_path('tools/treetagger/shal-ger') %>
128
+ lemmatizer_path = <%= File.expand_path('tools/treetagger') %>
129
129
 
130
130
  parser = berkeley
131
131
  parser_path = <%= File.expand_path('tools/berkeleyParser') %>
@@ -122,10 +122,10 @@ fe_rel_repair = false
122
122
  # parser_path = /proj/llx/Software/Parsers/minipar-linux/
123
123
  #
124
124
  pos_tagger = treetagger
125
- pos_tagger_path = <%= File.expand_path('tools/treetagger/shal-ger') %>
125
+ pos_tagger_path = <%= File.expand_path('tools/treetagger') %>
126
126
 
127
127
  lemmatizer = treetagger
128
- lemmatizer_path = <%= File.expand_path('tools/treetagger/shal-ger') %>
128
+ lemmatizer_path = <%= File.expand_path('tools/treetagger') %>
129
129
 
130
130
  parser = berkeley
131
131
  parser_path = <%= File.expand_path('tools/berkeleyParser') %>
@@ -122,10 +122,10 @@ fe_rel_repair = false
122
122
  # parser_path = /proj/llx/Software/Parsers/minipar-linux/
123
123
  #
124
124
  pos_tagger = treetagger
125
- pos_tagger_path = <%= File.expand_path('tools/treetagger/shal-ger') %>
125
+ pos_tagger_path = <%= File.expand_path('tools/treetagger') %>
126
126
 
127
127
  lemmatizer = treetagger
128
- lemmatizer_path = <%= File.expand_path('tools/treetagger/shal-ger') %>
128
+ lemmatizer_path = <%= File.expand_path('tools/treetagger') %>
129
129
 
130
130
  parser = berkeley
131
131
  parser_path = <%= File.expand_path('tools/berkeleyParser') %>
@@ -133,7 +133,7 @@ feature = prune
133
133
  # classifier = timbl /prog/MachineLearning/Timbl5/
134
134
  # classifier = maxent /prog/maxent-2.4.0 /prog/shalmaneser/program/tools/maxent
135
135
 
136
- classifier = maxent /opt/OpenNLP-maxent/2.4.0 <%= File.expand_path('tools/maxent/') %>
136
+ classifier = maxent <%= File.expand_path('tools/maxent/maxent-2.4.0') %>
137
137
 
138
138
  ########################
139
139
  # further settings
@@ -43,17 +43,17 @@ enduser_mode = false
43
43
  # - classifier_dir: If present, this is where trained classifiers
44
44
  # are written.
45
45
  # Otherwise they are written to <data_dir>/<experiment_id>/classif_dir
46
- data_dir = /home/arbox/work_space/shalm/german/prog/output
47
- directory_input_train = <%= File.expand_path('test/functional/output/prp_train/stxml_split') %>
48
- directory_input_test = <%= File.expand_path('test/functional/output/exp_fred_salsa/output/stxml') %>
49
- directory_output = <%= File.expand_path('test/functional/output/exp_rosy_salsa/output') %>
46
+ data_dir = <%= File.expand_path('test/functional/output') %>
47
+ directory_input_train = <%= File.expand_path('test/functional/input/rosy/train.salsa') %>
48
+ #directory_input_test = <%= File.expand_path('test/functional/output/exp_fred_salsa/output/stxml') %>
49
+ #directory_output = <%= File.expand_path('test/functional/output/exp_rosy_salsa/output') %>
50
50
 
51
51
 
52
52
  ##
53
53
  # Preprocessing settings:
54
54
  # frprep experiment files for training and test data.
55
- preproc_descr_file_train = <%= File.expand_path('test/functional/sample_experiment_files/prp_train.salsa') %>
56
- preproc_descr_file_test = <%= File.exand_path('test/functional/sample_experiment_files/prp_test.salsa') %>
55
+ preproc_descr_file_train = <%= File.expand_path('test/functional/sample_experiment_files/prp_train.salsa.rosy.standalone') %>
56
+ #preproc_descr_file_test = <%= File.expand_path('test/functional/sample_experiment_files/prp_test.salsa') %>
57
57
 
58
58
 
59
59
  ########################
@@ -135,7 +135,7 @@ feature = prune
135
135
  # classifier = timbl /prog/MachineLearning/Timbl5/
136
136
  # classifier = maxent /prog/maxent-2.4.0 /prog/shalmaneser/program/tools/maxent
137
137
 
138
- classifier = maxent /opt/OpenNLP-maxent/2.4.0 /home/arbox/work_space/shalm/dev/trunk/program_de/tools/maxent/
138
+ classifier = maxent <%= File.expand_path('tools/maxent/maxent-2.4.0') %>
139
139
 
140
140
  ########################
141
141
  # further settings
@@ -12,12 +12,12 @@ class TestFrprep < Test::Unit::TestCase
12
12
  @msg = "FrPrep is doing bad, you've just broken something!"
13
13
  @test_file = PRP_TEST_FILE
14
14
  @train_file = PRP_TRAIN_FILE
15
- @ptb = 'lib/frprep/BerkeleyInterface.rb'
16
- # link_berkeley
15
+ @ptb = 'lib/frprep/interfaces/berkeley_interface.rb'
16
+ link_berkeley
17
17
  end
18
18
 
19
19
  def teardown
20
- # unlink_berkeley
20
+ unlink_berkeley
21
21
  end
22
22
  def test_frprep_testing
23
23
  create_exp_file(@test_file)
@@ -9,6 +9,7 @@ class TestRosy < Test::Unit::TestCase
9
9
  def setup
10
10
  @msg = "Rosy is doing bad, you've just broken something!"
11
11
  end
12
+
12
13
  def test_rosy_testing
13
14
  create_exp_file(ROSY_TEST_FILE)
14
15
  create_exp_file(PRP_TEST_FILE_ROSY_STD)
@@ -17,4 +18,23 @@ class TestRosy < Test::Unit::TestCase
17
18
  remove_exp_file(ROSY_TEST_FILE)
18
19
  remove_exp_file(PRP_TEST_FILE_ROSY_STD)
19
20
  end
21
+
22
+ def test_rosy_training
23
+ create_exp_file(ROSY_TRAIN_FILE)
24
+ create_exp_file(PRP_TRAIN_FILE_ROSY_STD)
25
+ execute("ruby -rubygems -I lib bin/rosy -t featurize -e #{ROSY_TRAIN_FILE} -d train")
26
+ execute("ruby -rubygems -I lib bin/rosy -t train -e #{ROSY_TRAIN_FILE} -s argrec")
27
+ execute("ruby -rubygems -I lib bin/rosy -t train -e #{ROSY_TRAIN_FILE} -s arglab")
28
+ remove_exp_file(ROSY_TRAIN_FILE)
29
+ remove_exp_file(PRP_TRAIN_FILE_ROSY_STD)
30
+ end
31
+
32
+ def test_rosy_training_onestep
33
+ create_exp_file(ROSY_TRAIN_FILE)
34
+ create_exp_file(PRP_TRAIN_FILE_ROSY_STD)
35
+ execute("ruby -rubygems -I lib bin/rosy -t featurize -e #{ROSY_TRAIN_FILE} -d train")
36
+ execute("ruby -rubygems -I lib bin/rosy -t train -e #{ROSY_TRAIN_FILE} -s onestep")
37
+ remove_exp_file(ROSY_TRAIN_FILE)
38
+ remove_exp_file(PRP_TRAIN_FILE_ROSY_STD)
39
+ end
20
40
  end
metadata CHANGED
@@ -1,284 +1,275 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: shalmaneser
3
- version: !ruby/object:Gem::Version
4
- hash: -998664823
5
- prerelease: 6
6
- segments:
7
- - 0
8
- - 0
9
- - 1
10
- - alpha
11
- version: 0.0.1.alpha
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.0.rc1
12
5
  platform: ruby
13
- authors:
6
+ authors:
14
7
  - Andrei Beliankou
15
8
  autorequire:
16
9
  bindir: bin
17
10
  cert_chain: []
18
-
19
- date: 2012-08-23 00:00:00 Z
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
11
+ date: 2014-01-03 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
22
14
  name: mysql
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 3
30
- segments:
31
- - 0
32
- version: "0"
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
33
20
  type: :runtime
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: rdoc
37
21
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- hash: 33
44
- segments:
45
- - 3
46
- - 9
47
- - 1
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rdoc
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
48
33
  version: 3.9.1
49
34
  type: :development
50
- version_requirements: *id002
51
- - !ruby/object:Gem::Dependency
52
- name: bundler
53
35
  prerelease: false
54
- requirement: &id003 !ruby/object:Gem::Requirement
55
- none: false
56
- requirements:
57
- - - ">="
58
- - !ruby/object:Gem::Version
59
- hash: 3
60
- segments:
61
- - 0
62
- version: "0"
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: 3.9.1
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
63
48
  type: :development
64
- version_requirements: *id003
65
- - !ruby/object:Gem::Dependency
66
- name: yard
67
49
  prerelease: false
68
- requirement: &id004 !ruby/object:Gem::Requirement
69
- none: false
70
- requirements:
71
- - - ">="
72
- - !ruby/object:Gem::Version
73
- hash: 3
74
- segments:
75
- - 0
76
- version: "0"
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: yard
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
77
62
  type: :development
78
- version_requirements: *id004
79
- - !ruby/object:Gem::Dependency
80
- name: rake
81
63
  prerelease: false
82
- requirement: &id005 !ruby/object:Gem::Requirement
83
- none: false
84
- requirements:
85
- - - ">="
86
- - !ruby/object:Gem::Version
87
- hash: 3
88
- segments:
89
- - 0
90
- version: "0"
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
91
76
  type: :development
92
- version_requirements: *id005
93
- description: SHALMANESER - SHALlow seMANntic parSER.
94
- email: a.belenkow@uni-trier.de
95
- executables: []
96
-
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ description: |
84
+ SHALMANESER - SHALlow seMANtic parSER. This package provides a toolbox for
85
+ Semantic Role Labeling (SRL). SHALMANESER uses supervised learning algorithms to
86
+ assing semantic classes and roles to raw texts. It is paradigm agnostic, i.e. it
87
+ can handle any role-semantic schema (FrameNET, PropBank etc.) and use any set
88
+ of word senses (e.g. WordNet synsets). SHALMANESER emerged as part of the SALSA
89
+ Project at the University of Saarbrücken.
90
+ email: arbox@yandex.ru
91
+ executables:
92
+ - frprep
93
+ - fred
94
+ - rosy
97
95
  extensions: []
98
-
99
- extra_rdoc_files:
100
- - README.rdoc
101
- - LICENSE.rdoc
102
- - CHANGELOG.rdoc
103
- files:
104
- - lib/common/headz.rb
105
- - lib/common/SalsaTigerXMLHelper.rb
106
- - lib/common/Tree.rb
96
+ extra_rdoc_files:
97
+ - README.md
98
+ - LICENSE.md
99
+ - CHANGELOG.md
100
+ files:
101
+ - lib/common/AbstractSynInterface.rb
107
102
  - lib/common/ConfigData.rb
108
- - lib/common/Tiger.rb
109
- - lib/common/BerkeleyInterface.rb
103
+ - lib/common/Counter.rb
104
+ - lib/common/DBInterface.rb
105
+ - lib/common/EnduserMode.rb
106
+ - lib/common/Eval.rb
110
107
  - lib/common/FixSynSemMapping.rb
111
108
  - lib/common/FrPrepConfigData.rb
112
- - lib/common/ISO-8859-1.rb
113
- - lib/common/TreetaggerInterface.rb
114
- - lib/common/SalsaTigerRegXML.rb
115
- - lib/common/EnduserMode.rb
116
- - lib/common/Parser.rb
117
- - lib/common/AbstractSynInterface.rb
118
- - lib/common/STXmlTerminalOrder.rb
119
- - lib/common/DBInterface.rb
120
- - lib/common/RosyConventions.rb
121
- - lib/common/RegXML.rb
122
- - lib/common/MiniparInterface.rb
123
- - lib/common/SynInterfaces.rb
124
- - lib/common/SleepyInterface.rb
125
- - lib/common/ruby_class_extensions.rb
126
109
  - lib/common/Graph.rb
127
- - lib/common/TntInterface.rb
128
- - lib/common/Counter.rb
110
+ - lib/common/ISO-8859-1.rb
111
+ - lib/common/ML.rb
112
+ - lib/common/Mallet.rb
129
113
  - lib/common/Maxent.rb
130
- - lib/common/CollinsInterface.rb
131
- - lib/common/FrprepHelper.rb
132
- - lib/common/Eval.rb
133
114
  - lib/common/Optimise.rb
115
+ - lib/common/Parser.rb
116
+ - lib/common/RegXML.rb
117
+ - lib/common/RosyConventions.rb
134
118
  - lib/common/SQLQuery.rb
119
+ - lib/common/STXmlTerminalOrder.rb
120
+ - lib/common/SalsaTigerRegXML.rb
121
+ - lib/common/SalsaTigerXMLHelper.rb
122
+ - lib/common/SynInterfaces.rb
135
123
  - lib/common/TabFormat.rb
136
- - lib/common/ML.rb
124
+ - lib/common/Tiger.rb
125
+ - lib/common/Timbl.rb
126
+ - lib/common/Tree.rb
127
+ - lib/common/frprep_helper.rb
128
+ - lib/common/headz.rb
137
129
  - lib/common/option_parser.rb
138
- - lib/frprep/headz.rb
139
- - lib/frprep/SalsaTigerXMLHelper.rb
140
- - lib/frprep/Tree.rb
141
- - lib/frprep/opt_parser.rb
142
- - lib/frprep/ConfigData.rb
143
- - lib/frprep/Tiger.rb
144
- - lib/frprep/BerkeleyInterface.rb
145
- - lib/frprep/FixSynSemMapping.rb
130
+ - lib/common/ruby_class_extensions.rb
131
+ - lib/fred/Baseline.rb
132
+ - lib/fred/FileZipped.rb
133
+ - lib/fred/FredBOWContext.rb
134
+ - lib/fred/FredConfigData.rb
135
+ - lib/fred/FredConventions.rb
136
+ - lib/fred/FredDetermineTargets.rb
137
+ - lib/fred/FredEval.rb
138
+ - lib/fred/FredFeatureExtractors.rb
139
+ - lib/fred/FredFeatures.rb
140
+ - lib/fred/FredFeaturize.rb
141
+ - lib/fred/FredNumTrainingSenses.rb
142
+ - lib/fred/FredParameters.rb
143
+ - lib/fred/FredSplit.rb
144
+ - lib/fred/FredSplitPkg.rb
145
+ - lib/fred/FredTest.rb
146
+ - lib/fred/FredTrain.rb
147
+ - lib/fred/PlotAndREval.rb
148
+ - lib/fred/fred.rb
149
+ - lib/fred/md5.rb
150
+ - lib/fred/opt_parser.rb
151
+ - lib/frprep/Ampersand.rb
152
+ - lib/frprep/CollinsInterface.rb
153
+ - lib/frprep/Counter.rb
146
154
  - lib/frprep/FNCorpusXML.rb
147
- - lib/frprep/FrPrepConfigData.rb
148
- - lib/frprep/ISO-8859-1.rb
149
- - lib/frprep/TreetaggerInterface.rb
150
- - lib/frprep/SalsaTigerRegXML.rb
151
- - lib/frprep/Parser.rb
152
- - lib/frprep/AbstractSynInterface.rb
153
- - lib/frprep/STXmlTerminalOrder.rb
154
- - lib/frprep/RegXML.rb
155
+ - lib/frprep/FNDatabase.rb
156
+ - lib/frprep/FrameXML.rb
157
+ - lib/frprep/Graph.rb
155
158
  - lib/frprep/MiniparInterface.rb
156
- - lib/frprep/SynInterfaces.rb
159
+ - lib/frprep/RegXML.rb
160
+ - lib/frprep/STXmlTerminalOrder.rb
157
161
  - lib/frprep/SleepyInterface.rb
158
- - lib/frprep/one_parsed_file.rb
159
- - lib/frprep/do_parses.rb
160
- - lib/frprep/ruby_class_extensions.rb
161
- - lib/frprep/Graph.rb
162
162
  - lib/frprep/TntInterface.rb
163
- - lib/frprep/Counter.rb
164
- - lib/frprep/FrameXML.rb
165
- - lib/frprep/CollinsInterface.rb
166
- - lib/frprep/FrprepHelper.rb
163
+ - lib/frprep/TreetaggerInterface.rb
164
+ - lib/frprep/do_parses.rb
167
165
  - lib/frprep/frprep.rb
168
- - lib/frprep/Ampersand.rb
169
- - lib/frprep/TabFormat.rb
170
- - lib/frprep/FNDatabase.rb
171
- - lib/rosy/RosyInspect.rb
172
- - lib/rosy/RosyFeaturize.rb
173
- - lib/rosy/RosyTrain.rb
174
- - lib/rosy/rosy.rb
166
+ - lib/frprep/interfaces/berkeley_interface.rb
167
+ - lib/frprep/interfaces/stanford_interface.rb
168
+ - lib/frprep/interpreters/berkeley_interpreter.rb
169
+ - lib/frprep/interpreters/stanford_interpreter.rb
170
+ - lib/frprep/one_parsed_file.rb
171
+ - lib/frprep/opt_parser.rb
172
+ - lib/frprep/ruby_class_extensions.rb
173
+ - lib/rosy/AbstractFeatureAndExternal.rb
174
+ - lib/rosy/DBMySQL.rb
175
+ - lib/rosy/DBSQLite.rb
176
+ - lib/rosy/DBTable.rb
175
177
  - lib/rosy/DBWrapper.rb
176
- - lib/rosy/opt_parser.rb
177
178
  - lib/rosy/ExternalConfigData.rb
178
- - lib/rosy/RosyPruning.rb
179
+ - lib/rosy/FailedParses.rb
180
+ - lib/rosy/FeatureInfo.rb
179
181
  - lib/rosy/GfInduce.rb
182
+ - lib/rosy/GfInduceFeature.rb
183
+ - lib/rosy/InputData.rb
184
+ - lib/rosy/RosyConfigData.rb
185
+ - lib/rosy/RosyConfusability.rb
180
186
  - lib/rosy/RosyEval.rb
181
- - lib/rosy/View.rb
182
- - lib/rosy/DBMySQL.rb
187
+ - lib/rosy/RosyFeatureExtractors.rb
188
+ - lib/rosy/RosyFeaturize.rb
189
+ - lib/rosy/RosyInspect.rb
190
+ - lib/rosy/RosyIterator.rb
183
191
  - lib/rosy/RosyPhase2FeatureExtractors.rb
192
+ - lib/rosy/RosyPruning.rb
184
193
  - lib/rosy/RosyServices.rb
194
+ - lib/rosy/RosySplit.rb
185
195
  - lib/rosy/RosyTask.rb
186
196
  - lib/rosy/RosyTest.rb
187
- - lib/rosy/FailedParses.rb
188
- - lib/rosy/RosyFeatureExtractors.rb
189
- - lib/rosy/AbstractFeatureAndExternal.rb
190
- - lib/rosy/RosyIterator.rb
191
- - lib/rosy/FeatureInfo.rb
197
+ - lib/rosy/RosyTrain.rb
192
198
  - lib/rosy/RosyTrainingTestTable.rb
193
- - lib/rosy/GfInduceFeature.rb
194
- - lib/rosy/InputData.rb
195
- - lib/rosy/DBTable.rb
196
- - lib/rosy/RosyConfusability.rb
197
199
  - lib/rosy/TargetsMostFrequentFrame.rb
198
- - lib/rosy/RosySplit.rb
199
- - lib/rosy/DBSQLite.rb
200
- - lib/rosy/RosyConfigData.rb
200
+ - lib/rosy/View.rb
201
+ - lib/rosy/opt_parser.rb
202
+ - lib/rosy/rosy.rb
201
203
  - lib/shalmaneser/version.rb
202
- - lib/fred/FredFeatures.rb
203
- - lib/fred/md5.rb
204
- - lib/fred/opt_parser.rb
205
- - lib/fred/FredConventions.rb
206
- - lib/fred/FredSplitPkg.rb
207
- - lib/fred/FredDetermineTargets.rb
208
- - lib/fred/FredTest.rb
209
- - lib/fred/fred.rb
210
- - lib/fred/FredTrain.rb
211
- - lib/fred/FredFeatureExtractors.rb
212
- - lib/fred/Baseline.rb
213
- - lib/fred/PlotAndREval.rb
214
- - lib/fred/FredConfigData.rb
215
- - lib/fred/FredEval.rb
216
- - lib/fred/FredSplit.rb
217
- - lib/fred/FredBOWContext.rb
218
- - lib/fred/FileZipped.rb
219
- - lib/fred/FredParameters.rb
220
- - lib/fred/FredNumTrainingSenses.rb
221
- - lib/fred/FredFeaturize.rb
222
- - README.rdoc
223
- - LICENSE.rdoc
224
- - CHANGELOG.rdoc
204
+ - README.md
205
+ - LICENSE.md
206
+ - CHANGELOG.md
225
207
  - .yardopts
226
208
  - test/frprep/test_opt_parser.rb
227
- - test/functional/test_rosy.rb
228
- - test/functional/test_frprep.rb
229
- - test/functional/test_fred.rb
230
209
  - test/functional/functional_test_helper.rb
231
- - test/functional/sample_experiment_files/prp_test.salsa.rosy.standalone.erb
232
- - test/functional/sample_experiment_files/rosy_train.salsa.erb
233
- - test/functional/sample_experiment_files/rosy_test.salsa.erb
210
+ - test/functional/test_fred.rb
211
+ - test/functional/test_frprep.rb
212
+ - test/functional/test_rosy.rb
213
+ - test/functional/sample_experiment_files/fred_test.salsa.erb
234
214
  - test/functional/sample_experiment_files/fred_train.salsa.erb
235
- - test/functional/sample_experiment_files/prp_train.salsa.fred.standalone.erb
215
+ - test/functional/sample_experiment_files/prp_test.salsa.erb
236
216
  - test/functional/sample_experiment_files/prp_test.salsa.fred.standalone.erb
237
- - test/functional/sample_experiment_files/fred_test.salsa.erb
217
+ - test/functional/sample_experiment_files/prp_test.salsa.rosy.standalone.erb
238
218
  - test/functional/sample_experiment_files/prp_train.salsa.erb
219
+ - test/functional/sample_experiment_files/prp_train.salsa.fred.standalone.erb
239
220
  - test/functional/sample_experiment_files/prp_train.salsa.rosy.standalone.erb
240
- - test/functional/sample_experiment_files/prp_test.salsa.erb
241
- homepage: http://www.uni-trier.de/index.php?id=34451
242
- licenses: []
221
+ - test/functional/sample_experiment_files/rosy_test.salsa.erb
222
+ - test/functional/sample_experiment_files/rosy_train.salsa.erb
223
+ - bin/frprep
224
+ - bin/fred
225
+ - bin/rosy
226
+ homepage: https://github.com/arbox/shalmaneser
227
+ licenses:
228
+ - GPL-2.0
229
+ metadata: {}
230
+ post_install_message: |2+
243
231
 
244
- post_install_message:
245
- rdoc_options:
232
+ Thank you for installing Shalmaneser 1.2.0.rc1!
233
+
234
+ This software package has multiple external dependencies:
235
+ - OpenNLP Maximum Entropy Classifier;
236
+ - Berkeley Parser;
237
+ - Stanford Parser;
238
+ - Collins Parser;
239
+ - TreeTagger;
240
+ - MySQL Database Server etc.
241
+
242
+ Please proceede to installation instructions on our wiki:
243
+ https://github.com/arbox/shalmaneser/wiki/Installation
244
+
245
+ If you find any bugs or have questions consider opeing a ticket:
246
+ https://github.com/arbox/shalmaneser/issues
247
+
248
+ rdoc_options:
246
249
  - -m
247
- - README.rdoc
248
- require_paths:
250
+ - README.md
251
+ require_paths:
249
252
  - lib
250
- required_ruby_version: !ruby/object:Gem::Requirement
251
- none: false
252
- requirements:
253
- - - "="
254
- - !ruby/object:Gem::Version
255
- hash: 57
256
- segments:
257
- - 1
258
- - 8
259
- - 7
253
+ required_ruby_version: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - '>='
256
+ - !ruby/object:Gem::Version
260
257
  version: 1.8.7
261
- required_rubygems_version: !ruby/object:Gem::Requirement
262
- none: false
263
- requirements:
264
- - - ">"
265
- - !ruby/object:Gem::Version
266
- hash: 25
267
- segments:
268
- - 1
269
- - 3
270
- - 1
258
+ required_rubygems_version: !ruby/object:Gem::Requirement
259
+ requirements:
260
+ - - '>'
261
+ - !ruby/object:Gem::Version
271
262
  version: 1.3.1
272
263
  requirements: []
273
-
274
264
  rubyforge_project:
275
- rubygems_version: 1.8.24
265
+ rubygems_version: 2.0.14
276
266
  signing_key:
277
- specification_version: 3
278
- summary: SHALMANESER
279
- test_files:
267
+ specification_version: 4
268
+ summary: SHALMANESER - SHALlow seMANtic parSER
269
+ test_files:
280
270
  - test/frprep/test_opt_parser.rb
281
- - test/functional/test_rosy.rb
282
- - test/functional/test_frprep.rb
283
- - test/functional/test_fred.rb
284
271
  - test/functional/functional_test_helper.rb
272
+ - test/functional/test_fred.rb
273
+ - test/functional/test_frprep.rb
274
+ - test/functional/test_rosy.rb
275
+ has_rdoc: