linkparser 1.1.0 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,38 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'mkmf'
4
+
5
+ if lgdir = with_config( 'link-grammar' )
6
+ ENV['PATH'] = "#{lgdir}/bin" + File::PATH_SEPARATOR + ENV['PATH']
7
+ end
8
+
9
+ pkgconfig = with_config( 'pkg-config' ) || 'pkg-config'
10
+ pkgconfig = find_executable( pkgconfig ) or
11
+ abort "Couldn't find your pkg-config binary"
12
+
13
+ $LDFLAGS << ' ' + `#{pkgconfig} --libs-only-L link-grammar`.chomp
14
+ $CFLAGS << ' ' + `#{pkgconfig} --cflags link-grammar`.chomp
15
+
16
+
17
+ dir_config( 'link-grammar' )
18
+
19
+ find_library( "link-grammar", "dictionary_create" ) or
20
+ abort "Could not find Link-Grammar library" +
21
+ "(http://www.abisource.com/projects/link-grammar/#download)."
22
+
23
+ find_header( "link-grammar/link-includes.h" ) or
24
+ abort "Could not find link-includes.h"
25
+
26
+ unless have_func( "linkage_is_fat", 'link-grammar/link-includes.h' )
27
+ $stderr.puts "Your link-grammar library is too old for this binding.",
28
+ "Please upgrade to the latest version posted here:",
29
+ " http://www.abisource.com/projects/link-grammar/#download",
30
+ "and try again."
31
+ abort "No linkage_is_fat() in the installed link-grammar."
32
+ end
33
+
34
+ have_func( 'parse_options_get_spell_guess' )
35
+ have_func( 'linkage_get_disjunct_str' )
36
+
37
+ create_makefile( 'linkparser_ext' )
38
+
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * dict.c - Ruby LinkParser - Dictionary Class
3
- * $Id: dictionary.c,v 53ec62029ee4 2010/10/12 15:45:26 ged $
3
+ * $Id: dictionary.c,v 21df914cedb1 2010/10/12 15:45:26 ged $
4
4
  *
5
5
  * Authors:
6
6
  * * Michael Granger <ged@FaerieMUD.org>
@@ -6,93 +6,29 @@ if lgdir = with_config( 'link-grammar' )
6
6
  ENV['PATH'] = "#{lgdir}/bin" + File::PATH_SEPARATOR + ENV['PATH']
7
7
  end
8
8
 
9
- ### Read the output of a command using the fork+pipe syntax so execution errors
10
- ### propagate to Ruby.
11
- def read_cmd_output( *cmd )
12
- output = IO.read( '|-' ) or exec( *cmd )
13
- return output.chomp
14
- end
15
-
16
9
  pkgconfig = with_config( 'pkg-config' ) || 'pkg-config'
17
10
  pkgconfig = find_executable( pkgconfig ) or
