shalmaneser 1.2.0.rc4 → 1.2.rc5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +47 -18
  3. data/bin/shalmaneser +8 -2
  4. data/doc/index.md +1 -0
  5. data/lib/shalmaneser/opt_parser.rb +68 -67
  6. metadata +49 -119
  7. data/bin/fred +0 -16
  8. data/bin/frprep +0 -34
  9. data/bin/rosy +0 -17
  10. data/lib/common/AbstractSynInterface.rb +0 -1229
  11. data/lib/common/Counter.rb +0 -18
  12. data/lib/common/EnduserMode.rb +0 -27
  13. data/lib/common/Eval.rb +0 -480
  14. data/lib/common/FixSynSemMapping.rb +0 -196
  15. data/lib/common/Graph.rb +0 -345
  16. data/lib/common/ISO-8859-1.rb +0 -24
  17. data/lib/common/ML.rb +0 -186
  18. data/lib/common/Mallet.rb +0 -236
  19. data/lib/common/Maxent.rb +0 -229
  20. data/lib/common/Optimise.rb +0 -195
  21. data/lib/common/Parser.rb +0 -213
  22. data/lib/common/RegXML.rb +0 -269
  23. data/lib/common/RosyConventions.rb +0 -171
  24. data/lib/common/STXmlTerminalOrder.rb +0 -194
  25. data/lib/common/SalsaTigerRegXML.rb +0 -2347
  26. data/lib/common/SalsaTigerXMLHelper.rb +0 -99
  27. data/lib/common/SynInterfaces.rb +0 -282
  28. data/lib/common/TabFormat.rb +0 -721
  29. data/lib/common/Tiger.rb +0 -1448
  30. data/lib/common/Timbl.rb +0 -144
  31. data/lib/common/Tree.rb +0 -61
  32. data/lib/common/config_data.rb +0 -470
  33. data/lib/common/config_format_element.rb +0 -220
  34. data/lib/common/headz.rb +0 -338
  35. data/lib/common/option_parser.rb +0 -13
  36. data/lib/common/prep_config_data.rb +0 -62
  37. data/lib/common/prep_helper.rb +0 -1330
  38. data/lib/common/ruby_class_extensions.rb +0 -310
  39. data/lib/db/db_interface.rb +0 -48
  40. data/lib/db/db_mysql.rb +0 -145
  41. data/lib/db/db_sqlite.rb +0 -280
  42. data/lib/db/db_table.rb +0 -239
  43. data/lib/db/db_wrapper.rb +0 -176
  44. data/lib/db/sql_query.rb +0 -243
  45. data/lib/ext/maxent/Classify.class +0 -0
  46. data/lib/ext/maxent/Train.class +0 -0
  47. data/lib/fred/Baseline.rb +0 -150
  48. data/lib/fred/FileZipped.rb +0 -31
  49. data/lib/fred/FredBOWContext.rb +0 -877
  50. data/lib/fred/FredConventions.rb +0 -232
  51. data/lib/fred/FredDetermineTargets.rb +0 -319
  52. data/lib/fred/FredEval.rb +0 -312
  53. data/lib/fred/FredFeatureExtractors.rb +0 -322
  54. data/lib/fred/FredFeatures.rb +0 -1061
  55. data/lib/fred/FredFeaturize.rb +0 -602
  56. data/lib/fred/FredNumTrainingSenses.rb +0 -27
  57. data/lib/fred/FredParameters.rb +0 -402
  58. data/lib/fred/FredSplit.rb +0 -84
  59. data/lib/fred/FredSplitPkg.rb +0 -180
  60. data/lib/fred/FredTest.rb +0 -606
  61. data/lib/fred/FredTrain.rb +0 -144
  62. data/lib/fred/PlotAndREval.rb +0 -480
  63. data/lib/fred/fred.rb +0 -47
  64. data/lib/fred/fred_config_data.rb +0 -185
  65. data/lib/fred/md5.rb +0 -23
  66. data/lib/fred/opt_parser.rb +0 -250
  67. data/lib/frprep/Ampersand.rb +0 -39
  68. data/lib/frprep/CollinsInterface.rb +0 -1165
  69. data/lib/frprep/Counter.rb +0 -18
  70. data/lib/frprep/FNCorpusXML.rb +0 -643
  71. data/lib/frprep/FNDatabase.rb +0 -144
  72. data/lib/frprep/FrameXML.rb +0 -513
  73. data/lib/frprep/Graph.rb +0 -345
  74. data/lib/frprep/MiniparInterface.rb +0 -1388
  75. data/lib/frprep/RegXML.rb +0 -269
  76. data/lib/frprep/STXmlTerminalOrder.rb +0 -194
  77. data/lib/frprep/SleepyInterface.rb +0 -384
  78. data/lib/frprep/TntInterface.rb +0 -44
  79. data/lib/frprep/TreetaggerInterface.rb +0 -327
  80. data/lib/frprep/do_parses.rb +0 -143
  81. data/lib/frprep/frprep.rb +0 -693
  82. data/lib/frprep/interfaces/berkeley_interface.rb +0 -372
  83. data/lib/frprep/interfaces/stanford_interface.rb +0 -353
  84. data/lib/frprep/interpreters/berkeley_interpreter.rb +0 -22
  85. data/lib/frprep/interpreters/stanford_interpreter.rb +0 -22
  86. data/lib/frprep/one_parsed_file.rb +0 -28
  87. data/lib/frprep/opt_parser.rb +0 -94
  88. data/lib/frprep/ruby_class_extensions.rb +0 -310
  89. data/lib/rosy/AbstractFeatureAndExternal.rb +0 -242
  90. data/lib/rosy/ExternalConfigData.rb +0 -58
  91. data/lib/rosy/FailedParses.rb +0 -130
  92. data/lib/rosy/FeatureInfo.rb +0 -242
  93. data/lib/rosy/GfInduce.rb +0 -1115
  94. data/lib/rosy/GfInduceFeature.rb +0 -148
  95. data/lib/rosy/InputData.rb +0 -294
  96. data/lib/rosy/RosyConfusability.rb +0 -338
  97. data/lib/rosy/RosyEval.rb +0 -465
  98. data/lib/rosy/RosyFeatureExtractors.rb +0 -1609
  99. data/lib/rosy/RosyFeaturize.rb +0 -281
  100. data/lib/rosy/RosyInspect.rb +0 -336
  101. data/lib/rosy/RosyIterator.rb +0 -478
  102. data/lib/rosy/RosyPhase2FeatureExtractors.rb +0 -230
  103. data/lib/rosy/RosyPruning.rb +0 -165
  104. data/lib/rosy/RosyServices.rb +0 -744
  105. data/lib/rosy/RosySplit.rb +0 -232
  106. data/lib/rosy/RosyTask.rb +0 -19
  107. data/lib/rosy/RosyTest.rb +0 -829
  108. data/lib/rosy/RosyTrain.rb +0 -234
  109. data/lib/rosy/RosyTrainingTestTable.rb +0 -787
  110. data/lib/rosy/TargetsMostFrequentFrame.rb +0 -60
  111. data/lib/rosy/View.rb +0 -418
  112. data/lib/rosy/opt_parser.rb +0 -379
  113. data/lib/rosy/rosy.rb +0 -78
  114. data/lib/rosy/rosy_config_data.rb +0 -121
  115. data/lib/shalmaneser/version.rb +0 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4c95a6bc0ac36a239b3014dda1fc240790e99e10
