perseus_match 0.0.8 → 0.0.9
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
- data/ChangeLog +2 -0
- data/README +8 -6
- data/Rakefile +4 -6
- data/bin/perseus_match +1 -1
- data/lib/perseus_match.rb +4 -2
- data/lib/perseus_match/cluster.rb +4 -2
- data/lib/perseus_match/list.rb +4 -2
- data/lib/perseus_match/token_set.rb +5 -3
- data/lib/perseus_match/version.rb +1 -1
- metadata +85 -106
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: a1bceb2845f76933cff3e37a9ff481fb386586af
|
|
4
|
+
data.tar.gz: 3d742f5c15dfce075d26ee18f27dcca5d2b6cccd
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 76907163e8ba0242c1aa92012c0ed9752c1c3e0ab2573bfa39aeb0eb9f374cbc4f0e5435f0fc536913c4bfa3916deb159aeb2cd9e9d7aa1e325ceef0cee2ea58
|
|
7
|
+
data.tar.gz: e8fc2fc8dba26040492d5a73b40bbcbe10e673b886424bff63d5ba93428f5162a78961fccffa060fe21b87694d15206adb367d59fca7cae375366bfe27be8339
|
data/ChangeLog
CHANGED
data/README
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
== VERSION
|
|
4
4
|
|
|
5
|
-
This documentation refers to perseus_match version 0.0.
|
|
5
|
+
This documentation refers to perseus_match version 0.0.9
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
== DESCRIPTION
|
|
@@ -13,21 +13,23 @@ Fuzzy string matching based on linguistic analysis.
|
|
|
13
13
|
== LINKS
|
|
14
14
|
|
|
15
15
|
<b></b>
|
|
16
|
-
Documentation::
|
|
17
|
-
Source code::
|
|
18
|
-
|
|
16
|
+
Documentation:: http://blackwinter.github.com/perseus_match
|
|
17
|
+
Source code:: http://github.com/blackwinter/perseus_match
|
|
18
|
+
RubyGem:: http://rubygems.org/gems/perseus_match
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
== AUTHORS
|
|
22
22
|
|
|
23
|
-
* Jens Wille <mailto:jens.wille@
|
|
23
|
+
* Jens Wille <mailto:jens.wille@gmail.com>
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
== LICENSE AND COPYRIGHT
|
|
27
27
|
|
|
28
|
-
Copyright (C) 2008-
|
|
28
|
+
Copyright (C) 2008-2012 Cologne University of Applied Sciences,
|
|
29
29
|
Claudiusstr. 1, 50678 Cologne, Germany
|
|
30
30
|
|
|
31
|
+
Copyright (C) 2013 Jens Wille
|
|
32
|
+
|
|
31
33
|
perseus_match is free software: you can redistribute it and/or modify it under
|
|
32
34
|
the terms of the GNU Affero General Public License as published by the Free
|
|
33
35
|
Software Foundation, either version 3 of the License, or (at your option)
|
data/Rakefile
CHANGED
|
@@ -4,16 +4,14 @@ begin
|
|
|
4
4
|
require 'hen'
|
|
5
5
|
|
|
6
6
|
Hen.lay! {{
|
|
7
|
-
:rubyforge => {
|
|
8
|
-
:project => %q{prometheus},
|
|
9
|
-
:package => %q{perseus_match}
|
|
10
|
-
},
|
|
11
|
-
|
|
12
7
|
:gem => {
|
|
8
|
+
:name => %q{perseus_match},
|
|
13
9
|
:version => PerseusMatch::VERSION,
|
|
14
10
|
:summary => %q{Fuzzy string matching based on linguistic analysis},
|
|
15
11
|
:author => %q{Jens Wille},
|
|
16
|
-
:email => %q{jens.wille@
|
|
12
|
+
:email => %q{jens.wille@gmail.com},
|
|
13
|
+
:license => %q{AGPL-3.0},
|
|
14
|
+
:homepage => :blackwinter,
|
|
17
15
|
:exclude_files => FileList[%w[LINGO_BASE]].to_a,
|
|
18
16
|
:dependencies => ['ruby-backports', ['ruby-nuggets', '>= 0.6.7'], ['unicode', '>= 0.1.1'], 'open4']
|
|
19
17
|
}
|
data/bin/perseus_match
CHANGED
data/lib/perseus_match.rb
CHANGED
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
# #
|
|
4
4
|
# perseus_match -- Fuzzy string matching based on linguistic analysis #
|
|
5
5
|
# #
|
|
6
|
-
# Copyright (C) 2008-
|
|
6
|
+
# Copyright (C) 2008-2012 Cologne University of Applied Sciences #
|
|
7
7
|
# Claudiusstr. 1 #
|
|
8
8
|
# 50678 Cologne, Germany #
|
|
9
9
|
# #
|
|
10
|
+
# Copyright (C) 2013 Jens Wille #
|
|
11
|
+
# #
|
|
10
12
|
# Authors: #
|
|
11
|
-
# Jens Wille <jens.wille@
|
|
13
|
+
# Jens Wille <jens.wille@gmail.com> #
|
|
12
14
|
# #
|
|
13
15
|
# perseus_match is free software: you can redistribute it and/or modify it #
|
|
14
16
|
# under the terms of the GNU Affero General Public License as published by #
|
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
# #
|
|
4
4
|
# A component of perseus_match, the fuzzy string matcher #
|
|
5
5
|
# #
|
|
6
|
-
# Copyright (C) 2008-
|
|
6
|
+
# Copyright (C) 2008-2012 Cologne University of Applied Sciences #
|
|
7
7
|
# Claudiusstr. 1 #
|
|
8
8
|
# 50678 Cologne, Germany #
|
|
9
9
|
# #
|
|
10
|
+
# Copyright (C) 2013 Jens Wille #
|
|
11
|
+
# #
|
|
10
12
|
# Authors: #
|
|
11
|
-
# Jens Wille <jens.wille@
|
|
13
|
+
# Jens Wille <jens.wille@gmail.com> #
|
|
12
14
|
# #
|
|
13
15
|
# perseus_match is free software: you can redistribute it and/or modify it #
|
|
14
16
|
# under the terms of the GNU Affero General Public License as published by #
|
data/lib/perseus_match/list.rb
CHANGED
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
# #
|
|
4
4
|
# A component of perseus_match, the fuzzy string matcher #
|
|
5
5
|
# #
|
|
6
|
-
# Copyright (C) 2008-
|
|
6
|
+
# Copyright (C) 2008-2012 Cologne University of Applied Sciences #
|
|
7
7
|
# Claudiusstr. 1 #
|
|
8
8
|
# 50678 Cologne, Germany #
|
|
9
9
|
# #
|
|
10
|
+
# Copyright (C) 2013 Jens Wille #
|
|
11
|
+
# #
|
|
10
12
|
# Authors: #
|
|
11
|
-
# Jens Wille <jens.wille@
|
|
13
|
+
# Jens Wille <jens.wille@gmail.com> #
|
|
12
14
|
# #
|
|
13
15
|
# perseus_match is free software: you can redistribute it and/or modify it #
|
|
14
16
|
# under the terms of the GNU Affero General Public License as published by #
|
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
# #
|
|
4
4
|
# A component of perseus_match, the fuzzy string matcher #
|
|
5
5
|
# #
|
|
6
|
-
# Copyright (C) 2008-
|
|
6
|
+
# Copyright (C) 2008-2012 Cologne University of Applied Sciences #
|
|
7
7
|
# Claudiusstr. 1 #
|
|
8
8
|
# 50678 Cologne, Germany #
|
|
9
9
|
# #
|
|
10
|
+
# Copyright (C) 2013 Jens Wille #
|
|
11
|
+
# #
|
|
10
12
|
# Authors: #
|
|
11
|
-
# Jens Wille <jens.wille@
|
|
13
|
+
# Jens Wille <jens.wille@gmail.com> #
|
|
12
14
|
# #
|
|
13
15
|
# perseus_match is free software: you can redistribute it and/or modify it #
|
|
14
16
|
# under the terms of the GNU Affero General Public License as published by #
|
|
@@ -26,7 +28,7 @@
|
|
|
26
28
|
###############################################################################
|
|
27
29
|
#++
|
|
28
30
|
|
|
29
|
-
$KCODE = 'u'
|
|
31
|
+
$KCODE = 'u' if RUBY_VERSION < '1.9'
|
|
30
32
|
|
|
31
33
|
require 'pathname'
|
|
32
34
|
require 'rbconfig'
|
metadata
CHANGED
|
@@ -1,155 +1,134 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: perseus_match
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
5
|
-
prerelease:
|
|
6
|
-
segments:
|
|
7
|
-
- 0
|
|
8
|
-
- 0
|
|
9
|
-
- 8
|
|
10
|
-
version: 0.0.8
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.9
|
|
11
5
|
platform: ruby
|
|
12
|
-
authors:
|
|
6
|
+
authors:
|
|
13
7
|
- Jens Wille
|
|
14
8
|
autorequire:
|
|
15
9
|
bindir: bin
|
|
16
10
|
cert_chain: []
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
- !ruby/object:Gem::Dependency
|
|
11
|
+
date: 2013-12-19 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
21
14
|
name: ruby-backports
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
none: false
|
|
25
|
-
requirements:
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
26
17
|
- - ">="
|
|
27
|
-
- !ruby/object:Gem::Version
|
|
28
|
-
|
|
29
|
-
segments:
|
|
30
|
-
- 0
|
|
31
|
-
version: "0"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '0'
|
|
32
20
|
type: :runtime
|
|
33
|
-
version_requirements: *id001
|
|
34
|
-
- !ruby/object:Gem::Dependency
|
|
35
|
-
name: ruby-nuggets
|
|
36
21
|
prerelease: false
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
requirements:
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
40
24
|
- - ">="
|
|
41
|
-
- !ruby/object:Gem::Version
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '0'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: ruby-nuggets
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - ">="
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
47
33
|
version: 0.6.7
|
|
48
34
|
type: :runtime
|
|
49
|
-
version_requirements: *id002
|
|
50
|
-
- !ruby/object:Gem::Dependency
|
|
51
|
-
name: unicode
|
|
52
35
|
prerelease: false
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
requirements:
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
56
38
|
- - ">="
|
|
57
|
-
- !ruby/object:Gem::Version
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: 0.6.7
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: unicode
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - ">="
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
63
47
|
version: 0.1.1
|
|
64
48
|
type: :runtime
|
|
65
|
-
version_requirements: *id003
|
|
66
|
-
- !ruby/object:Gem::Dependency
|
|
67
|
-
name: open4
|
|
68
49
|
prerelease: false
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
requirements:
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
72
52
|
- - ">="
|
|
73
|
-
- !ruby/object:Gem::Version
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: 0.1.1
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: open4
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - ">="
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: '0'
|
|
78
62
|
type: :runtime
|
|
79
|
-
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - ">="
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: '0'
|
|
80
69
|
description: Fuzzy string matching based on linguistic analysis
|
|
81
|
-
email: jens.wille@
|
|
82
|
-
executables:
|
|
70
|
+
email: jens.wille@gmail.com
|
|
71
|
+
executables:
|
|
83
72
|
- perseus_match
|
|
84
73
|
extensions: []
|
|
85
|
-
|
|
86
|
-
extra_rdoc_files:
|
|
74
|
+
extra_rdoc_files:
|
|
87
75
|
- README
|
|
88
76
|
- COPYING
|
|
89
77
|
- ChangeLog
|
|
90
|
-
files:
|
|
91
|
-
- lib/perseus_match
|
|
92
|
-
- lib/perseus_match/token_set.rb
|
|
78
|
+
files:
|
|
79
|
+
- lib/perseus_match.rb
|
|
93
80
|
- lib/perseus_match/cluster.rb
|
|
94
|
-
- lib/perseus_match/version.rb
|
|
95
81
|
- lib/perseus_match/core_ext.rb
|
|
96
82
|
- lib/perseus_match/list.rb
|
|
97
|
-
- lib/perseus_match.rb
|
|
83
|
+
- lib/perseus_match/token.rb
|
|
84
|
+
- lib/perseus_match/token_set.rb
|
|
85
|
+
- lib/perseus_match/version.rb
|
|
98
86
|
- bin/perseus_match
|
|
99
|
-
-
|
|
87
|
+
- COPYING
|
|
100
88
|
- ChangeLog
|
|
89
|
+
- README
|
|
101
90
|
- Rakefile
|
|
102
|
-
- COPYING
|
|
103
|
-
- example/lingo.cfg
|
|
104
|
-
- example/phrases.txt
|
|
105
91
|
- example/check.csv
|
|
106
92
|
- example/config.yaml
|
|
93
|
+
- example/lingo.cfg
|
|
94
|
+
- example/phrases.txt
|
|
107
95
|
- spec/perseus_match/cluster_spec.rb
|
|
108
96
|
- spec/perseus_match/list_spec.rb
|
|
109
|
-
- spec/perseus_match/token_spec.rb
|
|
110
97
|
- spec/perseus_match/token_set_spec.rb
|
|
98
|
+
- spec/perseus_match/token_spec.rb
|
|
111
99
|
- spec/perseus_match_spec.rb
|
|
112
100
|
- spec/spec.opts
|
|
113
101
|
- spec/spec_helper.rb
|
|
114
|
-
homepage: http://
|
|
115
|
-
licenses:
|
|
116
|
-
|
|
102
|
+
homepage: http://github.com/blackwinter/perseus_match
|
|
103
|
+
licenses:
|
|
104
|
+
- AGPL-3.0
|
|
105
|
+
metadata: {}
|
|
117
106
|
post_install_message:
|
|
118
|
-
rdoc_options:
|
|
119
|
-
- --
|
|
120
|
-
-
|
|
121
|
-
-
|
|
122
|
-
- --charset
|
|
107
|
+
rdoc_options:
|
|
108
|
+
- "--title"
|
|
109
|
+
- perseus_match Application documentation (v0.0.9)
|
|
110
|
+
- "--charset"
|
|
123
111
|
- UTF-8
|
|
124
|
-
- --
|
|
125
|
-
- --
|
|
126
|
-
-
|
|
127
|
-
|
|
112
|
+
- "--line-numbers"
|
|
113
|
+
- "--all"
|
|
114
|
+
- "--main"
|
|
115
|
+
- README
|
|
116
|
+
require_paths:
|
|
128
117
|
- lib
|
|
129
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
130
|
-
|
|
131
|
-
requirements:
|
|
118
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
119
|
+
requirements:
|
|
132
120
|
- - ">="
|
|
133
|
-
- !ruby/object:Gem::Version
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
version: "0"
|
|
138
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
|
-
none: false
|
|
140
|
-
requirements:
|
|
121
|
+
- !ruby/object:Gem::Version
|
|
122
|
+
version: '0'
|
|
123
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
|
+
requirements:
|
|
141
125
|
- - ">="
|
|
142
|
-
- !ruby/object:Gem::Version
|
|
143
|
-
|
|
144
|
-
segments:
|
|
145
|
-
- 0
|
|
146
|
-
version: "0"
|
|
126
|
+
- !ruby/object:Gem::Version
|
|
127
|
+
version: '0'
|
|
147
128
|
requirements: []
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
rubygems_version: 1.7.2
|
|
129
|
+
rubyforge_project:
|
|
130
|
+
rubygems_version: 2.1.11
|
|
151
131
|
signing_key:
|
|
152
|
-
specification_version:
|
|
132
|
+
specification_version: 4
|
|
153
133
|
summary: Fuzzy string matching based on linguistic analysis
|
|
154
134
|
test_files: []
|
|
155
|
-
|