18
- fail "Couldn't find your pkg-config binary"
19
-
20
- $LDFLAGS << read_cmd_output( pkgconfig, '--libs-only-L', 'link-grammar' )
21
- $CFLAGS << read_cmd_output( pkgconfig, '--cflags', 'link-grammar' )
22
-
23
- # Sort out the universal vs. single-archicture build problems on MacOS X
24
- if RUBY_PLATFORM.include?( 'darwin' )
25
- puts "MacOS X build: fixing architecture flags:"
26
-
27
- # Only keep the '-arch <a>' flags present in both the cflags reported
28
- # by pkg-config and those that Ruby specifies.
29
- commonflags = nil
30
- if ENV['ARCHFLAGS']
31
- puts " using the value in ARCHFLAGS environment variable (%p)." % [ ENV['ARCHFLAGS'] ]
32
- commonflags = ENV['ARCHFLAGS']
33
- elsif pkgconfig
34
- puts " finding flags common to both Ruby and link-grammar..."
35
- archflags = []
36
- pkgcflags = read_cmd_output( pkgconfig, '--cflags', 'link-grammar' )
37
- pkgcflags.scan( /-arch\s+(\S+)/ ).each do |arch|
38
- puts " testing for architecture: %p" % [ arch ]
39
- archflags << "-arch #{arch}" if Config::CONFIG['CFLAGS'].index("-arch #{arch}")
40
- end
41
-
42
- commonflags = archflags.join(' ')
43
- puts " common arch flags: %s" % [ commonflags ]
44
- else
45
- $stderr.puts %{
46
- =========== WARNING ===========
47
-
48
- You are building this extension on OS X without setting the
49
- ARCHFLAGS environment variable, and pkg-config wasn't found in
50
- your PATH. If you are seeing this message, that means that the
51
- build will probably fail.
52
-
53
- If it does, you can correct this by either including the path
54
- to 'pkg-config' in your PATH or setting the environment variable
55
- ARCHFLAGS to '-arch <arch>' before building.
11
+ abort "Couldn't find your pkg-config binary"
56
12
 
57
- For example:
58
- (in bash) $ export PATH=/opt/local/bin:$PATH
59
- $ export ARCHFLAGS='-arch x86_64'
60
- (in tcsh) % set path = ( /opt/local/bin $PATH )
61
- % setenv ARCHFLAGS '-arch x86_64'
62
-
63
- Then try building again.
64
-
65
- ===================================
66
- }.gsub( /^\t+/, ' ' )
67
- end
68
-
69
- if commonflags
70
- $CFLAGS.gsub!( /-arch\s+\S+ /, '' )
71
- $LDFLAGS.gsub!( /-arch\s+\S+ /, '' )
72
- CONFIG['LDSHARED'].gsub!( /-arch\s+\S+ /, '' )
73
-
74
- $CFLAGS << ' ' << commonflags
75
- $LDFLAGS << ' ' << commonflags
76
- CONFIG['LDSHARED'] << ' ' << commonflags
77
- end
78
- end
13
+ $LDFLAGS << ' ' + `#{pkgconfig} --libs-only-L link-grammar`.chomp
14
+ $CFLAGS << ' ' + `#{pkgconfig} --cflags link-grammar`.chomp
79
15
 
80
16
 
81
17
  dir_config( 'link-grammar' )
82
18
 
83
-
84
19
  find_library( "link-grammar", "dictionary_create" ) or
85
- fail( "Could not find Link-Grammar library",
86
- "(http://www.abisource.com/projects/link-grammar/#download)." )
20
+ abort "Could not find Link-Grammar library" +
21
+ "(http://www.abisource.com/projects/link-grammar/#download)."
22
+
87
23
  find_header( "link-grammar/link-includes.h" ) or
88
- fail( "Could not find link-includes.h" )
24
+ abort "Could not find link-includes.h"
89
25
 
90
26
  unless have_func( "linkage_is_fat", 'link-grammar/link-includes.h' )
91
- message "Your link-grammar library is too old for this binding.\n",
92
- "Please upgrade to the latest version posted here:\n",
93
- " http://www.abisource.com/projects/link-grammar/#download\n",
94
- "and try again.\n"
95
- fail "No linkage_is_fat() in the installed link-grammar."
27
+ $stderr.puts "Your link-grammar library is too old for this binding.",
28
+ "Please upgrade to the latest version posted here:",
29
+ " http://www.abisource.com/projects/link-grammar/#download",
30
+ "and try again."
31
+ abort "No linkage_is_fat() in the installed link-grammar."
96
32
  end
97
33
 
98
34
  have_func( 'parse_options_get_spell_guess' )
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * linkage.c - Ruby LinkParser Linkage class
3
- * $Id: linkage.c,v a5e7d9e3cf5c 2010/11/25 00:50:55 ged $
3
+ * $Id: linkage.c,v 54e4e2ff8899 2010/11/25 00:50:55 ged $
4
4
  *
5
5
  * Authors:
6
6
  * * Michael Granger <ged@FaerieMUD.org>
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * linkparser.c - Ruby LinkParser
3
- * $Id: linkparser.c,v 53ec62029ee4 2010/10/12 15:45:26 ged $
3
+ * $Id: linkparser.c,v 21df914cedb1 2010/10/12 15:45:26 ged $
4
4
  *
