linkparser 1.1.3 → 2.2.0
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.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/History.md +68 -3
- data/README.md +66 -47
- data/ext/{dictionary.c → linkparser_ext/dictionary.c} +61 -66
- data/ext/{extconf.rb → linkparser_ext/extconf.rb} +10 -3
- data/ext/{linkage.c → linkparser_ext/linkage.c} +121 -358
- data/ext/{linkparser.c → linkparser_ext/linkparser.c} +79 -28
- data/ext/{linkparser.h → linkparser_ext/linkparser.h} +14 -16
- data/ext/linkparser_ext/parseoptions.c +776 -0
- data/ext/{sentence.c → linkparser_ext/sentence.c} +65 -151
- data/lib/linkparser.rb +14 -6
- data/lib/linkparser/dictionary.rb +13 -0
- data/lib/linkparser/linkage.rb +271 -166
- data/lib/linkparser/mixins.rb +2 -3
- data/lib/linkparser/parseoptions.rb +58 -0
- data/lib/linkparser/sentence.rb +21 -38
- data/spec/bugfixes_spec.rb +23 -36
- data/spec/helpers.rb +39 -0
- data/spec/linkparser/dictionary_spec.rb +29 -48
- data/spec/linkparser/linkage_spec.rb +212 -276
- data/spec/linkparser/mixins_spec.rb +9 -24
- data/spec/linkparser/parseoptions_spec.rb +47 -59
- data/spec/linkparser/sentence_spec.rb +36 -56
- data/spec/linkparser_spec.rb +11 -25
- metadata +134 -174
- metadata.gz.sig +0 -0
- data/.gemtest +0 -0
- data/ChangeLog +0 -670
- data/LICENSE +0 -27
- data/Rakefile +0 -91
- data/ext/parseoptions.c +0 -1236
@@ -1,22 +1,7 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
# Specification for the LinkParser::Sentence class
|
4
|
-
# $Id: mixins_spec.rb,v 54e4e2ff8899 2010/11/25 00:50:55 ged $
|
5
|
-
#
|
6
|
-
# See the LICENSE file in the distribution for information about copyright and licensing.
|
7
|
-
#
|
1
|
+
# -*- ruby -*-
|
2
|
+
# frozen_string_literal: true
|
8
3
|
|
9
|
-
|
10
|
-
require 'pathname'
|
11
|
-
basedir = Pathname.new( __FILE__ ).dirname.parent.parent
|
12
|
-
|
13
|
-
libdir = basedir + 'lib'
|
14
|
-
extdir = basedir + 'ext'
|
15
|
-
|
16
|
-
$LOAD_PATH.unshift( basedir.to_s ) unless $LOAD_PATH.include?( basedir.to_s )
|
17
|
-
$LOAD_PATH.unshift( libdir.to_s ) unless $LOAD_PATH.include?( libdir.to_s )
|
18
|
-
$LOAD_PATH.unshift( extdir.to_s ) unless $LOAD_PATH.include?( extdir.to_s )
|
19
|
-
}
|
4
|
+
require_relative '../helpers'
|
20
5
|
|
21
6
|
require 'rspec'
|
22
7
|
require 'linkparser/mixins'
|
@@ -46,18 +31,18 @@ describe LinkParser, "mixins" do
|
|
46
31
|
end
|
47
32
|
|
48
33
|
it "provides a function for marking a method as deprecated" do
|
49
|
-
@object.
|
50
|
-
@object.no_args.
|
34
|
+
expect( @object ).to receive( :warn ).with( /deprecated/i )
|
35
|
+
expect( @object.no_args ).to eq( :no_args_result )
|
51
36
|
end
|
52
37
|
|
53
38
|
it "provides a function for marking a method that takes arguments as deprecated" do
|
54
|
-
@object.
|
55
|
-
@object.two_args( :arg_one, :arg_two ).
|
39
|
+
expect( @object ).to receive( :warn ).with( /deprecated/i )
|
40
|
+
expect( @object.two_args( :arg_one, :arg_two ) ).to eq( [ :arg_one, :arg_two ] )
|
56
41
|
end
|
57
42
|
|
58
43
|
it "provides a function for marking a method with splatted arguments as deprecated" do
|
59
|
-
@object.
|
60
|
-
@object.splat_args( :arg_one, :arg_two ).
|
44
|
+
expect( @object ).to receive( :warn ).with( /deprecated/i )
|
45
|
+
expect( @object.splat_args( :arg_one, :arg_two ) ).to eq( [ :arg_one, :arg_two ] )
|
61
46
|
end
|
62
47
|
|
63
48
|
|
@@ -1,88 +1,76 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
# Specification for the LinkParser::ParseOptions class
|
4
|
-
# $Id: parseoptions_spec.rb,v 54e4e2ff8899 2010/11/25 00:50:55 ged $
|
5
|
-
#
|
6
|
-
# See the LICENSE file in the distribution for information about copyright and licensing.
|
7
|
-
#
|
8
|
-
|
9
|
-
BEGIN {
|
10
|
-
require 'pathname'
|
11
|
-
basedir = Pathname.new( __FILE__ ).dirname.parent.parent
|
12
|
-
|
13
|
-
libdir = basedir + 'lib'
|
14
|
-
extdir = basedir + 'ext'
|
15
|
-
|
16
|
-
$LOAD_PATH.unshift( basedir.to_s ) unless $LOAD_PATH.include?( basedir.to_s )
|
17
|
-
$LOAD_PATH.unshift( libdir.to_s ) unless $LOAD_PATH.include?( libdir.to_s )
|
18
|
-
$LOAD_PATH.unshift( extdir.to_s ) unless $LOAD_PATH.include?( extdir.to_s )
|
19
|
-
}
|
1
|
+
# -*- ruby -*-
|
2
|
+
# frozen_string_literal: true
|
20
3
|
|
21
|
-
|
4
|
+
require_relative '../helpers'
|
22
5
|
|
6
|
+
require 'rspec'
|
23
7
|
require 'linkparser'
|
24
8
|
|
25
9
|
|
26
10
|
describe LinkParser::ParseOptions do
|
27
11
|
|
28
|
-
|
29
|
-
$DEBUG = true if ENV['DEBUG']
|
30
|
-
end
|
31
|
-
|
32
|
-
before( :each ) do
|
33
|
-
@opts = LinkParser::ParseOptions.new
|
34
|
-
end
|
12
|
+
let( :opts ) { described_class.new }
|
35
13
|
|
36
14
|
|
37
15
|
it "starts out with documented defaults" do
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
@opts.batch_mode?.should == false
|
50
|
-
@opts.panic_mode?.should == false
|
51
|
-
@opts.screen_width.should == 79
|
52
|
-
@opts.display_on?.should == true
|
53
|
-
@opts.display_postscript? == false
|
54
|
-
@opts.display_bad?.should == false
|
55
|
-
@opts.display_links?.should == false
|
56
|
-
@opts.all_short_connectors?.should == false
|
57
|
-
end
|
58
|
-
|
59
|
-
it "supports all the members mentioned in the documentation" do
|
60
|
-
pending "some of them aren't implemented in the link-grammar library" do
|
61
|
-
@opts.display_short?.should == true # Not in the API
|
62
|
-
end
|
16
|
+
expect( opts.verbosity ).to eq( 1 ) # Docs say this is 0
|
17
|
+
expect( opts.linkage_limit ).to eq( 100 ) # Docs say this is 10000
|
18
|
+
expect( opts.disjunct_cost ).to eq( 2 )
|
19
|
+
expect( opts.min_null_count ).to eq( 0 )
|
20
|
+
expect( opts.max_null_count ).to eq( 0 )
|
21
|
+
expect( opts.islands_ok? ).to eq( false )
|
22
|
+
expect( opts.short_length ).to eq( 16 )
|
23
|
+
expect( opts.max_memory ).to eq( -1 )
|
24
|
+
expect( opts.max_parse_time ).to eq( -1 )
|
25
|
+
expect( opts.all_short_connectors? ).to eq( false )
|
26
|
+
expect( opts.cost_model_type ).to eq( :vdal )
|
63
27
|
end
|
64
28
|
|
65
29
|
|
66
30
|
it "knows whether the timer constraints were exceeded or not" do
|
67
|
-
|
31
|
+
expect( opts.timer_expired? ).to eq( false )
|
68
32
|
end
|
69
33
|
|
34
|
+
|
70
35
|
it "knows whether the memory constraints were exceeded or not" do
|
71
|
-
|
36
|
+
expect( opts.memory_exhausted? ).to eq( false )
|
72
37
|
end
|
73
38
|
|
39
|
+
|
74
40
|
it "knows whether the timer constraints were exceeded or not" do
|
75
|
-
|
41
|
+
expect( opts.resources_exhausted? ).to eq( false )
|
76
42
|
end
|
77
43
|
|
44
|
+
|
78
45
|
it "can reset the resource constraints" do
|
79
|
-
|
80
|
-
|
81
|
-
}.
|
46
|
+
expect {
|
47
|
+
opts.reset_resources
|
48
|
+
}.to_not raise_error()
|
82
49
|
end
|
83
50
|
|
51
|
+
|
84
52
|
it "knows whether spell_guessing is enabled or not" do
|
85
|
-
|
53
|
+
expect( opts.spell_guessing_enabled? ).to be( true ).or( be false )
|
54
|
+
end
|
55
|
+
|
56
|
+
|
57
|
+
it "can set the cost model type to :vdal" do
|
58
|
+
opts.cost_model_type = :vdal
|
59
|
+
end
|
60
|
+
|
61
|
+
|
62
|
+
it "can set the cost model type to :corpus" do
|
63
|
+
pending "no way to tell if the underlying library is compiled with CORPUS support or not"
|
64
|
+
expect {
|
65
|
+
opts.cost_model_type = :corpus
|
66
|
+
}.to change { opts.cost_model_type }.from( :vdal ).to( :corpus )
|
67
|
+
end
|
68
|
+
|
69
|
+
|
70
|
+
it "doesn't allow the cost model to be set to an invalid value" do
|
71
|
+
expect {
|
72
|
+
opts.cost_model_type = :rafferty
|
73
|
+
}.to raise_error( ArgumentError, /unknown cost model/i )
|
86
74
|
end
|
87
75
|
|
88
76
|
end
|
@@ -1,140 +1,120 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
# Specification for the LinkParser::Sentence class
|
4
|
-
# $Id: sentence_spec.rb,v 1eddd00723e6 2010/11/22 15:59:36 ged $
|
5
|
-
#
|
6
|
-
# See the LICENSE file in the distribution for information about copyright and licensing.
|
7
|
-
#
|
8
|
-
|
9
|
-
BEGIN {
|
10
|
-
require 'pathname'
|
11
|
-
basedir = Pathname.new( __FILE__ ).dirname.parent.parent
|
12
|
-
|
13
|
-
libdir = basedir + 'lib'
|
14
|
-
extdir = basedir + 'ext'
|
15
|
-
|
16
|
-
$LOAD_PATH.unshift( basedir.to_s ) unless $LOAD_PATH.include?( basedir.to_s )
|
17
|
-
$LOAD_PATH.unshift( libdir.to_s ) unless $LOAD_PATH.include?( libdir.to_s )
|
18
|
-
$LOAD_PATH.unshift( extdir.to_s ) unless $LOAD_PATH.include?( extdir.to_s )
|
19
|
-
}
|
1
|
+
# -*- ruby -*-
|
2
|
+
# frozen_string_literal: true
|
20
3
|
|
21
|
-
|
4
|
+
require_relative '../helpers'
|
22
5
|
|
6
|
+
require 'rspec'
|
23
7
|
require 'linkparser'
|
24
8
|
|
25
9
|
|
26
10
|
describe LinkParser::Sentence do
|
27
11
|
|
28
12
|
before( :all ) do
|
29
|
-
@dict = LinkParser::Dictionary.new( 'en', :
|
30
|
-
$DEBUG = true if ENV['DEBUG']
|
13
|
+
@dict = LinkParser::Dictionary.new( 'en', verbosity: 0 )
|
31
14
|
end
|
32
15
|
|
33
|
-
|
34
|
-
|
35
|
-
|
16
|
+
|
17
|
+
let( :dict ) { @dict }
|
18
|
+
let( :sentence ) { described_class.new("The cat runs.", dict) }
|
36
19
|
|
37
20
|
|
38
21
|
it "returns an informational string when inspected before it's been parsed" do
|
39
|
-
|
22
|
+
expect( sentence.inspect ).to match( %r{
|
40
23
|
<
|
41
24
|
LinkParser::Sentence:0x[[:xdigit:]]+
|
42
25
|
\s
|
43
26
|
\(unparsed\)
|
44
27
|
>
|
45
|
-
}x
|
28
|
+
}x )
|
46
29
|
end
|
47
30
|
|
48
31
|
it "returns an informational string when inspected after it's been parsed" do
|
49
|
-
|
50
|
-
|
32
|
+
sentence.parse
|
33
|
+
expect( sentence.inspect ).to match( %r{
|
51
34
|
<
|
52
35
|
LinkParser::Sentence:0x[[:xdigit:]]+
|
53
36
|
\s
|
54
|
-
(?-x:"LEFT-WALL the cat runs . RIGHT-WALL")
|
37
|
+
(?-x:"LEFT-WALL the cat\.n runs\.v . RIGHT-WALL")
|
55
38
|
/\d+\slinkages
|
56
39
|
/\d+\snulls
|
57
40
|
>
|
58
|
-
}x
|
41
|
+
}x )
|
59
42
|
end
|
60
43
|
|
61
44
|
it "can return itself as a tokenized string" do
|
62
|
-
|
45
|
+
expect( sentence.to_s ).to eq( "LEFT-WALL the cat.n runs.v . RIGHT-WALL" )
|
63
46
|
end
|
64
47
|
|
65
48
|
|
66
49
|
it "returns the linkage count as the result of parsing the sentence" do
|
67
|
-
|
50
|
+
expect( sentence.parse ).to eq( 3 )
|
68
51
|
end
|
69
52
|
|
70
53
|
|
71
54
|
it "accepts parse options when parsing" do
|
72
|
-
|
55
|
+
sentence.parse( verbosity: 0 )
|
73
56
|
end
|
74
57
|
|
75
58
|
|
76
59
|
it "knows how many words are in it, including walls and punctuation" do
|
77
|
-
|
60
|
+
expect( sentence.length ).to eq( 6 )
|
78
61
|
end
|
79
62
|
|
80
63
|
|
81
64
|
it "delegates linkage methods to its first linkage" do
|
82
|
-
|
65
|
+
expect( sentence.num_links ).to eq( 6 )
|
83
66
|
end
|
84
67
|
|
85
68
|
|
86
69
|
it "knows whether or not it's been parsed" do
|
87
|
-
|
88
|
-
|
89
|
-
|
70
|
+
expect( sentence ).to_not be_parsed()
|
71
|
+
sentence.parse
|
72
|
+
expect( sentence ).to be_parsed()
|
90
73
|
end
|
91
74
|
|
92
75
|
|
93
76
|
it "can return its linkages" do
|
94
|
-
|
95
|
-
|
77
|
+
expect( sentence.linkages.count ).to eq( 3 )
|
78
|
+
expect( sentence.linkages ).to all( be_an_instance_of(LinkParser::Linkage) )
|
96
79
|
end
|
97
80
|
|
98
|
-
it "can return words at a specified position" do
|
99
|
-
@sentence.word( 0 ).should == 'LEFT-WALL'
|
100
|
-
@sentence[ -1 ].should == 'RIGHT-WALL'
|
101
|
-
end
|
102
81
|
|
103
82
|
it "can return an Array of all tokenized words" do
|
104
|
-
|
105
|
-
'LEFT-WALL', 'the', 'cat', 'runs', '.', 'RIGHT-WALL'
|
106
|
-
]
|
83
|
+
expect( sentence.words ).to eq([
|
84
|
+
'LEFT-WALL', 'the', 'cat.n', 'runs.v', '.', 'RIGHT-WALL'
|
85
|
+
])
|
107
86
|
end
|
108
87
|
|
109
88
|
|
110
89
|
it "knows that it doesn't have any superfluous words in it" do
|
111
|
-
|
90
|
+
expect( sentence.null_count ).to eq( 0 )
|
112
91
|
end
|
113
92
|
|
114
93
|
|
115
94
|
|
116
95
|
describe "parsed from a sentence with a superfluous word in it" do
|
117
96
|
|
118
|
-
|
119
|
-
|
97
|
+
let( :sentence ) do
|
98
|
+
described_class.new("This sentence contains a gravel superfluous word.", dict)
|
120
99
|
end
|
121
100
|
|
122
101
|
|
123
102
|
it "knows how many null links it has" do
|
124
|
-
|
103
|
+
sentence.parse( max_null_count: 3, min_null_count: 1 )
|
104
|
+
expect( sentence.null_count ).to eq( 1 )
|
125
105
|
end
|
106
|
+
|
126
107
|
end
|
127
108
|
|
128
109
|
|
129
110
|
describe "parsed from a sentence that yields no linkages" do
|
130
111
|
|
131
|
-
|
132
|
-
|
133
|
-
end
|
112
|
+
let( :sentence ) { dict.parse("The event that he smiled at me gives me hope") }
|
113
|
+
|
134
114
|
|
135
115
|
it "raises a descriptive exception if a delegated method is called" do
|
136
116
|
expect {
|
137
|
-
|
117
|
+
sentence.diagram
|
138
118
|
}.to raise_error( LinkParser::Error, /sentence has no linkages/i )
|
139
119
|
end
|
140
120
|
|
data/spec/linkparser_spec.rb
CHANGED
@@ -1,36 +1,22 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
# Specification for the LinkParser library
|
4
|
-
# $Id: linkparser_spec.rb,v 1eddd00723e6 2010/11/22 15:59:36 ged $
|
5
|
-
#
|
6
|
-
# See the LICENSE file in the distribution for information about copyright and licensing.
|
7
|
-
#
|
8
|
-
|
9
|
-
BEGIN {
|
10
|
-
require 'pathname'
|
11
|
-
basedir = Pathname.new( __FILE__ ).dirname.parent
|
12
|
-
|
13
|
-
libdir = basedir + 'lib'
|
14
|
-
extdir = basedir + 'ext'
|
15
|
-
|
16
|
-
$LOAD_PATH.unshift( basedir.to_s ) unless $LOAD_PATH.include?( basedir.to_s )
|
17
|
-
$LOAD_PATH.unshift( libdir.to_s ) unless $LOAD_PATH.include?( libdir.to_s )
|
18
|
-
$LOAD_PATH.unshift( extdir.to_s ) unless $LOAD_PATH.include?( extdir.to_s )
|
19
|
-
}
|
1
|
+
# -*- ruby -*-
|
2
|
+
# frozen_string_literal: true
|
20
3
|
|
21
|
-
|
4
|
+
require_relative 'helpers'
|
22
5
|
|
6
|
+
require 'rspec'
|
23
7
|
require 'linkparser'
|
24
8
|
|
25
9
|
|
26
10
|
describe LinkParser do
|
27
11
|
|
28
|
-
|
29
|
-
|
12
|
+
it "knows what version of the link-grammar library it was built against" do
|
13
|
+
expect( LinkParser.link_grammar_version ).to match( /link-grammar-\d+\.\d+\.\d+/i )
|
30
14
|
end
|
31
15
|
|
32
|
-
|
33
|
-
|
16
|
+
|
17
|
+
it "knows what the configuration of the link-grammar library was" do
|
18
|
+
expect( LinkParser.link_grammar_config ).to match( /compiled with:/i )
|
34
19
|
end
|
35
20
|
|
36
|
-
end
|
21
|
+
end
|
22
|
+
|
metadata
CHANGED
@@ -1,209 +1,169 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: linkparser
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 1
|
9
|
-
- 3
|
10
|
-
version: 1.1.3
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.2.0
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Michael Granger
|
14
|
-
|
15
|
-
autorequire:
|
8
|
+
autorequire:
|
16
9
|
bindir: bin
|
17
|
-
cert_chain:
|
10
|
+
cert_chain:
|
18
11
|
- |
|
19
12
|
-----BEGIN CERTIFICATE-----
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
13
|
+
MIID+DCCAmCgAwIBAgIBAzANBgkqhkiG9w0BAQsFADAiMSAwHgYDVQQDDBdnZWQv
|
14
|
+
REM9RmFlcmllTVVEL0RDPW9yZzAeFw0yMDEyMjQyMDU1MjlaFw0yMTEyMjQyMDU1
|
15
|
+
MjlaMCIxIDAeBgNVBAMMF2dlZC9EQz1GYWVyaWVNVUQvREM9b3JnMIIBojANBgkq
|
16
|
+
hkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAvyVhkRzvlEs0fe7145BYLfN6njX9ih5H
|
17
|
+
L60U0p0euIurpv84op9CNKF9tx+1WKwyQvQP7qFGuZxkSUuWcP/sFhDXL1lWUuIl
|
18
|
+
M4uHbGCRmOshDrF4dgnBeOvkHr1fIhPlJm5FO+Vew8tSQmlDsosxLUx+VB7DrVFO
|
19
|
+
5PU2AEbf04GGSrmqADGWXeaslaoRdb1fu/0M5qfPTRn5V39sWD9umuDAF9qqil/x
|
20
|
+
Sl6phTvgBrG8GExHbNZpLARd3xrBYLEFsX7RvBn2UPfgsrtvpdXjsHGfpT3IPN+B
|
21
|
+
vQ66lts4alKC69TE5cuKasWBm+16A4aEe3XdZBRNmtOu/g81gvwA7fkJHKllJuaI
|
22
|
+
dXzdHqq+zbGZVSQ7pRYHYomD0IiDe1DbIouFnPWmagaBnGHwXkDT2bKKP+s2v21m
|
23
|
+
ozilJg4aar2okb/RA6VS87o+d7g6LpDDMMQjH4G9OPnJENLdhu8KnPw/ivSVvQw7
|
24
|
+
N2I4L/ZOIe2DIVuYH7aLHfjZDQv/mNgpAgMBAAGjOTA3MAkGA1UdEwQCMAAwCwYD
|
25
|
+
VR0PBAQDAgSwMB0GA1UdDgQWBBRyjf55EbrHagiRLqt5YAd3yb8k4DANBgkqhkiG
|
26
|
+
9w0BAQsFAAOCAYEAMYegZanJi8zq7QKPT7wqXefX4C88I5JWeBHR3PvvWK0CwyMV
|
27
|
+
peyiu5I13w/lYX+HUZjE4qsSpJMJFXWl4WZCOo+AMprOcf0PxfuJpxCej5D4tavf
|
28
|
+
vRfhahSw7XJrcZih/3J+/UgoH7R05MJ+8LTcy3HGrB3a0vTafjm8OY7Xpa0LJDoN
|
29
|
+
JDqxK321VIHyTibbKeA1hWSE6ljlQDvFbTqiCj3Ulp1jTv3TOlvRl8fqcfhxUJI0
|
30
|
+
+5Q82jJODjEN+GaWs0V+NlrbU94cXwS2PH5dXogftB5YYA5Ex8A0ikZ73xns4Hdo
|
31
|
+
XxdLdd92F5ovxA23j/rKe/IDwqr6FpDkU3nPXH/Qp0TVGv9zZnVJc/Z6ChkuWj8z
|
32
|
+
pW7JAyyiiHZgKKDReDrA2LA7Zs3o/7KA6UtUH0FHf8LYhcK+pfHk6RtjRe65ffw+
|
33
|
+
MCh97sQ/Z/MOusb5+QddBmB+k8EicXyGNl4b5L4XpL7fIQu+Y96TB3JEJlShxFD9
|
34
|
+
k9FjI4d9EP54gS/4
|
37
35
|
-----END CERTIFICATE-----
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
- - ~>
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
hash: 5
|
50
|
-
segments:
|
51
|
-
- 0
|
52
|
-
- 7
|
53
|
-
version: "0.7"
|
36
|
+
date: 2020-12-24 00:00:00.000000000 Z
|
37
|
+
dependencies:
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: loggability
|
40
|
+
requirement: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - "~>"
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '0.17'
|
54
45
|
type: :runtime
|
55
|
-
version_requirements: *id001
|
56
|
-
- !ruby/object:Gem::Dependency
|
57
|
-
name: hoe-mercurial
|
58
46
|
prerelease: false
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
- !ruby/object:Gem::Dependency
|
73
|
-
name: hoe-highline
|
47
|
+
version_requirements: !ruby/object:Gem::Requirement
|
48
|
+
requirements:
|
49
|
+
- - "~>"
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
version: '0.17'
|
52
|
+
- !ruby/object:Gem::Dependency
|
53
|
+
name: rake-compiler
|
54
|
+
requirement: !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- - "~>"
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: '1.1'
|
59
|
+
type: :runtime
|
74
60
|
prerelease: false
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
- !ruby/object:Gem::Dependency
|
89
|
-
name: rspec
|
61
|
+
version_requirements: !ruby/object:Gem::Requirement
|
62
|
+
requirements:
|
63
|
+
- - "~>"
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '1.1'
|
66
|
+
- !ruby/object:Gem::Dependency
|
67
|
+
name: rdoc
|
68
|
+
requirement: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - "~>"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '6.2'
|
73
|
+
type: :runtime
|
90
74
|
prerelease: false
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
75
|
+
version_requirements: !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - "~>"
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '6.2'
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: rake-deveiate
|
82
|
+
requirement: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - "~>"
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '0.15'
|
101
87
|
type: :development
|
102
|
-
version_requirements: *id004
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: hoe-deveiate
|
105
88
|
prerelease: false
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
89
|
+
version_requirements: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - "~>"
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0.15'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: rdoc-generator-fivefish
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
requirements:
|
98
|
+
- - "~>"
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: '0.4'
|
117
101
|
type: :development
|
118
|
-
version_requirements: *id005
|
119
|
-
- !ruby/object:Gem::Dependency
|
120
|
-
name: hoe
|
121
102
|
prerelease: false
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
- 2
|
132
|
-
version: 2.9.2
|
133
|
-
type: :development
|
134
|
-
version_requirements: *id006
|
135
|
-
description: |-
|
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.
|
138
|
-
email:
|
139
|
-
- ged@FaerieMUD.org
|
140
|
-
- stillflame@FaerieMUD.org
|
103
|
+
version_requirements: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - "~>"
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '0.4'
|
108
|
+
description: This module is a Ruby binding for the Abiword version of CMU's Link
|
109
|
+
Grammar, a syntactic parser of English.
|
110
|
+
email:
|
111
|
+
- ged@faeriemud.org
|
141
112
|
executables: []
|
142
|
-
|
143
|
-
|
144
|
-
- ext/extconf.rb
|
113
|
+
extensions:
|
114
|
+
- ext/linkparser_ext/extconf.rb
|
145
115
|
extra_rdoc_files: []
|
146
|
-
|
147
|
-
files:
|
148
|
-
- ChangeLog
|
116
|
+
files:
|
149
117
|
- History.md
|
150
|
-
- LICENSE
|
151
118
|
- README.md
|
152
|
-
-
|
153
|
-
- ext/
|
154
|
-
- ext/
|
155
|
-
- ext/
|
156
|
-
- ext/linkparser.
|
157
|
-
- ext/
|
158
|
-
- ext/
|
159
|
-
- ext/sentence.c
|
119
|
+
- ext/linkparser_ext/dictionary.c
|
120
|
+
- ext/linkparser_ext/extconf.rb
|
121
|
+
- ext/linkparser_ext/linkage.c
|
122
|
+
- ext/linkparser_ext/linkparser.c
|
123
|
+
- ext/linkparser_ext/linkparser.h
|
124
|
+
- ext/linkparser_ext/parseoptions.c
|
125
|
+
- ext/linkparser_ext/sentence.c
|
160
126
|
- lib/linkparser.rb
|
127
|
+
- lib/linkparser/dictionary.rb
|
161
128
|
- lib/linkparser/linkage.rb
|
162
129
|
- lib/linkparser/mixins.rb
|
130
|
+
- lib/linkparser/parseoptions.rb
|
163
131
|
- lib/linkparser/sentence.rb
|
164
132
|
- spec/bugfixes_spec.rb
|
133
|
+
- spec/helpers.rb
|
165
134
|
- spec/linkparser/dictionary_spec.rb
|
166
135
|
- spec/linkparser/linkage_spec.rb
|
167
136
|
- spec/linkparser/mixins_spec.rb
|
168
137
|
- spec/linkparser/parseoptions_spec.rb
|
169
138
|
- spec/linkparser/sentence_spec.rb
|
170
139
|
- spec/linkparser_spec.rb
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
140
|
+
homepage: https://hg.sr.ht/~ged/linkparser
|
141
|
+
licenses:
|
142
|
+
- BSD-3-Clause
|
143
|
+
metadata:
|
144
|
+
homepage_uri: https://hg.sr.ht/~ged/linkparser
|
145
|
+
documentation_uri: http://deveiate.org/code/linkparser
|
146
|
+
changelog_uri: http://deveiate.org/code/linkparser/History_md.html
|
147
|
+
source_uri: https://hg.sr.ht/~ged/linkparser/browse
|
148
|
+
bug_tracker_uri: https://todo.sr.ht/~ged/linkparser/browse
|
149
|
+
post_install_message:
|
150
|
+
rdoc_options: []
|
151
|
+
require_paths:
|
180
152
|
- lib
|
181
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
182
|
-
|
183
|
-
requirements:
|
153
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
154
|
+
requirements:
|
184
155
|
- - ">="
|
185
|
-
- !ruby/object:Gem::Version
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
- 8
|
190
|
-
- 7
|
191
|
-
version: 1.8.7
|
192
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
193
|
-
none: false
|
194
|
-
requirements:
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0'
|
158
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
159
|
+
requirements:
|
195
160
|
- - ">="
|
196
|
-
- !ruby/object:Gem::Version
|
197
|
-
|
198
|
-
segments:
|
199
|
-
- 0
|
200
|
-
version: "0"
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: '0'
|
201
163
|
requirements: []
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
summary: This module is a Ruby binding for [the Abiword version][abiword] of CMU's [Link Grammar][link-grammar], a syntactic parser of English.
|
164
|
+
rubygems_version: 3.1.4
|
165
|
+
signing_key:
|
166
|
+
specification_version: 4
|
167
|
+
summary: This module is a Ruby binding for the Abiword version of CMU's Link Grammar,
|
168
|
+
a syntactic parser of English.
|
208
169
|
test_files: []
|
209
|
-
|