4
- data.tar.gz: 469f70a4fc236755f626a48493aaa68bc3d4639e
3
+ metadata.gz: 996d71f040cf80b2e3af34037c3f36de2ad61d15
4
+ data.tar.gz: 3f357cfa0aa4bbd4de8462d5da54211cb33d855a
5
5
  SHA512:
6
- metadata.gz: 5be8c42e0d322d429896a1b55a0330c977f8f47cfdb52e6174f043dc9e46f61bd2464fe6feb642151caf070a70c55f4a335557f02b98b934f5b6ec04ed797f9f
7
- data.tar.gz: 54390d8388a780003247794806ee9427d7889aa72e1af54ec968d52d728fc323361816bf2b1823f18249a3b1396320497440afe37addfc86969fd255fe830a54
6
+ metadata.gz: 7ec9ac1370bfc2082f45c37f1a5a57856041ac18d89f2aaf0324cf522f71662073a913bd85fb1d4a4c0dfd81d83122acb4289c9704ce9ca4100ec58c7755cbe9
7
+ data.tar.gz: d68d6cedfa9ca168a7600615b502e0b712e62a4bcce3590685390cbe8e19002662055076b67ff40ef62ffb421321f21f5ce50dd647a40c75b950088322e1267b
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # [SHALMANESER - a SHALlow seMANtic parSER](http://www.coli.uni-saarland.de/projects/salsa/shal/)
1
+ # SHALMANESER
2
2
 