5
5
  * Authors:
6
6
  * * Michael Granger <ged@FaerieMUD.org>
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * linkparser.h - Ruby-LinkParser Header
3
- * $Id: linkparser.h,v 53ec62029ee4 2010/10/12 15:45:26 ged $
3
+ * $Id: linkparser.h,v 65471608cc6e 2011/04/04 18:56:35 ged $
4
4
  *
5
5
  * Authors:
6
6
  * * Michael Granger <ged@FaerieMUD.org>
@@ -18,10 +18,9 @@
18
18
  #include <stdio.h>
19
19
  #include <assert.h>
20
20
 
21
- #include "ruby.h"
22
- #include "ruby/intern.h"
21
+ #include <ruby.h>
23
22
 
24
- #include "link-grammar/link-includes.h"
23
+ #include <link-grammar/link-includes.h>
25
24
 
26
25
 
27
26
  /* Debugging functions/macros */
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * parseoptions.c - Ruby LinkParser::ParseOptions class
3
- * $Id: parseoptions.c,v 53ec62029ee4 2010/10/12 15:45:26 ged $
3
+ * $Id: parseoptions.c,v 21df914cedb1 2010/10/12 15:45:26 ged $
4
4
  *
5
5
  * Authors:
6
6
  * * Michael Granger <ged@FaerieMUD.org>
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * sentence.c - Ruby LinkParser
3
- * $Id: sentence.c,v 53ec62029ee4 2010/10/12 15:45:26 ged $
3
+ * $Id: sentence.c,v 21df914cedb1 2010/10/12 15:45:26 ged $
4
4
  *
5
5
  * Authors:
6
6
  * * Michael Granger <ged@FaerieMUD.org>
@@ -8,13 +8,18 @@
8
8
  module LinkParser
9
9
 
10
10
  # Release version
11
- VERSION = '1.1.0'
11
+ VERSION = '1.1.2'
12
12
 
13
13
  # Load the correct version if it's a Windows binary gem
14
14
  if RUBY_PLATFORM =~/(mswin|mingw)/i
15
15
  major_minor = RUBY_VERSION[ /^(\d+\.\d+)/ ] or
16
16
  raise "Oops, can't extract the major/minor version from #{RUBY_VERSION.dump}"
17
- require "#{major_minor}/linkparser_ext"
17
+
18
+ begin
19
+ require "#{major_minor}/linkparser_ext"
20
+ rescue LoadError
21
+ require 'linkparser_ext'
22
+ end
18
23
  else
19
24
  require 'linkparser_ext'
20
25
  end
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'linkparser'
3
+ require 'linkparser' unless defined?( LinkParser )
4
4
  require 'linkparser/mixins'
5
5
 
6
6
  #
@@ -16,7 +16,7 @@ require 'linkparser/mixins'
16
16
  #
17
17
  # == Version
18
18
  #
19
- # $Id: linkage.rb,v a5e7d9e3cf5c 2010/11/25 00:50:55 ged $
19
+ # $Id: linkage.rb,v 507ef20fc315 2011/01/11 19:06:53 ged $
20
20
  #
21
21
  # == License
22
22
  #
@@ -27,8 +27,6 @@ require 'linkparser/mixins'
27
27
  class LinkParser::Linkage
28
28
  extend LinkParser::DeprecationUtilities
29
29
 
30
- require 'linkparser_ext'
31
-
32
30
  ###
33
31
  ### Deprecated API
34
32
  ### These methods are going to be removed in a future version.
@@ -217,12 +215,12 @@ class LinkParser::Linkage
217
215
 
218
216
  ### Return the verb word from the linkage.
219
217
  def verb
220
- if link = self.links.find {|link| link.llabel =~ /^(O([DFNTX]?)|P|BI|K|LI|MV|Q)[a-z\*]*/ }
218
+ if verblink = self.links.find {|link| link.llabel =~ /^(O([DFNTX]?)|P|BI|K|LI|MV|Q)[a-z\*]*/ }
221
219
  # $deferr.puts "Picking %s: LL of %p is %s" % [ link.lword, link, link.llabel ]
