linkparser 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/History.md +13 -0
- data/README.md +23 -6
- data/ext/{dictionary.c → linkparser_ext/dictionary.c} +1 -1
- data/ext/{extconf.rb → linkparser_ext/extconf.rb} +3 -0
- data/ext/{linkage.c → linkparser_ext/linkage.c} +1 -1
- data/ext/{linkparser.c → linkparser_ext/linkparser.c} +24 -2
- data/ext/{linkparser.h → linkparser_ext/linkparser.h} +1 -1
- data/ext/{parseoptions.c → linkparser_ext/parseoptions.c} +14 -3
- data/ext/{sentence.c → linkparser_ext/sentence.c} +1 -1
- data/lib/linkparser.rb +2 -2
- data/lib/linkparser/dictionary.rb +1 -1
- data/lib/linkparser/linkage.rb +1 -1
- data/lib/linkparser/mixins.rb +1 -1
- data/lib/linkparser/parseoptions.rb +1 -1
- data/lib/linkparser/sentence.rb +1 -1
- data/spec/bugfixes_spec.rb +1 -1
- data/spec/helpers.rb +1 -1
- data/spec/linkparser/dictionary_spec.rb +1 -1
- data/spec/linkparser/linkage_spec.rb +16 -14
- data/spec/linkparser/mixins_spec.rb +1 -1
- data/spec/linkparser/parseoptions_spec.rb +1 -1
- data/spec/linkparser/sentence_spec.rb +1 -1
- data/spec/linkparser_spec.rb +6 -1
- metadata +66 -129
- metadata.gz.sig +0 -0
- data/.gemtest +0 -0
- data/.simplecov +0 -9
- data/ChangeLog +0 -882
- data/LICENSE +0 -27
- data/Manifest.txt +0 -29
- data/Rakefile +0 -131
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fdb3ebc1f449d0bcbdf3b4a1c69b0b417abd68642ac64d9df62cc2ccf330ba5
|
4
|
+
data.tar.gz: 1ea9b2c22a7a3212ca9fdae2e2640344e73f06331c451289bcac1fbe7c283940
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8484674e2df9d3eee3844db974a28d06b4030b6609418b6b1d54641ec0e67099632955c6ebd9276bbf23353a66cbf082472791a4764834160f70a04cd8b8f20
|
7
|
+
data.tar.gz: ed5d589f141897ec1b703f3f0d30628f418e1eca728f6d5d60b9e034ae5ed85956ac1897e33ed77692a8756bdc66965fbb6a8e2525818b9c00eafcbeddc4f9e6
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.md
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
# Release History for linkparser
|
2
|
+
|
3
|
+
---
|
4
|
+
|
5
|
+
## v2.2.0 [2020-12-24] Michael Granger <ged@faeriemud.org>
|
6
|
+
|
7
|
+
Enhancements:
|
8
|
+
|
9
|
+
- Updated for Ruby 2.7
|
10
|
+
- Add support for fetching the link-grammar config.
|
11
|
+
- Updated for link-grammar 5.8.0.
|
12
|
+
|
13
|
+
|
1
14
|
## v2.1.0 [2018-01-10] Michael Granger <ged@FaerieMUD.org>
|
2
15
|
|
3
16
|
Enhancements:
|
data/README.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
# linkparser
|
2
2
|
|
3
|
-
|
3
|
+
home
|
4
|
+
: https://hg.sr.ht/~ged/linkparser
|
5
|
+
|
6
|
+
code
|
7
|
+
: https://hg.sr.ht/~ged/linkparser/browse
|
8
|
+
|
9
|
+
docs
|
10
|
+
: http://deveiate.org/code/linkparser
|
11
|
+
|
12
|
+
github
|
13
|
+
: http://github.com/ged/linkparser
|
14
|
+
|
15
|
+
|
4
16
|
|
5
17
|
## Description
|
6
18
|
|
@@ -58,16 +70,21 @@ installed it somewhere that your linker doesn't look by default:
|
|
58
70
|
## Contributing
|
59
71
|
|
60
72
|
You can check out the current development source
|
61
|
-
[with Mercurial](
|
73
|
+
[with Mercurial](https://hg.sr.ht/~ged/linkparser),
|
62
74
|
or if you prefer Git, via
|
63
75
|
[its Github mirror](http://github.com/ged/linkparser).
|
64
76
|
|
65
77
|
After checking out the source, run:
|
66
78
|
|
67
|
-
|
79
|
+
$ gen install -Ng
|
80
|
+
$ rake setup
|
81
|
+
|
82
|
+
This will install any missing dependencies and do any neceesary developer setup.
|
83
|
+
|
84
|
+
|
85
|
+
## Author(s)
|
68
86
|
|
69
|
-
|
70
|
-
and generate the API documentation.
|
87
|
+
- Michael Granger <ged@faeriemud.org>
|
71
88
|
|
72
89
|
|
73
90
|
## License
|
@@ -79,7 +96,7 @@ https://www.gnu.org/licenses/lgpl-2.1.html
|
|
79
96
|
|
80
97
|
The gem itself is licensed under the BSD license:
|
81
98
|
|
82
|
-
Copyright (c) 2006-
|
99
|
+
Copyright (c) 2006-2020, The FaerieMUD Consortium
|
83
100
|
All rights reserved.
|
84
101
|
|
85
102
|
Redistribution and use in source and binary forms, with or without
|
@@ -36,6 +36,9 @@ have_func( 'dictionary_create_lang' )
|
|
36
36
|
have_func( 'parse_options_get_spell_guess' )
|
37
37
|
have_func( 'linkage_get_disjunct_str' )
|
38
38
|
have_func( 'linkgrammar_get_version' )
|
39
|
+
have_func( 'linkgrammar_get_configuration' )
|
40
|
+
|
41
|
+
have_const( 'CORPUS' )
|
39
42
|
|
40
43
|
create_header()
|
41
44
|
create_makefile( 'linkparser_ext' )
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*
|
2
2
|
* linkparser.c - Ruby LinkParser
|
3
|
-
* $Id
|
3
|
+
* $Id$
|
4
4
|
*
|
5
5
|
* Authors:
|
6
6
|
* * Michael Granger <ged@FaerieMUD.org>
|
@@ -89,7 +89,7 @@ rlink_log( const char *level, const char *fmt, va_dcl )
|
|
89
89
|
* library will have printed out the actual problem to stderr, and stderr is pointed
|
90
90
|
* somewhere useful.
|
91
91
|
*/
|
92
|
-
void
|
92
|
+
_Noreturn void
|
93
93
|
rlink_raise_lp_error()
|
94
94
|
{
|
95
95
|
rb_raise( rlink_eLpError, "Unknown error" );
|
@@ -128,6 +128,26 @@ rlink_link_grammar_version( VALUE self )
|
|
128
128
|
}
|
129
129
|
|
130
130
|
|
131
|
+
/*
|
132
|
+
* call-seq:
|
133
|
+
* LinkParser.link_grammar_config -> string
|
134
|
+
*
|
135
|
+
* Return the configuration used by the underlying link-grammar library.
|
136
|
+
*
|
137
|
+
*/
|
138
|
+
static VALUE
|
139
|
+
rlink_link_grammar_config( VALUE self )
|
140
|
+
{
|
141
|
+
#ifdef HAVE_LINKGRAMMAR_GET_CONFIGURATION
|
142
|
+
const char *config = linkgrammar_get_configuration();
|
143
|
+
if ( !config ) rb_bug( "linkgrammar_get_configuration returned NULL pointer" );
|
144
|
+
return rb_str_new2( config );
|
145
|
+
#else
|
146
|
+
return rb_str_new2( "Compiled with: " );
|
147
|
+
#endif /* HAVE_LINKGRAMMAR_GET_CONFIGURATION */
|
148
|
+
}
|
149
|
+
|
150
|
+
|
131
151
|
/*
|
132
152
|
* LinkParser extension init function
|
133
153
|
*/
|
@@ -141,6 +161,8 @@ Init_linkparser_ext()
|
|
141
161
|
|
142
162
|
rb_define_singleton_method( rlink_mLinkParser, "link_grammar_version",
|
143
163
|
rlink_link_grammar_version, 0 );
|
164
|
+
rb_define_singleton_method( rlink_mLinkParser, "link_grammar_config",
|
165
|
+
rlink_link_grammar_config, 0 );
|
144
166
|
|
145
167
|
rlink_init_dict();
|
146
168
|
rlink_init_sentence();
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*
|
2
2
|
* parseoptions.c - Ruby LinkParser::ParseOptions class
|
3
|
-
* $Id
|
3
|
+
* $Id$
|
4
4
|
*
|
5
5
|
* Authors:
|
6
6
|
* * Michael Granger <ged@FaerieMUD.org>
|
@@ -538,13 +538,22 @@ rlink_parseopts_set_cost_model_type( VALUE self, VALUE model_name )
|
|
538
538
|
if ( model_name == vdal_sym ) {
|
539
539
|
rlink_log_obj( self, "debug", "Selected the 'VDAL' cost model" );
|
540
540
|
model = VDAL;
|
541
|
-
}
|
541
|
+
}
|
542
|
+
#ifdef CORPUS
|
543
|
+
else if ( model_name == corpus_sym ) {
|
542
544
|
rlink_log_obj( self, "debug", "Selected the 'CORPUS' cost model" );
|
543
545
|
model = CORPUS;
|
544
|
-
}
|
546
|
+
}
|
547
|
+
else {
|
545
548
|
rb_raise( rb_eArgError, "Unknown cost model %s (expected either :vdal or :corpus).",
|
546
549
|
RSTRING_PTR(rb_inspect( model_name )) );
|
547
550
|
}
|
551
|
+
#else
|
552
|
+
else {
|
553
|
+
rb_raise( rb_eArgError, "Unknown cost model %s (this system supports only :vdal).",
|
554
|
+
RSTRING_PTR(rb_inspect( model_name )) );
|
555
|
+
}
|
556
|
+
#endif // CORPUS
|
548
557
|
|
549
558
|
rlink_log_obj( self, "info", "Setting the cost model to %s", model == VDAL ? "VDAL" : "CORPUS" );
|
550
559
|
parse_options_reset_resources( opts );
|
@@ -576,9 +585,11 @@ rlink_parseopts_get_cost_model_type( VALUE self )
|
|
576
585
|
case VDAL:
|
577
586
|
model_name = vdal_sym;
|
578
587
|
break;
|
588
|
+
#ifdef CORPUS
|
579
589
|
case CORPUS:
|
580
590
|
model_name = corpus_sym;
|
581
591
|
break;
|
592
|
+
#endif // CORPUS
|
582
593
|
default:
|
583
594
|
rb_bug( "Unhandled cost model type %d", model );
|
584
595
|
}
|
data/lib/linkparser.rb
CHANGED
data/lib/linkparser/linkage.rb
CHANGED
data/lib/linkparser/mixins.rb
CHANGED
data/lib/linkparser/sentence.rb
CHANGED
data/spec/bugfixes_spec.rb
CHANGED
data/spec/helpers.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# -*- ruby -*-
|
2
|
-
#
|
2
|
+
# frozen_string_literal: true
|
3
3
|
|
4
4
|
require_relative '../helpers'
|
5
5
|
|
@@ -26,7 +26,7 @@ describe LinkParser::Linkage do
|
|
26
26
|
" +--------------Xp--------------+\n",
|
27
27
|
" +-------->WV------->+ |\n",
|
28
28
|
" +---->Wd-----+ | |\n",
|
29
|
-
" | +Ds**c
|
29
|
+
" | +Ds**c+-Ss*s-+--Pa--+ +--RW--+\n",
|
30
30
|
" | | | | | | |\n",
|
31
31
|
"LEFT-WALL the flag.n was.v-d wet.a . RIGHT-WALL\n",
|
32
32
|
)
|
@@ -49,7 +49,7 @@ describe LinkParser::Linkage do
|
|
49
49
|
" LEFT-WALL Xp ----Xp----- Xp .\n",
|
50
50
|
" (m) LEFT-WALL hWV >---WV----> dWV was.v-d\n",
|
51
51
|
" (m) LEFT-WALL hWd >---Wd----- Wd flag.n\n",
|
52
|
-
" (m) flag.n Ss
|
52
|
+
" (m) flag.n Ss*s ----Ss*s--- Ss was.v-d\n",
|
53
53
|
" (m) the D ----Ds**c-- Ds**c flag.n\n",
|
54
54
|
" (m) was.v-d Pa ----Pa----- Pa wet.a\n",
|
55
55
|
" . RW ----RW----- RW RIGHT-WALL\n",
|
@@ -133,7 +133,7 @@ describe LinkParser::Linkage do
|
|
133
133
|
expect( linkage.link_label(0) ).to eq( "Xp" )
|
134
134
|
expect( linkage.link_label(1) ).to eq( "WV" )
|
135
135
|
expect( linkage.link_label(2) ).to eq( "Wd" )
|
136
|
-
expect( linkage.link_label(3) ).to eq( "Ss" )
|
136
|
+
expect( linkage.link_label(3) ).to eq( "Ss*s" )
|
137
137
|
expect( linkage.link_label(4) ).to eq( "Ds**c" )
|
138
138
|
expect( linkage.link_label(5) ).to eq( "Pa" )
|
139
139
|
expect( linkage.link_label(6) ).to eq( "RW" )
|
@@ -146,7 +146,7 @@ describe LinkParser::Linkage do
|
|
146
146
|
expect( linkage.link_llabel(0) ).to eq( "Xp" )
|
147
147
|
expect( linkage.link_llabel(1) ).to eq( "hWV" )
|
148
148
|
expect( linkage.link_llabel(2) ).to eq( "hWd" )
|
149
|
-
expect( linkage.link_llabel(3) ).to eq( "Ss" )
|
149
|
+
expect( linkage.link_llabel(3) ).to eq( "Ss*s" )
|
150
150
|
expect( linkage.link_llabel(4) ).to eq( "D" )
|
151
151
|
expect( linkage.link_llabel(5) ).to eq( "Pa" )
|
152
152
|
expect( linkage.link_llabel(6) ).to eq( "RW" )
|
@@ -169,7 +169,8 @@ describe LinkParser::Linkage do
|
|
169
169
|
|
170
170
|
|
171
171
|
it "can return the number of domains for any link" do
|
172
|
-
|
172
|
+
pending "are domains deprecated or something?"
|
173
|
+
expect( linkage.link_num_domains(0) ).to eq( -1 )
|
173
174
|
expect( linkage.link_num_domains(1) ).to eq( 1 )
|
174
175
|
expect( linkage.link_num_domains(2) ).to eq( 1 )
|
175
176
|
expect( linkage.link_num_domains(3) ).to eq( 1 )
|
@@ -182,6 +183,7 @@ describe LinkParser::Linkage do
|
|
182
183
|
|
183
184
|
|
184
185
|
it "can return the names of the domains of any of its links" do
|
186
|
+
pending "are domains deprecated or something?"
|
185
187
|
expect( linkage.link_domain_names(0) ).to be_an_instance_of( Array )
|
186
188
|
expect( linkage.link_domain_names(0) ).to be_empty
|
187
189
|
|
@@ -233,13 +235,13 @@ describe LinkParser::Linkage do
|
|
233
235
|
end
|
234
236
|
|
235
237
|
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
238
|
+
# LEFT-WALL Xp ----Xp----- Xp .
|
239
|
+
# (m) LEFT-WALL hWV >---WV----> dWV was.v-d
|
240
|
+
# (m) LEFT-WALL hWd >---Wd----- Wd flag.n
|
241
|
+
# (m) flag.n Ss*s ----Ss*s--- Ss was.v-d
|
242
|
+
# (m) the D ----Ds**c-- Ds**c flag.n
|
243
|
+
# (m) was.v-d Pa ----Pa----- Pa wet.a
|
244
|
+
# . RW ----RW----- RW RIGHT-WALL
|
243
245
|
it "contains link structs describing the linkage" do
|
244
246
|
expect( linkage.links ).to be_an_instance_of( Array )
|
245
247
|
expect( linkage.links.length ).to eq( 7 )
|
@@ -254,7 +256,7 @@ describe LinkParser::Linkage do
|
|
254
256
|
expect( linkage.links.last.label ).to eq( 'RW' )
|
255
257
|
expect( linkage.links[3].lword ).to eq( 'flag.n' )
|
256
258
|
expect( linkage.links[3].rword ).to eq( 'was.v-d' )
|
257
|
-
expect( linkage.links[3].label ).to eq( 'Ss' )
|
259
|
+
expect( linkage.links[3].label ).to eq( 'Ss*s' )
|
258
260
|
end
|
259
261
|
|
260
262
|
|
data/spec/linkparser_spec.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# -*- ruby -*-
|
2
|
-
#
|
2
|
+
# frozen_string_literal: true
|
3
3
|
|
4
4
|
require_relative 'helpers'
|
5
5
|
|
@@ -13,5 +13,10 @@ describe LinkParser do
|
|
13
13
|
expect( LinkParser.link_grammar_version ).to match( /link-grammar-\d+\.\d+\.\d+/i )
|
14
14
|
end
|
15
15
|
|
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 )
|
19
|
+
end
|
20
|
+
|
16
21
|
end
|
17
22
|
|
metadata
CHANGED
@@ -1,42 +1,39 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: linkparser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Granger
|
8
|
-
|
9
|
-
autorequire:
|
8
|
+
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain:
|
12
11
|
- |
|
13
12
|
-----BEGIN CERTIFICATE-----
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
+
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
X0qdrKi+2aZZ0NGuFj9AItBsVmAvkBGIpX4TEKQp5haEbPpmaqO5nIIhV26PXmyT
|
37
|
-
OMKv6pWsoS81vw5KAGBmfX8nht/Py90DQrbRvakATGI=
|
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
|
38
35
|
-----END CERTIFICATE-----
|
39
|
-
date:
|
36
|
+
date: 2020-12-24 00:00:00.000000000 Z
|
40
37
|
dependencies:
|
41
38
|
- !ruby/object:Gem::Dependency
|
42
39
|
name: loggability
|
@@ -44,148 +41,88 @@ dependencies:
|
|
44
41
|
requirements:
|
45
42
|
- - "~>"
|
46
43
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0.
|
44
|
+
version: '0.17'
|
48
45
|
type: :runtime
|
49
46
|
prerelease: false
|
50
47
|
version_requirements: !ruby/object:Gem::Requirement
|
51
48
|
requirements:
|
52
49
|
- - "~>"
|
53
50
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0.
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: hoe-mercurial
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '1.4'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '1.4'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: hoe-deveiate
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0.9'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0.9'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: hoe-highline
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0.2'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0.2'
|
51
|
+
version: '0.17'
|
97
52
|
- !ruby/object:Gem::Dependency
|
98
53
|
name: rake-compiler
|
99
54
|
requirement: !ruby/object:Gem::Requirement
|
100
55
|
requirements:
|
101
56
|
- - "~>"
|
102
57
|
- !ruby/object:Gem::Version
|
103
|
-
version: '1.
|
104
|
-
type: :
|
58
|
+
version: '1.1'
|
59
|
+
type: :runtime
|
105
60
|
prerelease: false
|
106
61
|
version_requirements: !ruby/object:Gem::Requirement
|
107
62
|
requirements:
|
108
63
|
- - "~>"
|
109
64
|
- !ruby/object:Gem::Version
|
110
|
-
version: '1.
|
65
|
+
version: '1.1'
|
111
66
|
- !ruby/object:Gem::Dependency
|
112
|
-
name: rdoc
|
67
|
+
name: rdoc
|
113
68
|
requirement: !ruby/object:Gem::Requirement
|
114
69
|
requirements:
|
115
70
|
- - "~>"
|
116
71
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
118
|
-
type: :
|
72
|
+
version: '6.2'
|
73
|
+
type: :runtime
|
119
74
|
prerelease: false
|
120
75
|
version_requirements: !ruby/object:Gem::Requirement
|
121
76
|
requirements:
|
122
77
|
- - "~>"
|
123
78
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
79
|
+
version: '6.2'
|
125
80
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
81
|
+
name: rake-deveiate
|
127
82
|
requirement: !ruby/object:Gem::Requirement
|
128
83
|
requirements:
|
129
84
|
- - "~>"
|
130
85
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
86
|
+
version: '0.15'
|
132
87
|
type: :development
|
133
88
|
prerelease: false
|
134
89
|
version_requirements: !ruby/object:Gem::Requirement
|
135
90
|
requirements:
|
136
91
|
- - "~>"
|
137
92
|
- !ruby/object:Gem::Version
|
138
|
-
version: '
|
93
|
+
version: '0.15'
|
139
94
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
95
|
+
name: rdoc-generator-fivefish
|
141
96
|
requirement: !ruby/object:Gem::Requirement
|
142
97
|
requirements:
|
143
98
|
- - "~>"
|
144
99
|
- !ruby/object:Gem::Version
|
145
|
-
version: '
|
100
|
+
version: '0.4'
|
146
101
|
type: :development
|
147
102
|
prerelease: false
|
148
103
|
version_requirements: !ruby/object:Gem::Requirement
|
149
104
|
requirements:
|
150
105
|
- - "~>"
|
151
106
|
- !ruby/object:Gem::Version
|
152
|
-
version: '
|
153
|
-
description:
|
154
|
-
|
155
|
-
[the Abiword version](http://www.abisource.com/projects/link-grammar/) of CMU's
|
156
|
-
[Link Grammar](http://www.link.cs.cmu.edu/link/), a syntactic parser of English.
|
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.
|
157
110
|
email:
|
158
|
-
- ged@
|
159
|
-
- stillflame@FaerieMUD.org
|
111
|
+
- ged@faeriemud.org
|
160
112
|
executables: []
|
161
113
|
extensions:
|
162
|
-
- ext/extconf.rb
|
163
|
-
extra_rdoc_files:
|
164
|
-
- History.md
|
165
|
-
- Manifest.txt
|
166
|
-
- README.md
|
167
|
-
- ext/dictionary.c
|
168
|
-
- ext/linkage.c
|
169
|
-
- ext/linkparser.c
|
170
|
-
- ext/linkparser.h
|
171
|
-
- ext/parseoptions.c
|
172
|
-
- ext/sentence.c
|
114
|
+
- ext/linkparser_ext/extconf.rb
|
115
|
+
extra_rdoc_files: []
|
173
116
|
files:
|
174
|
-
- ".gemtest"
|
175
|
-
- ".simplecov"
|
176
|
-
- ChangeLog
|
177
117
|
- History.md
|
178
|
-
- LICENSE
|
179
|
-
- Manifest.txt
|
180
118
|
- README.md
|
181
|
-
-
|
182
|
-
- ext/
|
183
|
-
- ext/
|
184
|
-
- ext/
|
185
|
-
- ext/linkparser.
|
186
|
-
- ext/
|
187
|
-
- ext/
|
188
|
-
- 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
|
189
126
|
- lib/linkparser.rb
|
190
127
|
- lib/linkparser/dictionary.rb
|
191
128
|
- lib/linkparser/linkage.rb
|
@@ -200,33 +137,33 @@ files:
|
|
200
137
|
- spec/linkparser/parseoptions_spec.rb
|
201
138
|
- spec/linkparser/sentence_spec.rb
|
202
139
|
- spec/linkparser_spec.rb
|
203
|
-
homepage:
|
140
|
+
homepage: https://hg.sr.ht/~ged/linkparser
|
204
141
|
licenses:
|
205
|
-
- BSD
|
206
142
|
- BSD-3-Clause
|
207
|
-
metadata:
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
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: []
|
212
151
|
require_paths:
|
213
152
|
- lib
|
214
153
|
required_ruby_version: !ruby/object:Gem::Requirement
|
215
154
|
requirements:
|
216
155
|
- - ">="
|
217
156
|
- !ruby/object:Gem::Version
|
218
|
-
version:
|
157
|
+
version: '0'
|
219
158
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
220
159
|
requirements:
|
221
160
|
- - ">="
|
222
161
|
- !ruby/object:Gem::Version
|
223
162
|
version: '0'
|
224
163
|
requirements: []
|
225
|
-
|
226
|
-
|
227
|
-
signing_key:
|
164
|
+
rubygems_version: 3.1.4
|
165
|
+
signing_key:
|
228
166
|
specification_version: 4
|
229
|
-
summary: This module is a Ruby binding for
|
230
|
-
|
231
|
-
English.
|
167
|
+
summary: This module is a Ruby binding for the Abiword version of CMU's Link Grammar,
|
168
|
+
a syntactic parser of English.
|
232
169
|
test_files: []
|