3
3
  [RubyGems](http://rubygems.org/gems/shalmaneser) |
4
4
  [Shalmanesers Project Page](http://bu.chsta.be/projects/shalmaneser/) |
@@ -7,9 +7,9 @@
7
7
 
8
8
 
9
9
  [![Gem Version](https://img.shields.io/gem/v/shalmaneser.svg")](https://rubygems.org/gems/shalmaneser)
10
- [![Gem Version](https://img.shields.io/gem/v/frprep.svg")](https://rubygems.org/gems/frprep)
11
- [![Gem Version](https://img.shields.io/gem/v/fred.svg")](https://rubygems.org/gems/fred)
12
- [![Gem Version](https://img.shields.io/gem/v/rosy.svg")](https://rubygems.org/gems/rosy)
10
+ [![Gem Version](https://img.shields.io/gem/v/frprep.svg")](https://rubygems.org/gems/shalmaneser-prep)
11
+ [![Gem Version](https://img.shields.io/gem/v/fred.svg")](https://rubygems.org/gems/shalmaneser-fred)
12
+ [![Gem Version](https://img.shields.io/gem/v/rosy.svg")](https://rubygems.org/gems/shalmaneser-rosy)
13
13
 
14
14
 
15
15
  [![License GPL 2](http://img.shields.io/badge/License-GPL%202-green.svg)](http://www.gnu.org/licenses/gpl-2.0.txt)
@@ -17,12 +17,44 @@
17
17
  [![Code Climate](https://img.shields.io/codeclimate/github/arbox/shalmaneser.svg")](https://codeclimate.com/github/arbox/shalmaneser)
18
18
  [![Dependency Status](https://img.shields.io/gemnasium/arbox/shalmaneser.svg")](https://gemnasium.com/arbox/shalmaneser)
19
19
 
20
+ [SHALMANESER](http://www.coli.uni-saarland.de/projects/salsa/shal/) is a SHALlow seMANtic parSER.
21
+
22
+ The name Shalmaneser is borrowed from John Brunner. He describes in his novel
23
+ "Stand on Zanzibar" an all knowing supercomputer baptized Shalmaneser.
24
+
25
+ Shalmaneser also has other origins like the king [Shalmaneser III](https://en.wikipedia.org/wiki/Shalmaneser_III).
26
+
27
+ > "SCANALYZER is the one single, the ONLY study of the news in depth
28
+ > that’s processed by General Technics’ famed computer Shalmaneser,
29
+ > who sees all, hears all, knows all save only that which YOU, Mr. and Mrs.
30
+ > Everywhere, wish to keep to yourselves." <br/>
31
+ > John Brunner (1968) "Stand on Zanzibar"
32
+
33
+ > But Shalmaneser is a Micryogenic® computer bathed in liquid helium and it’s cold in his vault. <br/>
34
+ > John Brunner (1968) "Stand on Zanzibar"
35
+
36
+ > “Of course not. Shalmaneser’s main task is to achieve the impossible again, a routine undertaking here at GT.” <br/>
37
+ > John Brunner (1968) "Stand on Zanzibar"
38
+
39
+ > “They programmed Shalmaneser with the formula for this stiffener, see, and…” <br/>
40
+ > John Brunner (1968) "Stand on Zanzibar"
41
+
42
+ > What am I going to do now? <br/>
43
+ > “All right, Shalmaneser!” <br/>
44
+ > John Brunner (1968) "Stand on Zanzibar"
45
+
46
+ > Shalmaneser is a Micryogenic® computer bathed in liquid helium and there’s no sign of Teresa. <br/>
47
+ > John Brunner (1968) "Stand on Zanzibar"
48
+
49
+ > Bathed in his currents of liquid helium, self-contained, immobile, vastly well informed by every mechanical sense: Shalmaneser. <br/>
50
+ > John Brunner (1968) "Stand on Zanzibar"
51
+
20
52
  ## Description
21
53
 
22
54
  Please be careful, the whole thing is under construction! For now Shalmaneser it not intended to run on Windows systems since it heavily uses system calls for external invocations.
23
55
  Current versions of Shalmaneser have been tested on Linux only (other *NIX testers are welcome!).
24
56
 
25
- Shalmaneser is a supervised learning toolbox for shallow semantic parsing, i.e. the automatic assignment of semantic classes and roles to text. This technique is often called SRL (Semantic Role Labelling). The system was developed for Frame Semantics; thus we use Frame Semantics terminology and call the classes frames and the roles frame elements. However, the architecture is reasonably general, and with a certain amount of adaption, Shalmaneser should be usable for other paradigms (e.g., PropBank roles) as well. Shalmaneser caters both for end users, and for researchers.
57
+ Shalmaneser is a supervised learning toolbox for shallow semantic parsing, i.e. the automatic assignment of semantic classes and roles to text. This technique is often called [SRL](https://en.wikipedia.org/wiki/Semantic_role_labeling) (Semantic Role Labelling). The system was developed for Frame Semantics; thus we use Frame Semantics terminology and call the classes frames and the roles frame elements. However, the architecture is reasonably general, and with a certain amount of adaption, Shalmaneser should be usable for other paradigms (e.g., PropBank roles) as well. Shalmaneser caters both for end users, and for researchers.
26
58
 
27
59
  For end users, we provide a simple end user mode which can simply apply the pre-trained classifiers
28
60
  for [English](http://www.coli.uni-saarland.de/projects/salsa/shal/index.php?nav=download) (FrameNet 1.3 annotation / Collins parser)
@@ -34,32 +66,27 @@ For researchers interested in investigating shallow semantic parsing, our system
34
66
 
35
67
  ## Origin
36
68
 
37
- The original version of Shalmaneser was written by Sebastian Padó, Katrin Erk and others during their work in the SALSA Project.
69
+ The original version of Shalmaneser was written by Sebastian Padó, Katrin Erk, Alexander Koller, Ines Rehbein, Aljoscha Burchardt and others during their work in the SALSA Project.
38
70
 
39
71
  You can find original versions of Shalmaneser up to ``1.1`` on the [SALSA](http://www.coli.uni-saarland.de/projects/salsa/shal/) project page.
40
72
 
41
73
  ## Publications on Shalmaneser
42
74
 
43
75
  - K. Erk and S. Padó: Shalmaneser - a flexible toolbox for semantic role assignment. Proceedings of LREC 2006, Genoa, Italy. [Click here for details](http://www.nlpado.de/~sebastian/pub/papers/lrec06_erk.pdf).
76
+
44
77
  - TODO: add other works
45
78
 
46
79
  ## Documentation
47
80
 
48
- The project documentation can be found in our [doc](https://github.com/arbox/shalmaneser/blob/1.2/doc/index.md) folder.
81
+ The project documentation can be found in our [doc](https://github.com/arbox/shalmaneser/blob/master/doc/index.md) folder.
49
82
 
50
83
  ## Development
51
84
 
52
- We are working now on two branches:
53
-
54
- - ``dev`` - our development branch incorporating actual changes, for now pointing to ``1.2``;
55
-
56
- - ``1.2`` - intermediate target;
57
-
58
- - ``2.0`` - final target.
85
+ We are working now only on the `master` branch. For different intermediate versions see corresponding tags.
59
86
 
60
87
  ## Installation
61
88
 
62
- See the installation instructions in the [doc](https://github.com/arbox/shalmaneser/blob/1.2/doc/index.md#installation) folder.
89
+ See the installation instructions in the [doc](https://github.com/arbox/shalmaneser/blob/master/doc/index.md#installation) folder.
63
90
 
64
91
  ### Tokenizers
65
92
 
@@ -75,7 +102,7 @@ See the installation instructions in the [doc](https://github.com/arbox/shalmane
75
102
 
76
103
  ### Parsers
77
104
 
78
- - [BerkeleyParser](https://code.google.com/p/berkeleyparser/downloads/list)
105
+ - [BerkeleyParser](https://github.com/slavpetrov/berkeleyparser)
79
106
  - [Stanford Parser](http://nlp.stanford.edu/software/lex-parser.shtml)
80
107
  - [Collins Parser](http://www.cs.columbia.edu/~mcollins/code.html)
81
108
 
@@ -86,8 +113,10 @@ See the installation instructions in the [doc](https://github.com/arbox/shalmane
86
113
 
87
114
  ## License
88
115
 
89
- See the `LICENSE` file.
116
+ Shalmaneser is released under the `GPL v. 2.0` license as of the initial authors.
117
+
118
+ For a local copy of the full license text see the [LICENSE](LICENSE.md) file.
90
119
 
91
120
  ## Contributing
92
121
 
93
- See the `CONTRIBUTING` file.
122
+ Feel free to contact me via Github. Open an issue if you see problems or need help.
@@ -2,12 +2,18 @@
2
2
 
3
3
  require 'shalmaneser/opt_parser'
4
4
 
5
+ # require 'shalmaneser/frappe'
6
+ # require 'shalmaneser/fred'
7
+ # require 'shalmaneser/rosy'
8
+
5
9
  # Change for options to default <-h> for now.
6
- #cmd_args = ['-h']
10
+ # cmd_args = ['-h']
7
11
  cmd_args = ARGV
8
12
 
9
13
  begin
10
- options = Shalmaneser::OptParser.parse(cmd_args)
14
+ Shalmaneser::Shalmaneser::OptParser.parse(cmd_args)
15
+ # No real processing for this moment. Use Frappe, Fred and Rosy directly.
16
+ # This script is intended to replace the previous enduser mode.
11
17
  rescue
12
18
  raise
13
19
  end
@@ -8,6 +8,7 @@ You need the following items installed on your system:
8
8
  - a MySQL database server, your database must be large enough to hold the test data (in end user mode) plus any training data (for training new models in manual mode), e.g. training on the complete FrameNet 1.2 dataset requires about 1.5 GB of free space.
9
9
  - if you don't want to train classifiers from you own data, you need to download suitable classifiers from our homepage for available configurations (see for links later).
10
10
  - preprocessing tools for your language, at least the ones required for the use of pre-trained classifiers. Currently Shalmaneser provides interfaces for the following systems:
11
+
11
12
  <table>
12
13
  <tr>
13
14
  <th>System</th><th>Version</th>
@@ -1,81 +1,82 @@
1
1
  require 'optparse'
2
- require 'shalmaneser/version'
3
-
2
+ require 'definitions'
4
3
 
5
4
  module Shalmaneser
6
- class OptParser
7
-
8
- # Specify a default option first.
9
- ENCODINGS = %w{iso utf8 hex}
10
- LANGUAGES = %w{de en}
11
- PARSERS = %w{BerkeleyParser StanfordParser CollinsParser}
5
+ module Shalmaneser
6
+ class OptParser
12
7
 
13
- def self.parse(cmd_args)
8
+ # Specify a default option first.
9
+ ENCODINGS = %w(iso utf8 hex)
10
+ LANGUAGES = %w(de en)
11
+ PARSERS = %w(BerkeleyParser StanfordParser CollinsParser)
14
12
 
15
- parser = create_parser
13
+ def self.parse(cmd_args)
16
14
 
17
- if cmd_args.empty?
18
- cmd_args << '-h'
19
- end
15
+ parser = create_parser
16
+
17
+ if cmd_args.empty?
18
+ cmd_args << '-h'
19
+ end
20
20
 
21
- # Parse ARGV and provide the options hash.
22
- # Check if everything is correct and handle exceptions
23
- begin
24
- parser.parse(cmd_args)
25
- rescue OptionParser::InvalidArgument => e
26
- arg = e.message.split.last
27
- puts "The provided argument #{arg} is currently not supported by Shalmaneser!"
28
- puts 'Please colsult <shalmaneser --help>.'
29
- exit(1)
30
- rescue OptionParser::InvalidOption => e
31
- puts "You have provided an #{e.message}."
32
- puts 'Please colsult <shalmaneser --help>.'
33
- exit(1)
34
- rescue
35
- raise
21
+ # Parse ARGV and provide the options hash.
22
+ # Check if everything is correct and handle exceptions
23
+ begin
24
+ parser.parse(cmd_args)
25
+ rescue OptionParser::InvalidArgument => e
26
+ arg = e.message.split.last
27
+ puts "The provided argument #{arg} is currently not supported by Shalmaneser!"
28
+ puts 'Please colsult <shalmaneser --help>.'
29
+ exit(1)
30
+ rescue OptionParser::InvalidOption => e
31
+ puts "You have provided an #{e.message}."
32
+ puts 'Please colsult <shalmaneser --help>.'
33
+ exit(1)
34
+ rescue
35
+ raise
36
+ end
36
37
  end
37
- end
38
38
 
39
- def self.create_parser
40
- OptionParser.new do |opts|
41
- opts.banner = "CAUTION: Shalmaneser DOES NOT work in Enduser Mode for now!\n" +
42
- 'Usage: shalmaneser -i path [-o path -e enc -l lang -p parser]'
43
- opts.separator ''
44
- opts.separator 'Mandatory options:'
45
- opts.on('-i', '--input INPUTPATH', String,
46
- 'Path to directory with input files.')
47
- opts.separator ''
39
+ def self.create_parser
40
+ OptionParser.new do |opts|
41
+ opts.banner = "CAUTION: Shalmaneser DOES NOT work in Enduser Mode for now!\n"\
42
+ 'Usage: shalmaneser -i path [-o path -e enc -l lang -p parser]'
43
+ opts.separator ''
44
+ opts.separator 'Mandatory options:'
45
+ opts.on('-i', '--input INPUTPATH', String,
46
+ 'Path to directory with input files.')
47
+ opts.separator ''
48
+
49
+ opts.separator 'Facultative options:'
50
+ opts.on('-o', '--output OUTPUTPATH', String,
51
+ 'Path to directory for output files.',
52
+ 'If not set it defaults to <users home directory>.')
53
+ opts.on('-e', '--encoding ENCODING', ENCODINGS,
54
+ "Encoding of input files. Allowed encodings are: #{ENCODINGS.join(', ')}.",
55
+ "If not set it defaults to <#{ENCODINGS.first}>.")
56
+ opts.on('-l', '--language LANGUAGE', LANGUAGES,
57
+ "Language to be processed. Allowed language are: #{LANGUAGES.join(', ')}.",
58
+ "If not set it defaults to <#{LANGUAGES.first}>.")
59
+ opts.on('-p', '--parser PARSER', PARSERS,
60
+ "Parser name you want to use.",
61
+ "Implemented parsers are: #{PARSERS.join(', ')}.",
62
+ "If not set it defaults to <#{PARSERS.first}>.")
63
+ opts.on('--visualize', 'Open output files with SALTO.',
64
+ 'This is ignored if SALTO is not found on your system.')
48
65
 
49
- opts.separator 'Facultative options:'
50
- opts.on('-o', '--output OUTPUTPATH', String,
51
- 'Path to directory for output files.',
52
- 'If not set it defaults to <users home directory>.')
53
- opts.on('-e', '--encoding ENCODING', ENCODINGS,
54
- "Encoding of input files. Allowed encodings are: #{ENCODINGS.join(', ')}.",
55
- "If not set it defaults to <#{ENCODINGS.first}>.")
56
- opts.on('-l', '--language LANGUAGE', LANGUAGES,
57
- "Language to be processed. Allowed language are: #{LANGUAGES.join(', ')}.",
58
- "If not set it defaults to <#{LANGUAGES.first}>.")
59
- opts.on('-p', '--parser PARSER', PARSERS,
60
- "Parser name you want to use.",
61
- "Implemented parsers are: #{PARSERS.join(', ')}.",
62
- "If not set it defaults to <#{PARSERS.first}>.")
63
- opts.on('--visualize', 'Open output files with SALTO.',
64
- 'This is ignored if SALTO is not found on your system.')
66
+ opts.separator ''
67
+ opts.separator 'Common options:'
65
68
 
66
- opts.separator ''
67
- opts.separator 'Common options:'
69
+ opts.on_tail('-h', '--help', 'Show the help message.') do
70
+ puts opts
71
+ exit
72
+ end
68
73
 
69
- opts.on_tail('-h', '--help', 'Show the help message.') do
70
- puts opts
71
- exit
74
+ opts.on_tail('-v', '--version', 'Show the program version.') do
75
+ puts VERSION
76
+ exit
77
+ end
72
78
  end
73
-
74
- opts.on_tail('-v', '--version', 'Show the program version.') do
75
- puts VERSION
76
- exit
77
- end
78
79
  end
79
- end
80
- end # OptParser
81
- end # Shalmaneser
80
+ end # OptParser
81
+ end # Shalmaneser
82
+ end
metadata CHANGED
@@ -1,15 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shalmaneser
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0.rc4
4
+ version: 1.2.rc5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrei Beliankou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-04 00:00:00.000000000 Z
12
- dependencies: []
11
+ date: 2016-01-13 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: shalmaneser-frappe
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 1.2.rc5
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 1.2.rc5
27
+ - !ruby/object:Gem::Dependency
28
+ name: shalmaneser-fred
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 1.2.rc5
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 1.2.rc5
41
+ - !ruby/object:Gem::Dependency
42
+ name: shalmaneser-rosy
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 1.2.rc5
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 1.2.rc5
13
55
  description: |
14
56
  SHALMANESER - SHALlow seMANtic parSER. This package provides a toolbox for
15
57
  Semantic Role Labeling (SRL). SHALMANESER uses supervised learning algorithms to
@@ -20,9 +62,6 @@ description: |
20
62
  email: arbox@yandex.ru
21
63
  executables:
22
64
  - shalmaneser
23
- - frprep
24
- - fred
25
- - rosy
26
65
  extensions: []
27
66
  extra_rdoc_files:
28
67
  - README.md
@@ -35,119 +74,10 @@ files:
35
74
  - CHANGELOG.md
36
75
  - LICENSE.md
37
76
  - README.md
38
- - bin/fred
39
- - bin/frprep
40
- - bin/rosy
41
77
  - bin/shalmaneser
42
78
  - doc/exp_files.md
43
79
  - doc/index.md
44
- - lib/common/AbstractSynInterface.rb
45
- - lib/common/Counter.rb
46
- - lib/common/EnduserMode.rb
47
- - lib/common/Eval.rb
48
- - lib/common/FixSynSemMapping.rb
49
- - lib/common/Graph.rb
50
- - lib/common/ISO-8859-1.rb
51
- - lib/common/ML.rb
52
- - lib/common/Mallet.rb
53
- - lib/common/Maxent.rb
54
- - lib/common/Optimise.rb
55
- - lib/common/Parser.rb
56
- - lib/common/RegXML.rb
57
- - lib/common/RosyConventions.rb
58
- - lib/common/STXmlTerminalOrder.rb
59
- - lib/common/SalsaTigerRegXML.rb
60
- - lib/common/SalsaTigerXMLHelper.rb
61
- - lib/common/SynInterfaces.rb
62
- - lib/common/TabFormat.rb
63
- - lib/common/Tiger.rb
64
- - lib/common/Timbl.rb
65
- - lib/common/Tree.rb
66
- - lib/common/config_data.rb
67
- - lib/common/config_format_element.rb
68
- - lib/common/headz.rb
69
- - lib/common/option_parser.rb
70
- - lib/common/prep_config_data.rb
71
- - lib/common/prep_helper.rb
72
- - lib/common/ruby_class_extensions.rb
73
- - lib/db/db_interface.rb
74
- - lib/db/db_mysql.rb
75
- - lib/db/db_sqlite.rb
76
- - lib/db/db_table.rb
77
- - lib/db/db_wrapper.rb
78
- - lib/db/sql_query.rb
79
- - lib/ext/maxent/Classify.class
80
- - lib/ext/maxent/Train.class
81
- - lib/fred/Baseline.rb
82
- - lib/fred/FileZipped.rb
83
- - lib/fred/FredBOWContext.rb
84
- - lib/fred/FredConventions.rb
85
- - lib/fred/FredDetermineTargets.rb
86
- - lib/fred/FredEval.rb
87
- - lib/fred/FredFeatureExtractors.rb
88
- - lib/fred/FredFeatures.rb
89
- - lib/fred/FredFeaturize.rb
90
- - lib/fred/FredNumTrainingSenses.rb
91
- - lib/fred/FredParameters.rb
92
- - lib/fred/FredSplit.rb
93
- - lib/fred/FredSplitPkg.rb
94
- - lib/fred/FredTest.rb
95
- - lib/fred/FredTrain.rb
96
- - lib/fred/PlotAndREval.rb
97
- - lib/fred/fred.rb
98
- - lib/fred/fred_config_data.rb
99
- - lib/fred/md5.rb
100
- - lib/fred/opt_parser.rb
101
- - lib/frprep/Ampersand.rb
102
- - lib/frprep/CollinsInterface.rb
103
- - lib/frprep/Counter.rb
104
- - lib/frprep/FNCorpusXML.rb
105
- - lib/frprep/FNDatabase.rb
106
- - lib/frprep/FrameXML.rb
107
- - lib/frprep/Graph.rb
108
- - lib/frprep/MiniparInterface.rb
109
- - lib/frprep/RegXML.rb
110
- - lib/frprep/STXmlTerminalOrder.rb
111
- - lib/frprep/SleepyInterface.rb
112
- - lib/frprep/TntInterface.rb
113
- - lib/frprep/TreetaggerInterface.rb
114
- - lib/frprep/do_parses.rb
115
- - lib/frprep/frprep.rb
116
- - lib/frprep/interfaces/berkeley_interface.rb
117
- - lib/frprep/interfaces/stanford_interface.rb
118
- - lib/frprep/interpreters/berkeley_interpreter.rb
119
- - lib/frprep/interpreters/stanford_interpreter.rb
120
- - lib/frprep/one_parsed_file.rb
121
- - lib/frprep/opt_parser.rb
122
- - lib/frprep/ruby_class_extensions.rb
123
- - lib/rosy/AbstractFeatureAndExternal.rb
124
- - lib/rosy/ExternalConfigData.rb
125
- - lib/rosy/FailedParses.rb
126
- - lib/rosy/FeatureInfo.rb
127
- - lib/rosy/GfInduce.rb
128
- - lib/rosy/GfInduceFeature.rb
129
- - lib/rosy/InputData.rb
130
- - lib/rosy/RosyConfusability.rb
131
- - lib/rosy/RosyEval.rb
132
- - lib/rosy/RosyFeatureExtractors.rb
133
- - lib/rosy/RosyFeaturize.rb
134
- - lib/rosy/RosyInspect.rb
135
- - lib/rosy/RosyIterator.rb
136
- - lib/rosy/RosyPhase2FeatureExtractors.rb
137
- - lib/rosy/RosyPruning.rb
138
- - lib/rosy/RosyServices.rb
139
- - lib/rosy/RosySplit.rb
140
- - lib/rosy/RosyTask.rb
141
- - lib/rosy/RosyTest.rb
142
- - lib/rosy/RosyTrain.rb
143
- - lib/rosy/RosyTrainingTestTable.rb
144
- - lib/rosy/TargetsMostFrequentFrame.rb
145
- - lib/rosy/View.rb
146
- - lib/rosy/opt_parser.rb
147
- - lib/rosy/rosy.rb
148
- - lib/rosy/rosy_config_data.rb
149
80
  - lib/shalmaneser/opt_parser.rb
150
- - lib/shalmaneser/version.rb
151
81
  homepage: http://bu.chsta.be/projects/shalmaneser/
152
82
  licenses:
153
83
  - GPL-2.0
@@ -155,7 +85,7 @@ metadata:
155
85
  issue_tracker: https://github.com/arbox/shalmaneser/issues
156
86
  post_install_message: |2+
157
87
 
158
- Thank you for installing Shalmaneser 1.2.0.rc4!
88
+ Thank you for installing Shalmaneser 1.2.rc5!
159
89
 
160
90
  This software package has multiple external dependencies:
161
91
  - OpenNLP Maximum Entropy Classifier;
@@ -165,8 +95,8 @@ post_install_message: |2+
165
95
  - TreeTagger;
166
96
  - MySQL Database Server etc.
167
97
 
168
- Please proceede to installation instructions:
169
- https://github.com/arbox/shalmaneser/blob/1.2/doc/index.md
98
+ Please proceed to installation instructions:
99
+ https://github.com/arbox/shalmaneser/blob/master/doc/index.md
170
100
 
171
101
  If you find any bugs or have questions consider opeing a ticket:
172
102
  https://github.com/arbox/shalmaneser/issues
@@ -189,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
189
119
  requirements:
190
120
  - mysql-server
191
121
  rubyforge_project:
192
- rubygems_version: 2.4.5
122
+ rubygems_version: 2.5.1
193
123
  signing_key:
194
124
  specification_version: 4
195
125
  summary: SHALMANESER - SHALlow seMANtic parSER