222
- return link.lword.sub( /\.v(-d)?$/, '' )
223
- elsif link = self.links.find {|link| link.rlabel =~ /^(SI|S|AF)[a-z\*]*/ }
220
+ return verblink.lword.sub( /\.v(-d)?$/, '' )
221
+ elsif verblink = self.links.find {|link| link.rlabel =~ /^(SI|S|AF)[a-z\*]*/ }
224
222
  # $deferr.puts "Picking %s: RL of %p is %s" % [ link.rword, link, link.rlabel ]
225
- return link.rword.sub( /\.v(-d)?$/, '' )
223
+ return verblink.rword.sub( /\.v(-d)?$/, '' )
226
224
  else
227
225
  return nil
228
226
  end
@@ -231,15 +229,15 @@ class LinkParser::Linkage
231
229
 
232
230
  ### Return the subject from the linkage.
233
231
  def subject
234
- link = self.links.find {|link| link.llabel[0] == ?S } or return nil
235
- return link.lword.sub( /\.[np](?:-\w)?$/, '' )
232
+ subjlink = self.links.find {|link| link.llabel[0] == ?S } or return nil
233
+ return subjlink.lword.sub( /\.[np](?:-\w)?$/, '' )
236
234
  end
237
235
 
238
236
 
239
237
  ### Return the object from the linkage.
240
238
  def object
241
- link = self.links.find {|link| link.rlabel[0] == ?O } or return nil
242
- return link.rword.sub( /\.[np](?:-\w)?$/, '' )
239
+ objlink = self.links.find {|link| link.rlabel[0] == ?O } or return nil
240
+ return objlink.rword.sub( /\.[np](?:-\w)?$/, '' )
243
241
  end
244
242
 
245
243
 
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/ruby
2
2
 
3
- require 'linkparser'
3
+ require 'linkparser' unless defined?( LinkParser )
4
4
 
5
5
  #
6
6
  # A Sentence is the API's representation of an input string, tokenized
@@ -14,7 +14,7 @@ require 'linkparser'
14
14
  #
15
15
  # == Version
16
16
  #
17
- # $Id$
17
+ # $Id: sentence.rb,v 23a39531870a 2011/01/11 18:18:12 ged $
18
18
  #
19
19
  # == License
20
20
  #
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/ruby -w
2
2
  #
3
3
  # Specification for various bugfixes to the LinkParser binding
4
- # $Id: bugfixes_spec.rb,v 6c597e731a87 2010/11/22 15:59:36 ged $
4
+ # $Id: bugfixes_spec.rb,v 1eddd00723e6 2010/11/22 15:59:36 ged $
5
5
  #
6
6
  # See the LICENSE file in the distribution for information about copyright and licensing.
7
7
  #
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/ruby -w
2
2
  #
3
3
  # Specification for the LinkParser::Dictionary class
4
- # $Id: dictionary_spec.rb,v a5e7d9e3cf5c 2010/11/25 00:50:55 ged $
4
+ # $Id: dictionary_spec.rb,v 54e4e2ff8899 2010/11/25 00:50:55 ged $
5
5
  #
6
6
  # See the LICENSE file in the distribution for information about copyright and licensing.
7
7
  #
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/ruby -w
2
2
  #
3
3
  # Specification for the LinkParser::Linkage class
4
- # $Id: linkage_spec.rb,v a5e7d9e3cf5c 2010/11/25 00:50:55 ged $
4
+ # $Id: linkage_spec.rb,v 7af8c401b107 2010/12/30 18:00:05 ged $
5
5
  #
6
6
  # See the LICENSE file in the distribution for information about copyright and licensing.
7
7
  #
@@ -277,6 +277,11 @@ describe LinkParser::Linkage do
277
277
  end
278
278
 
279
279
 
280
+ it "knows what word is the subject of the sentence" do
281
+ @linkage.subject.should == "flag"
282
+ end
283
+
284
+
280
285
  it "knows when the sentence doesn't have a direct object" do
