linkparser 1.1.3 → 1.1.4
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.
- data.tar.gz.sig +0 -0
- data/ChangeLog +61 -3
- data/History.rdoc +41 -0
- data/Manifest.txt +27 -0
- data/{README.md → README.rdoc} +16 -17
- data/Rakefile +5 -5
- data/examples/basic-api.rb +65 -0
- data/examples/readme-example.rb +14 -0
- data/lib/linkparser.rb +6 -5
- data/lib/linkparser/mixins.rb +0 -1
- metadata +148 -143
- metadata.gz.sig +2 -1
- data/History.md +0 -17
data.tar.gz.sig
CHANGED
Binary file
|
data/ChangeLog
CHANGED
@@ -1,8 +1,66 @@
|
|
1
|
+
2012-08-07 Michael Granger <ged@FaerieMUD.org>
|
2
|
+
|
3
|
+
* .rvm.gems:
|
4
|
+
Update dev gems
|
5
|
+
[370fd7d741fb] [github/master, tip]
|
6
|
+
|
7
|
+
* .rvmrc:
|
8
|
+
Omit the patch version from the rvmrc
|
9
|
+
[a405ed23976a]
|
10
|
+
|
11
|
+
2012-02-10 Michael Granger <ged@FaerieMUD.org>
|
12
|
+
|
13
|
+
* Rakefile:
|
14
|
+
Include the extension source in the generated docs
|
15
|
+
[8fe6f359af08]
|
16
|
+
|
17
|
+
* .pryrc:
|
18
|
+
Adding a Pry rcfile
|
19
|
+
[e7c8cf2eb408]
|
20
|
+
|
21
|
+
2012-01-31 Michael Granger <ged@FaerieMUD.org>
|
22
|
+
|
23
|
+
* .hgignore, History.md, History.rdoc, Manifest.txt, README.md,
|
24
|
+
README.rdoc, Rakefile, lib/linkparser.rb, lib/linkparser/mixins.rb:
|
25
|
+
RDoc update, remove some leftover Yard crap.
|
26
|
+
[c634b27f04fd]
|
27
|
+
|
28
|
+
* .hgtags:
|
29
|
+
Added tag v1.1.1 for changeset 34e6016a5772
|
30
|
+
[4f512621db04]
|
31
|
+
|
32
|
+
* .hgsigs:
|
33
|
+
Added signature for changeset 34e6016a5772
|
34
|
+
[6dcf188c7d5e]
|
35
|
+
|
36
|
+
* .autotest, .rvm.gems, .rvmrc, Manifest.txt, Rakefile:
|
37
|
+
Adding a project .rvmrc and gemset, updating deps.
|
38
|
+
[4fd8e3d7c1dc]
|
39
|
+
|
40
|
+
2011-05-16 Michael Granger <ged@FaerieMUD.org>
|
41
|
+
|
42
|
+
* .hgtags:
|
43
|
+
Added tag v1.1.3 for changeset 7cf658966f66
|
44
|
+
[70460dd6fc23]
|
45
|
+
|
46
|
+
* .hgsigs:
|
47
|
+
Added signature for changeset 62a876f376d4
|
48
|
+
[7cf658966f66] [v1.1.3]
|
49
|
+
|
50
|
+
* lib/linkparser.rb:
|
51
|
+
Bump patch version for packaging fixes.
|
52
|
+
[62a876f376d4]
|
53
|
+
|
54
|
+
* Rakefile:
|
55
|
+
Use a relative path for path constants (Alessandro Berardi), update
|
56
|
+
deps
|
57
|
+
[5cb1c40b32be]
|
58
|
+
|
1
59
|
2011-05-12 Michael Granger <ged@FaerieMUD.org>
|
2
60
|
|
3
61
|
* .hgtags:
|
4
62
|
Added tag v1.1.2 for changeset dc1f658653c5
|
5
|
-
[c29cb448e28d]
|
63
|
+
[c29cb448e28d]
|
6
64
|
|
7
65
|
* .hgsigs:
|
8
66
|
Added signature for changeset a22b9ce4e964
|
@@ -15,7 +73,7 @@
|
|
15
73
|
* Merge pull request #2 from AlessandroBerardi/patch-1
|
16
74
|
|
17
75
|
Fixes package configuration options concatenation bug
|
18
|
-
[445659b4f1b0]
|
76
|
+
[445659b4f1b0]
|
19
77
|
|
20
78
|
2011-05-11 Alessandro Berardi <berardialessandro@gmail.com>
|
21
79
|
|
@@ -108,7 +166,7 @@
|
|
108
166
|
|
109
167
|
* .hgsubstate:
|
110
168
|
Cleanup subrepo state
|
111
|
-
[34e6016a5772]
|
169
|
+
[34e6016a5772] [v1.1.1]
|
112
170
|
|
113
171
|
* .hgsub, .hgsubstate:
|
114
172
|
Removing rake tasklibs subrepo
|
data/History.rdoc
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
== v1.1.4 [2012-01-31] Michael Granger <ged@FaerieMUD.org>
|
2
|
+
|
3
|
+
- Packaging fixes, dependency update
|
4
|
+
|
5
|
+
|
6
|
+
== v1.1.3 [2011-05-16] Michael Granger <ged@FaerieMUD.org>
|
7
|
+
|
8
|
+
- Use a relative path for path constants (Alessandro Berardi), update
|
9
|
+
deps
|
10
|
+
|
11
|
+
|
12
|
+
== v1.1.2 [2011-05-12] Michael Granger <ged@FaerieMUD.org>
|
13
|
+
|
14
|
+
- Fixes package configuration options concatenation bug (see
|
15
|
+
http://goo.gl/G49Y8) (Alessandro Berardi <berardialessandro@gmail.com>)
|
16
|
+
- De-Yard, build cleanup, added gem-testers support
|
17
|
+
- Removed unnecessary (and non-existant on Ruby < 1.9) include.
|
18
|
+
- Fixing some shadowed variables for 1.9.2.
|
19
|
+
- Avoid circular requires.
|
20
|
+
|
21
|
+
|
22
|
+
== v1.1.1 [2010-12-30] Michael Granger <ged@FaerieMUD.org>
|
23
|
+
|
24
|
+
* Updated for link-grammar 4.7.1.
|
25
|
+
* Fixed some specs that were doing nothing, using old RSpec syntax, etc.
|
26
|
+
* Converted to Hoe.
|
27
|
+
|
28
|
+
|
29
|
+
== v1.1.0 [2010-11-30] Michael Granger <ged@FaerieMUD.org>
|
30
|
+
|
31
|
+
* Updated to support link-grammar 4.7.0. Note that this breaks compatibility with
|
32
|
+
earlier versions, as the model for sentences with conjunctions has changed
|
33
|
+
significantly.
|
34
|
+
* Use pkgconfig if available.
|
35
|
+
* Various memory-management and 1.9.2 fixes.
|
36
|
+
|
37
|
+
|
38
|
+
== v1.0.6 [2009-10-16] Michael Granger <ged@FaerieMUD.org>
|
39
|
+
|
40
|
+
[TODO]
|
41
|
+
|
data/Manifest.txt
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
.gemtest
|
2
|
+
ChangeLog
|
3
|
+
History.rdoc
|
4
|
+
LICENSE
|
5
|
+
Manifest.txt
|
6
|
+
README.rdoc
|
7
|
+
Rakefile
|
8
|
+
examples/basic-api.rb
|
9
|
+
examples/readme-example.rb
|
10
|
+
ext/dictionary.c
|
11
|
+
ext/extconf.rb
|
12
|
+
ext/linkage.c
|
13
|
+
ext/linkparser.c
|
14
|
+
ext/linkparser.h
|
15
|
+
ext/parseoptions.c
|
16
|
+
ext/sentence.c
|
17
|
+
lib/linkparser.rb
|
18
|
+
lib/linkparser/linkage.rb
|
19
|
+
lib/linkparser/mixins.rb
|
20
|
+
lib/linkparser/sentence.rb
|
21
|
+
spec/bugfixes_spec.rb
|
22
|
+
spec/linkparser/dictionary_spec.rb
|
23
|
+
spec/linkparser/linkage_spec.rb
|
24
|
+
spec/linkparser/mixins_spec.rb
|
25
|
+
spec/linkparser/parseoptions_spec.rb
|
26
|
+
spec/linkparser/sentence_spec.rb
|
27
|
+
spec/linkparser_spec.rb
|
data/{README.md → README.rdoc}
RENAMED
@@ -1,14 +1,15 @@
|
|
1
|
-
|
1
|
+
= linkparser
|
2
2
|
|
3
3
|
* http://deveiate.org/projects/Ruby-LinkParser
|
4
4
|
|
5
|
-
|
5
|
+
== Description
|
6
6
|
|
7
|
-
This module is a Ruby binding for
|
8
|
-
|
7
|
+
This module is a Ruby binding for
|
8
|
+
{the Abiword version}[http://www.abisource.com/projects/link-grammar/] of CMU's
|
9
|
+
{Link Grammar}[http://www.link.cs.cmu.edu/link/], a syntactic parser of English.
|
9
10
|
|
10
11
|
|
11
|
-
|
12
|
+
=== Example Usage
|
12
13
|
|
13
14
|
require 'linkparser'
|
14
15
|
|
@@ -41,10 +42,11 @@ This module is a Ruby binding for [the Abiword version][abiword] of CMU's
|
|
41
42
|
# LEFT-WALL people.p use.v Ruby for.p all kinds.n of nifty.a things.n .
|
42
43
|
|
43
44
|
|
44
|
-
|
45
|
+
== Installation
|
45
46
|
|
46
47
|
First, download and install the latest version of the link-grammar
|
47
|
-
library from
|
48
|
+
library from
|
49
|
+
{Abiword's site}[http://www.abisource.com/projects/link-grammar/#download].
|
48
50
|
|
49
51
|
Then install the gem:
|
50
52
|
|
@@ -56,10 +58,12 @@ installed it somewhere that your linker doesn't look by default:
|
|
56
58
|
gem install linkparser -- --with-link-grammar=/usr/local
|
57
59
|
|
58
60
|
|
59
|
-
|
61
|
+
== Contributing
|
60
62
|
|
61
|
-
You can check out the current development source
|
62
|
-
|
63
|
+
You can check out the current development source
|
64
|
+
{with Mercurial}[http://repo.deveiate.org/LinkParser],
|
65
|
+
or if you prefer Git, via
|
66
|
+
{its Github mirror}[http://github.com/ged/linkparser].
|
63
67
|
|
64
68
|
After checking out the source, run:
|
65
69
|
|
@@ -69,9 +73,9 @@ This task will install any missing dependencies, run the tests/specs,
|
|
69
73
|
and generate the API documentation.
|
70
74
|
|
71
75
|
|
72
|
-
|
76
|
+
== License
|
73
77
|
|
74
|
-
Copyright (c) 2006-
|
78
|
+
Copyright (c) 2006-2012, The FaerieMUD Consortium
|
75
79
|
All rights reserved.
|
76
80
|
|
77
81
|
Redistribution and use in source and binary forms, with or without
|
@@ -100,8 +104,3 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
100
104
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
101
105
|
|
102
106
|
|
103
|
-
[abiword]:http://www.abisource.com/projects/link-grammar/
|
104
|
-
[link-grammar]:http://www.link.cs.cmu.edu/link/ "Link Grammar"
|
105
|
-
[abiword-dl]:http://www.abisource.com/projects/link-grammar/#download
|
106
|
-
[hg-repo]:http://repo.deveiate.org/LinkParser
|
107
|
-
[github-mirror]:http://github.com/ged/linkparser
|
data/Rakefile
CHANGED
@@ -34,15 +34,15 @@ Hoe.plugins.delete :rubyforge
|
|
34
34
|
|
35
35
|
# Main gem configuration
|
36
36
|
hoespec = Hoe.spec 'linkparser' do
|
37
|
-
self.readme_file = 'README.
|
38
|
-
self.history_file = 'History.
|
37
|
+
self.readme_file = 'README.rdoc'
|
38
|
+
self.history_file = 'History.rdoc'
|
39
|
+
self.extra_rdoc_files = FileList[ '*.rdoc', 'ext/*.[ch]' ]
|
39
40
|
|
40
41
|
self.developer 'Michael Granger', 'ged@FaerieMUD.org'
|
41
42
|
self.developer 'Martin Chase', 'stillflame@FaerieMUD.org'
|
42
43
|
|
43
|
-
self.dependency 'rake-compiler', '~> 0
|
44
|
-
self.dependency '
|
45
|
-
self.dependency 'hoe-deveiate', '~> 0.0.6', :development
|
44
|
+
self.dependency 'rake-compiler', '~> 0', :development
|
45
|
+
self.dependency 'hoe-deveiate', '~> 0', :development
|
46
46
|
|
47
47
|
self.spec_extras[:licenses] = ["BSD"]
|
48
48
|
self.spec_extras[:extensions] = [ EXTCONF.to_s ]
|
@@ -0,0 +1,65 @@
|
|
1
|
+
#!/usr/bin/ruby
|
2
|
+
|
3
|
+
# The C equivalent:
|
4
|
+
# opts = parse_options_create();
|
5
|
+
# dict = dictionary_create("4.0.dict", "4.0.knowledge", NULL, "4.0.affix");
|
6
|
+
# sent = sentence_create(input_string[i], dict);
|
7
|
+
# num_linkages = sentence_parse(sent, opts);
|
8
|
+
# linkage = linkage_create(0, sent, opts);
|
9
|
+
# printf("%s\n", diagram = linkage_print_diagram(linkage));
|
10
|
+
# string_delete(diagram);
|
11
|
+
# linkage_delete(linkage);
|
12
|
+
# dictionary_delete(dict);
|
13
|
+
# parse_options_delete(opts);
|
14
|
+
|
15
|
+
|
16
|
+
opts = {
|
17
|
+
:verbosity => 0,
|
18
|
+
:linkage_limit => 10000,
|
19
|
+
:min_null_count => 0,
|
20
|
+
:max_null_count => 0,
|
21
|
+
:null_block => 1,
|
22
|
+
:islands_ok => false,
|
23
|
+
:short_length => 6,
|
24
|
+
:all_short => false,
|
25
|
+
:display_short => true,
|
26
|
+
:display_word_subscripts => true,
|
27
|
+
:display_link_subscripts => true,
|
28
|
+
:display_walls => false,
|
29
|
+
:display_union => false,
|
30
|
+
:allow_null => true,
|
31
|
+
:echo_on => false,
|
32
|
+
:batch_mode => false,
|
33
|
+
:panic_mode => false,
|
34
|
+
:screen_width => 79,
|
35
|
+
:display_on => true,
|
36
|
+
:display_postscript => false,
|
37
|
+
:display_bad => false,
|
38
|
+
:display_links => false,
|
39
|
+
}
|
40
|
+
|
41
|
+
paths = [
|
42
|
+
dict_name,
|
43
|
+
pp_name,
|
44
|
+
cons_name,
|
45
|
+
affix_name
|
46
|
+
]
|
47
|
+
|
48
|
+
dict = LinkParser::Dict.create( opts )
|
49
|
+
dict = LinkParser::Dict.create( paths )
|
50
|
+
dict = LinkParser::Dict.create( "en" )
|
51
|
+
dict = LinkParser::Dict.create( "en", opts )
|
52
|
+
|
53
|
+
sentence = dict.parse( input_string, :verbosity => 3, :islands_ok => true )
|
54
|
+
# -or-
|
55
|
+
sentence = LinkParser::Sentence.new( input_string, dict )
|
56
|
+
linkage_count = sentence.parse( :verbosity => 3, :islands_ok => true )
|
57
|
+
|
58
|
+
sentence.linkages.each do |linkage|
|
59
|
+
puts linkage.diagram
|
60
|
+
end
|
61
|
+
sentence.each_linkage do |linkage|
|
62
|
+
puts linkage.diagram
|
63
|
+
end
|
64
|
+
|
65
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env irb --prompt-mode xmp
|
2
|
+
|
3
|
+
require 'linkparser'
|
4
|
+
|
5
|
+
dict = LinkParser::Dictionary.new( :screen_width => 100 )
|
6
|
+
sent = dict.parse( "People use Ruby for all kinds of nifty things." )
|
7
|
+
|
8
|
+
sent.subject
|
9
|
+
sent.verb
|
10
|
+
sent.object
|
11
|
+
|
12
|
+
puts sent.constituent_tree_string
|
13
|
+
|
14
|
+
puts sent.diagram
|
data/lib/linkparser.rb
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
#!/usr/bin/ruby
|
2
2
|
|
3
3
|
# The LinkParser top-level namespace.
|
4
|
-
#
|
5
|
-
#
|
6
|
-
#
|
7
|
-
#
|
4
|
+
#
|
5
|
+
# == Author/s
|
6
|
+
# * Michael Granger <ged@FaerieMUD.org>
|
7
|
+
# * Martin Chase <stillflame@FaerieMUD.org>
|
8
|
+
#
|
8
9
|
module LinkParser
|
9
10
|
|
10
11
|
# Release version
|
11
|
-
VERSION = '1.1.
|
12
|
+
VERSION = '1.1.4'
|
12
13
|
|
13
14
|
# Load the correct version if it's a Windows binary gem
|
14
15
|
if RUBY_PLATFORM =~/(mswin|mingw)/i
|
data/lib/linkparser/mixins.rb
CHANGED
@@ -11,7 +11,6 @@ module LinkParser
|
|
11
11
|
|
12
12
|
### Make a wrapper for a deprecated method. The wrapper will print a deprecation warning
|
13
13
|
### to STDERR, and then call the method with the same name prefixed with an underscore.
|
14
|
-
### @param [Symbol, #to_sym] name the name of the method to deprecate.
|
15
14
|
def deprecated_method( *names )
|
16
15
|
names.each do |name|
|
17
16
|
method_body = lambda do |*args|
|
metadata
CHANGED
@@ -1,155 +1,169 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: linkparser
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.1.4
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 1
|
9
|
-
- 3
|
10
|
-
version: 1.1.3
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Michael Granger
|
14
9
|
- Martin Chase
|
15
10
|
autorequire:
|
16
11
|
bindir: bin
|
17
|
-
cert_chain:
|
18
|
-
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
12
|
+
cert_chain:
|
13
|
+
- !binary |-
|
14
|
+
LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURMRENDQWhTZ0F3SUJB
|
15
|
+
Z0lCQURBTkJna3Foa2lHOXcwQkFRVUZBREE4TVF3d0NnWURWUVFEREFOblpX
|
16
|
+
UXgKRnpBVkJnb0praWFKay9Jc1pBRVpGZ2RmWVdWeWFXVmZNUk13RVFZS0Na
|
17
|
+
SW1pWlB5TEdRQkdSWURiM0puTUI0WApEVEV3TURreE5qRTBORGcxTVZvWERU
|
18
|
+
RXhNRGt4TmpFME5EZzFNVm93UERFTU1Bb0dBMVVFQXd3RFoyVmtNUmN3CkZR
|
19
|
+
WUtDWkltaVpQeUxHUUJHUllIWDJGbGNtbGxYekVUTUJFR0NnbVNKb21UOGl4
|
20
|
+
a0FSa1dBMjl5WnpDQ0FTSXcKRFFZSktvWklodmNOQVFFQkJRQURnZ0VQQURD
|
21
|
+
Q0FRb0NnZ0VCQUx5Ly9CRnhDMWYvY1BTbnd0SkJXb0ZpRnJpcgpoN1JpY0kr
|
22
|
+
am9xL29jVlhRcUk0VERXUHlGLzh0cWt2dCtyRDk5WDlxczJZZVI4Q1UvWWlJ
|
23
|
+
cExXclFPWVNUNzBKCnZEbjdVdmhiMm11RlZxcTYrdm9iZVRrSUxCRU82cGlv
|
24
|
+
bldERzhqU2JvM3FLbTFSaktKRHdnOXA0d05LaFB1dTgKS0d1ZS9CRmI2N0tm
|
25
|
+
bHF5QXBQbVBlYjNWZGQ5Y2xzcHpxZUZxcDdjVUJNRXBGUzZMV3h5NEdrK3F2
|
26
|
+
RkZKQkpMQgpCVUhFL0xaVkpNVnpmcEM1VXErUW1ZN0IrRkgvUXFObmRuM3RP
|
27
|
+
SGdzUGFkTFROaW11QjFzQ3VMMWE0ejNQZXBkClRlTEJFRm1FYW81RGszSy9R
|
28
|
+
OG84dmxiSUIvakJEVFV4NkRqYmd4dzc3OTA5eDZnSTlkb1U0TEQ1WE1jQ0F3
|
29
|
+
RUEKQWFNNU1EY3dDUVlEVlIwVEJBSXdBREFMQmdOVkhROEVCQU1DQkxBd0hR
|
30
|
+
WURWUjBPQkJZRUZKZW9Ha09yOWw0Qgorc2FNa1cvWlhUNFVlU3ZWTUEwR0NT
|
31
|
+
cUdTSWIzRFFFQkJRVUFBNElCQVFCRzJLT2J2WUkyZUh5eUJVSlNKM2pOCnZF
|
32
|
+
blUzZDYwem5BWGJyU2QycWIzcjFsWTFFUEREM2JjeTBNZ2dDZkdkZzNYdTU0
|
33
|
+
ejIxb3F5SWRrOHVHdFdCUEwKSElhOUVnZkZHU1VFZ3ZjSXZhWXFpTjRqVFV0
|
34
|
+
aWRmRUZ3K0x0anM4QVA5Z1dnU0lZUzZHcjM4VjBXR0ZGTnpJSAphT0Qyd211
|
35
|
+
OW9vL1JmZlc0aFMvOEd1dmZNemN3N0NRMzU1d0ZSNEtCL255emUrRXNaMVk1
|
36
|
+
RGVyQ0FhZ01WdURRClUwQkxtV0RGelBHR1dsUGVRQ3JZSENyK0FjSnorTlJu
|
37
|
+
YUhDS0xaZFNLai9SSHVUT3QrZ2JsUmV4OEZBaDhOZUEKY21saFhlNDZwWk5K
|
38
|
+
Z1dLYnhaYWg4NWpJang5NWhSOHZPSStOQU01aUg5a09xSzEzRHJ4YWNUS1Bo
|
39
|
+
cWo1UGp3RgotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
|
40
|
+
date: 2012-10-10 00:00:00.000000000 Z
|
41
|
+
dependencies:
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: hoe-mercurial
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
45
|
none: false
|
46
|
-
requirements:
|
46
|
+
requirements:
|
47
47
|
- - ~>
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
|
50
|
-
|
51
|
-
- 0
|
52
|
-
- 7
|
53
|
-
version: "0.7"
|
54
|
-
type: :runtime
|
55
|
-
version_requirements: *id001
|
56
|
-
- !ruby/object:Gem::Dependency
|
57
|
-
name: hoe-mercurial
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: 1.4.0
|
50
|
+
type: :development
|
58
51
|
prerelease: false
|
59
|
-
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
53
|
none: false
|
61
|
-
requirements:
|
54
|
+
requirements:
|
62
55
|
- - ~>
|
63
|
-
- !ruby/object:Gem::Version
|
64
|
-
|
65
|
-
|
66
|
-
- 1
|
67
|
-
- 2
|
68
|
-
- 1
|
69
|
-
version: 1.2.1
|
70
|
-
type: :development
|
71
|
-
version_requirements: *id002
|
72
|
-
- !ruby/object:Gem::Dependency
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: 1.4.0
|
58
|
+
- !ruby/object:Gem::Dependency
|
73
59
|
name: hoe-highline
|
60
|
+
requirement: !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - ~>
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: 0.1.0
|
66
|
+
type: :development
|
74
67
|
prerelease: false
|
75
|
-
|
68
|
+
version_requirements: !ruby/object:Gem::Requirement
|
76
69
|
none: false
|
77
|
-
requirements:
|
70
|
+
requirements:
|
78
71
|
- - ~>
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: 0.1.0
|
74
|
+
- !ruby/object:Gem::Dependency
|
75
|
+
name: rdoc
|
76
|
+
requirement: !ruby/object:Gem::Requirement
|
77
|
+
none: false
|
78
|
+
requirements:
|
79
|
+
- - ~>
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '3.10'
|
86
82
|
type: :development
|
87
|
-
version_requirements: *id003
|
88
|
-
- !ruby/object:Gem::Dependency
|
89
|
-
name: rspec
|
90
83
|
prerelease: false
|
91
|
-
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
none: false
|
86
|
+
requirements:
|
87
|
+
- - ~>
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '3.10'
|
90
|
+
- !ruby/object:Gem::Dependency
|
91
|
+
name: rake-compiler
|
92
|
+
requirement: !ruby/object:Gem::Requirement
|
92
93
|
none: false
|
93
|
-
requirements:
|
94
|
+
requirements:
|
94
95
|
- - ~>
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
|
97
|
-
segments:
|
98
|
-
- 2
|
99
|
-
- 4
|
100
|
-
version: "2.4"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '0'
|
101
98
|
type: :development
|
102
|
-
version_requirements: *id004
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: hoe-deveiate
|
105
99
|
prerelease: false
|
106
|
-
|
100
|
+
version_requirements: !ruby/object:Gem::Requirement
|
101
|
+
none: false
|
102
|
+
requirements:
|
103
|
+
- - ~>
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '0'
|
106
|
+
- !ruby/object:Gem::Dependency
|
107
|
+
name: hoe-deveiate
|
108
|
+
requirement: !ruby/object:Gem::Requirement
|
107
109
|
none: false
|
108
|
-
requirements:
|
110
|
+
requirements:
|
109
111
|
- - ~>
|
110
|
-
- !ruby/object:Gem::Version
|
111
|
-
|
112
|
-
segments:
|
113
|
-
- 0
|
114
|
-
- 0
|
115
|
-
- 6
|
116
|
-
version: 0.0.6
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: '0'
|
117
114
|
type: :development
|
118
|
-
version_requirements: *id005
|
119
|
-
- !ruby/object:Gem::Dependency
|
120
|
-
name: hoe
|
121
115
|
prerelease: false
|
122
|
-
|
116
|
+
version_requirements: !ruby/object:Gem::Requirement
|
117
|
+
none: false
|
118
|
+
requirements:
|
119
|
+
- - ~>
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '0'
|
122
|
+
- !ruby/object:Gem::Dependency
|
123
|
+
name: hoe
|
124
|
+
requirement: !ruby/object:Gem::Requirement
|
123
125
|
none: false
|
124
|
-
requirements:
|
125
|
-
- -
|
126
|
-
- !ruby/object:Gem::Version
|
127
|
-
|
128
|
-
segments:
|
129
|
-
- 2
|
130
|
-
- 9
|
131
|
-
- 2
|
132
|
-
version: 2.9.2
|
126
|
+
requirements:
|
127
|
+
- - ~>
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '3.0'
|
133
130
|
type: :development
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
131
|
+
prerelease: false
|
132
|
+
version_requirements: !ruby/object:Gem::Requirement
|
133
|
+
none: false
|
134
|
+
requirements:
|
135
|
+
- - ~>
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: '3.0'
|
138
|
+
description: ! "This module is a Ruby binding for \n{the Abiword version}[http://www.abisource.com/projects/link-grammar/]
|
139
|
+
of CMU's\n{Link Grammar}[http://www.link.cs.cmu.edu/link/], a syntactic parser of
|
140
|
+
English."
|
141
|
+
email:
|
139
142
|
- ged@FaerieMUD.org
|
140
143
|
- stillflame@FaerieMUD.org
|
141
144
|
executables: []
|
142
|
-
|
143
|
-
extensions:
|
145
|
+
extensions:
|
144
146
|
- ext/extconf.rb
|
145
|
-
extra_rdoc_files:
|
146
|
-
|
147
|
-
|
147
|
+
extra_rdoc_files:
|
148
|
+
- History.rdoc
|
149
|
+
- Manifest.txt
|
150
|
+
- README.rdoc
|
151
|
+
- ext/dictionary.c
|
152
|
+
- ext/linkage.c
|
153
|
+
- ext/linkparser.c
|
154
|
+
- ext/linkparser.h
|
155
|
+
- ext/parseoptions.c
|
156
|
+
- ext/sentence.c
|
157
|
+
files:
|
158
|
+
- .gemtest
|
148
159
|
- ChangeLog
|
149
|
-
- History.
|
160
|
+
- History.rdoc
|
150
161
|
- LICENSE
|
151
|
-
-
|
162
|
+
- Manifest.txt
|
163
|
+
- README.rdoc
|
152
164
|
- Rakefile
|
165
|
+
- examples/basic-api.rb
|
166
|
+
- examples/readme-example.rb
|
153
167
|
- ext/dictionary.c
|
154
168
|
- ext/extconf.rb
|
155
169
|
- ext/linkage.c
|
@@ -168,42 +182,33 @@ files:
|
|
168
182
|
- spec/linkparser/parseoptions_spec.rb
|
169
183
|
- spec/linkparser/sentence_spec.rb
|
170
184
|
- spec/linkparser_spec.rb
|
171
|
-
- .gemtest
|
172
185
|
homepage: http://deveiate.org/projects/Ruby-LinkParser
|
173
|
-
licenses:
|
186
|
+
licenses:
|
174
187
|
- BSD
|
175
188
|
post_install_message:
|
176
|
-
rdoc_options:
|
189
|
+
rdoc_options:
|
177
190
|
- --main
|
178
|
-
- README.
|
179
|
-
require_paths:
|
191
|
+
- README.rdoc
|
192
|
+
require_paths:
|
180
193
|
- lib
|
181
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
194
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
182
195
|
none: false
|
183
|
-
requirements:
|
184
|
-
- -
|
185
|
-
- !ruby/object:Gem::Version
|
186
|
-
hash: 57
|
187
|
-
segments:
|
188
|
-
- 1
|
189
|
-
- 8
|
190
|
-
- 7
|
196
|
+
requirements:
|
197
|
+
- - ! '>='
|
198
|
+
- !ruby/object:Gem::Version
|
191
199
|
version: 1.8.7
|
192
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
200
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
193
201
|
none: false
|
194
|
-
requirements:
|
195
|
-
- -
|
196
|
-
- !ruby/object:Gem::Version
|
197
|
-
|
198
|
-
segments:
|
199
|
-
- 0
|
200
|
-
version: "0"
|
202
|
+
requirements:
|
203
|
+
- - ! '>='
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '0'
|
201
206
|
requirements: []
|
202
|
-
|
203
207
|
rubyforge_project: linkparser
|
204
|
-
rubygems_version: 1.8.
|
208
|
+
rubygems_version: 1.8.24
|
205
209
|
signing_key:
|
206
210
|
specification_version: 3
|
207
|
-
summary: This module is a Ruby binding for
|
211
|
+
summary: This module is a Ruby binding for {the Abiword version}[http://www.abisource.com/projects/link-grammar/]
|
212
|
+
of CMU's {Link Grammar}[http://www.link.cs.cmu.edu/link/], a syntactic parser of
|
213
|
+
English.
|
208
214
|
test_files: []
|
209
|
-
|
metadata.gz.sig
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
�
|
1
|
+
$A�9LG8���n� ��<z�k ���t�Q�
|
2
|
+
7�K��V
|
data/History.md
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
## 1.1.1 [2010-12-30] Michael Granger <ged@FaerieMUD.org>
|
2
|
-
|
3
|
-
* Updated for link-grammar 4.7.1.
|
4
|
-
* Fixed some specs that were doing nothing, using old RSpec syntax, etc.
|
5
|
-
* Converted to Hoe.
|
6
|
-
|
7
|
-
|
8
|
-
## 1.1.0 [2010-11-30] Michael Granger <ged@FaerieMUD.org>
|
9
|
-
|
10
|
-
* Updated to support link-grammar 4.7.0. Note that this breaks compatibility with
|
11
|
-
earlier versions, as the model for sentences with conjunctions has changed
|
12
|
-
significantly.
|
13
|
-
* Use pkgconfig if available.
|
14
|
-
* Various memory-management and 1.9.2 fixes.
|
15
|
-
|
16
|
-
|
17
|
-
|