stanfordparser 2.1.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README +1 -0
  2. data/lib/stanfordparser.rb +2 -2
  3. metadata +2 -2
data/README CHANGED
@@ -109,6 +109,7 @@ Unlike their parents StanfordParser::DocumentPreprocessor and StanfordParser::Le
109
109
  1.2.0:: Read Java VM arguments from the configuration file. Add Word class.
110
110
  2.0.0:: Add support for standoff parsing. Change the way Rjb::JavaObjectWrapper wraps returned values: see wrap_java_object for details. Rjb::JavaObjectWrapper supports static members. Minor changes to stanford-sentence-parser script.
111
111
  2.1.0:: Different default paths for Windows machines; Minor changes to StandoffToken definition
112
+ 2.2.0:: Add parent information to StandoffNode
112
113
 
113
114
  = Copyright
114
115
 
@@ -34,7 +34,7 @@ require "java_object.rb"
34
34
  # Parser}[http://nlp.stanford.edu/downloads/lex-parser.shtml].
35
35
  module StanfordParser
36
36
 
37
- VERSION = "2.1.0"
37
+ VERSION = "2.2.0"
38
38
 
39
39
  # The default sentence segmenter and tokenizer. This is an English-language
40
40
  # tokenizer with support for Penn Treebank markup.
@@ -365,7 +365,7 @@ module StanfordParser
365
365
  # with the appropriate StandoffToken objects. Standoff parses can reproduce
366
366
  # the original string from which they were generated verbatim, optionally
367
367
  # with brackets around the yields of specified non-terminal nodes.
368
- class StandoffNode < Treebank::Node
368
+ class StandoffNode < Treebank::ParentedNode
369
369
  # Create the standoff tree from a tree returned by the Stanford parser.
370
370
  # For non-terminal nodes, the <em>tokens</em> argument will be a
371
371
  # StandoffSentence containing the StandoffToken objects representing all
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: stanfordparser
5
5
  version: !ruby/object:Gem::Version
6
- version: 2.1.0
7
- date: 2008-06-23 00:00:00 -07:00
6
+ version: 2.2.0
7
+ date: 2008-10-10 00:00:00 -07:00
8
8
  summary: Ruby wrapper for the Stanford Natural Language Parser
9
9
  require_paths:
10
10
  - lib