281
286
  @linkage.object.should be_nil()
282
287
  end
@@ -311,22 +316,22 @@ describe LinkParser::Linkage do
311
316
  end
312
317
 
313
318
  it "raises an exception for any numeric constituent tree string mode greater than 3" do
314
- lambda {
319
+ expect {
315
320
  @linkage.constituent_tree_string( 4 )
316
- }.should raise_error( ArgumentError, /illegal mode 4/i )
321
+ }.to raise_error( ArgumentError, /illegal mode 4/i )
317
322
  end
318
323
 
319
324
  it "raises an exception for any numeric constituent tree string mode less than 1" do
320
- lambda {
325
+ expect {
321
326
  @linkage.constituent_tree_string( 0 )
322
- }.should raise_error( ArgumentError, /illegal mode 0/i )
327
+ }.to raise_error( ArgumentError, /illegal mode 0/i )
323
328
  end
324
329
 
325
330
 
326
331
  it "raises an exception when a non-numeric constituent tree string mode is given" do
327
- lambda {
332
+ expect {
328
333
  @linkage.constituent_tree_string( 'glarg' )
329
- }.should raise_error( TypeError )
334
+ }.to raise_error( TypeError )
330
335
  end
331
336
 
332
337
  it "returns an Array of CTree structs for its constituent tree" do
@@ -359,8 +364,7 @@ describe LinkParser::Linkage do
359
364
  # | +-Ds-+--Ss--+---Ou---+ |
360
365
  # | | | | | |
361
366
  # LEFT-WALL the dog.n ran.v-d home.n-u .
362
- # ...but it might not be the first one, so check them all.
363
- @sentence.linkages.find {|linkage| linkage.object == 'home' }
367
+ @sentence.object.should == 'home'
364
368
 
365
369
  end
366
370
 
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/ruby -w
2
2
  #
3
3
  # Specification for the LinkParser::Sentence class
4
- # $Id: mixins_spec.rb,v a5e7d9e3cf5c 2010/11/25 00:50:55 ged $
4
+ # $Id: mixins_spec.rb,v 54e4e2ff8899 2010/11/25 00:50:55 ged $
5
5
  #
6
6
  # See the LICENSE file in the distribution for information about copyright and licensing.
7
7
  #
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/ruby -w
2
2
  #
3
3
  # Specification for the LinkParser::ParseOptions class
4
- # $Id: parseoptions_spec.rb,v a5e7d9e3cf5c 2010/11/25 00:50:55 ged $
4
+ # $Id: parseoptions_spec.rb,v 54e4e2ff8899 2010/11/25 00:50:55 ged $
5
5
  #
6
6
  # See the LICENSE file in the distribution for information about copyright and licensing.
7
7
  #
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/ruby -w
2
2
  #
3
3
  # Specification for the LinkParser::Sentence class
4
- # $Id: sentence_spec.rb,v 6c597e731a87 2010/11/22 15:59:36 ged $
4
+ # $Id: sentence_spec.rb,v 1eddd00723e6 2010/11/22 15:59:36 ged $
5
5
  #
6
6
  # See the LICENSE file in the distribution for information about copyright and licensing.
7
7
  #
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/ruby -w
2
2
  #
3
3
  # Specification for the LinkParser library
4
- # $Id: linkparser_spec.rb,v 6c597e731a87 2010/11/22 15:59:36 ged $
4
+ # $Id: linkparser_spec.rb,v 1eddd00723e6 2010/11/22 15:59:36 ged $
5
5
  #
6
6
  # See the LICENSE file in the distribution for information about copyright and licensing.
7
7
  #
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linkparser
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
5
- prerelease: false
4
+ hash: 23
5
+ prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 0
10
- version: 1.1.0
9
+ - 2
10
+ version: 1.1.2
11
11
  platform: ruby
12
12
  authors:
13
- - Martin Chase
14
13
  - Michael Granger
14
+ - Martin Chase
15
15
  autorequire:
16
16
  bindir: bin
17
17
  cert_chain:
@@ -36,32 +36,131 @@ cert_chain:
36
36
  cmlhXe46pZNJgWKbxZah85jIjx95hR8vOI+NAM5iH9kOqK13DrxacTKPhqj5PjwF
37
37
  -----END CERTIFICATE-----
38
38
 
39
- date: 2010-11-30 00:00:00 -08:00
40
- default_executable:
41
- dependencies: []
42
-
39
+ date: 2011-05-12 00:00:00 Z
40
+ dependencies:
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake-compiler
43
+ prerelease: false
44
+ requirement: &id001 !ruby/object:Gem::Requirement
45
+ none: false
46
+ requirements:
47
+ - - ~>
48
+ - !ruby/object:Gem::Version
49
+ hash: 5
50
+ segments:
51
+ - 0
52
+ - 7
53
+ version: "0.7"
54
+ type: :runtime
55
+ version_requirements: *id001
56
+ - !ruby/object:Gem::Dependency
57
+ name: hoe-mercurial
58
+ prerelease: false
59
+ requirement: &id002 !ruby/object:Gem::Requirement
60
+ none: false
61
+ requirements:
62
+ - - ~>
63
+ - !ruby/object:Gem::Version
64
+ hash: 29
65
+ segments:
66
+ - 1
67
+ - 2
68
+ - 1
69
+ version: 1.2.1
70
+ type: :development
71
+ version_requirements: *id002
72
+ - !ruby/object:Gem::Dependency
73
+ name: hoe-yard
74
+ prerelease: false
75
+ requirement: &id003 !ruby/object:Gem::Requirement
76
+ none: false
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ hash: 31
81
+ segments:
82
+ - 0
83
+ - 1
84
+ - 2
85
+ version: 0.1.2
86
+ type: :development
87
+ version_requirements: *id003
88
+ - !ruby/object:Gem::Dependency
89
+ name: hoe-highline
90
+ prerelease: false
91
+ requirement: &id004 !ruby/object:Gem::Requirement
92
+ none: false
93
+ requirements:
94
+ - - ~>
95
+ - !ruby/object:Gem::Version
96
+ hash: 29
97
+ segments:
98
+ - 0
99
+ - 0
100
+ - 1
101
+ version: 0.0.1
102
+ type: :development
103
+ version_requirements: *id004
104
+ - !ruby/object:Gem::Dependency
105
+ name: rspec
106
+ prerelease: false
107
+ requirement: &id005 !ruby/object:Gem::Requirement
108
+ none: false
109
+ requirements:
110
+ - - ~>
111
+ - !ruby/object:Gem::Version
112
+ hash: 11
113
+ segments:
114
+ - 2
115
+ - 4
116
+ version: "2.4"
117
+ type: :development
118
+ version_requirements: *id005
119
+ - !ruby/object:Gem::Dependency
120
+ name: hoe
121
+ prerelease: false
122
+ requirement: &id006 !ruby/object:Gem::Requirement
123
+ none: false
124
+ requirements:
125
+ - - ">="
126
+ - !ruby/object:Gem::Version
127
+ hash: 47
128
+ segments:
129
+ - 2
130
+ - 9
131
+ - 2
132
+ version: 2.9.2
133
+ type: :development
134
+ version_requirements: *id006
43
135
  description: |-
44
- A Ruby binding for the link-grammar library, a syntactic parser
45
- of English. See http://www.link.cs.cmu.edu/link/ for more
46
- information about the Link Grammar, and
47
- http://www.abisource.org/projects/link-grammar/ for information
48
- about the link-grammar library.
136
+ This module is a Ruby binding for [the Abiword version][abiword] of CMU's
137
+ [Link Grammar][link-grammar], a syntactic parser of English.
49
138
  email:
50
- - stillflame@FaerieMUD.org
51
139
  - ged@FaerieMUD.org
140
+ - stillflame@FaerieMUD.org
52
141
  executables: []
53
142
 
54
143
  extensions:
55
- - ext/extconf.rb
144
+ - /Users/mgranger/source/ruby/LinkParser/ext/extconf.rb
56
145
  extra_rdoc_files:
57
- - ChangeLog
58
- - README.md
59
- - LICENSE
146
+ - History.md
60
147
  files:
61
- - Rakefile
62
148
  - ChangeLog
63
- - README.md
149
+ - History.md
64
150
  - LICENSE
151
+ - README.md
152
+ - Rakefile
153
+ - ext/dictionary.c
154
+ - ext/extconf.rb
155
+ - ext/linkage.c
156
+ - ext/linkparser.c
157
+ - ext/linkparser.h
158
+ - ext/parseoptions.c
159
+ - ext/sentence.c
160
+ - lib/linkparser.rb
161
+ - lib/linkparser/linkage.rb
162
+ - lib/linkparser/mixins.rb
163
+ - lib/linkparser/sentence.rb
65
164
  - spec/bugfixes_spec.rb
66
165
  - spec/linkparser/dictionary_spec.rb
67
166
  - spec/linkparser/linkage_spec.rb
@@ -69,45 +168,18 @@ files:
69
168
  - spec/linkparser/parseoptions_spec.rb
70
169
  - spec/linkparser/sentence_spec.rb
71
170
  - spec/linkparser_spec.rb
72
- - lib/linkparser/linkage.rb
73
- - lib/linkparser/mixins.rb
74
- - lib/linkparser/sentence.rb
75
- - lib/linkparser.rb
76
- - ext/dictionary.c
77
- - ext/linkage.c
78
- - ext/linkparser.c
79
- - ext/parseoptions.c
80
- - ext/sentence.c
81
- - ext/linkparser.h
82
- - ext/extconf.rb
83
- - rake/191_compat.rb
84
- - rake/dependencies.rb
85
- - rake/documentation.rb
86
- - rake/helpers.rb
87
- - rake/hg.rb
88
- - rake/manual.rb
89
- - rake/packaging.rb
90
- - rake/publishing.rb
91
- - rake/style.rb
92
- - rake/svn.rb
93
- - rake/testing.rb
94
- - rake/verifytask.rb
95
- - Rakefile.local
96
- has_rdoc: true
97
- homepage: http://deveiate.org/projects/Ruby-LinkParser/
171
+ - /Users/mgranger/source/ruby/LinkParser/ext/extconf.rb
172
+ - .gemtest
173
+ homepage: http://deveiate.org/projects/Ruby-LinkParser
98
174
  licenses:
99
175
  - BSD
100
176
  post_install_message:
101
177
  rdoc_options:
102
- - --tab-width=4
103
- - --show-hash
104
- - --include
105
- - .
106
- - --main=README.md
107
- - --title=linkparser
178
+ - --title
179
+ - Linkparser Documentation
180
+ - --quiet
108
181
  require_paths:
109
182
  - lib
110
- - ext
111
183
  required_ruby_version: !ruby/object:Gem::Requirement
112
184
  none: false
113
185
  requirements:
@@ -128,18 +200,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
200
  segments:
129
201
  - 0
130
202
  version: "0"
131
- requirements:
132
- - link-grammar >= 4.7.0
133
- rubyforge_project:
134
- rubygems_version: 1.3.7
203
+ requirements: []
204
+
205
+ rubyforge_project: linkparser
206
+ rubygems_version: 1.8.1
135
207
  signing_key:
136
208
  specification_version: 3
137
- summary: a Ruby binding for the link-grammar library
138
- test_files:
139
- - spec/bugfixes_spec.rb
140
- - spec/linkparser/dictionary_spec.rb
141
- - spec/linkparser/linkage_spec.rb
142
- - spec/linkparser/mixins_spec.rb
143
- - spec/linkparser/parseoptions_spec.rb
144
- - spec/linkparser/sentence_spec.rb
145
- - spec/linkparser_spec.rb
209
+ summary: This module is a Ruby binding for [the Abiword version][abiword] of CMU's [Link Grammar][link-grammar], a syntactic parser of English.
210
+ test_files: []
211
+