hydra-works 2.0.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2e59b8a3c691e329daaa38e524c2042a10135c137165c89cbcffc27ac82f955a
4
- data.tar.gz: 73b6203943cdd78963127d7c998645f4e8763eaa3f85e8a2d57fddce0e3aa043
3
+ metadata.gz: 6b4123e2b8108c9029c4edf996648ab431eb99a879fe252f7d09821cd5ce7627
4
+ data.tar.gz: d870ef52fd4f4bd0287b583dd8af4015eb05c3b4b9dc6e1a5fbe76cc00bf5969
5
5
  SHA512:
6
- metadata.gz: 730f2f0abdc3e7451924e4d95b03be499c7de24eeefcc4f282b9bde0cc0167a1a70d52ed39534c5de5d7d76c013aa41f1e8b6dfbd61000201b658f2b039463e7
7
- data.tar.gz: 3720b79fe1ef451ef274638c2373b8c48b425c6010b57638dc396e28a21920252c7c895f44e4a114b100936cb3192754cbf5642a617250c62070692ac9927b6a
6
+ metadata.gz: 276959f9579fe82a6af347c537a36fe1190f2749ac54f151d10ded01d758cabfc8ba83a13e8cd44a1d73db207e0bbcde59b992062901de79fe2e5426857c5380
7
+ data.tar.gz: 917a2d31b2a368deb1b51f87c900f8801f2939c9b4646fb3b4664ea3b76924ea527fa6bb2d426fd6584bd00bd9189d7da0ce2a75fc83a0bf428105429f214e38
data/.circleci/config.yml CHANGED
@@ -1,59 +1,169 @@
1
1
  ---
2
2
  version: 2.1
3
3
  orbs:
4
- samvera: samvera/circleci-orb@0
4
+ samvera: samvera/circleci-orb@1.0
5
5
  jobs:
6
- test:
6
+ bundle_lint_test:
7
7
  parameters:
8
8
  ruby_version:
9
9
  type: string
10
10
  bundler_version:
11
11
  type: string
12
- default: 1.17.3
12
+ default: 2.4.5
13
13
  rails_version:
14
14
  type: string
15
+ solr_config_path:
16
+ type: string
17
+ default: solr/conf
18
+ ruby_type:
19
+ type: string
20
+ default: 'ruby'
21
+ solr_port:
22
+ type: string
23
+ default: '8985'
24
+ fcrepo_version:
25
+ type: string
26
+ default: "4.7.5"
27
+ solr_version:
28
+ type: string
29
+ default: "9"
30
+ docker:
31
+ - image: cimg/<< parameters.ruby_type >>:<< parameters.ruby_version >>-browsers
32
+ - image: samvera/fcrepo4:<< parameters.fcrepo_version >>
33
+ environment:
34
+ CATALINA_OPTS: "-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms512m -Xmx1024m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:+DisableExplicitGC"
35
+ - image: zookeeper:3.9
36
+ environment:
37
+ ZOO_ADMINSERVER_ENABLED: false
38
+ - image: solr:<< parameters.solr_version >>
39
+ environment:
40
+ VERBOSE: yes
41
+ SECURITY_JSON: '{"authentication":{"blockUnknown": false, "class":"solr.BasicAuthPlugin", "credentials":{"solr":"IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c="}, "realm":"My Solr users", "forwardCredentials": false}, "authorization":{ "class":"solr.RuleBasedAuthorizationPlugin", "permissions":[{"name":"security-edit", "role":"admin"}], "user-role":{"solr":"admin"}}}'
42
+ command: sh -c "server/scripts/cloud-scripts/zkcli.sh -zkhost localhost:2181 -cmd put /security.json \"${SECURITY_JSON}\" && solr-fg -cloud -noprompt -p << parameters.solr_port >> -z localhost:2181"
15
43
  environment:
16
44
  RAILS_VERSION: << parameters.rails_version >>
17
45
  NOKOGIRI_USE_SYSTEM_LIBRARIES: true
18
- executor:
19
- name: 'samvera/ruby_fcrepo_solr'
20
- ruby_version: << parameters.ruby_version >>
46
+ FCREPO_TEST_PORT: 8080
21
47
  steps:
22
- - run: 'sudo apt-get update && sudo apt-get install clamav'
48
+ - run: 'wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -'
49
+ - run: 'sudo apt-get update'
50
+ - run: 'sudo apt-get install -y clamav libsqlite3-dev'
23
51
  - run: 'sudo freshclam'
52
+
24
53
  - samvera/cached_checkout
54
+
25
55
  - samvera/bundle_for_gem:
26
56
  ruby_version: << parameters.ruby_version >>
27
57
  bundler_version: << parameters.bundler_version >>
28
58
  project: hydra-works
29
- - samvera/install_solr_active_fedora_core
59
+
60
+ - run:
61
+ name: Install solr core
62
+ command: |
63
+ cd << parameters.solr_config_path >>
64
+ zip -1 -r solr_conf.zip ./*
65
+ curl -H "Content-type:application/octet-stream" --data-binary @solr_conf.zip "http://solr:SolrRocks@127.0.0.1:8985/solr/admin/configs?action=UPLOAD&name=solrconfig"
66
+ curl "http://solr:SolrRocks@127.0.0.1:8985/solr/admin/collections?action=CREATE&name=hydra-test&numShards=1&collection.configName=solrconfig"
67
+
30
68
  - samvera/parallel_rspec
31
69
 
32
70
  workflows:
33
- version: 2
34
71
  ci:
35
72
  jobs:
36
- - test:
37
- name: ruby2-7_rails6-0
38
- ruby_version: 2.7.1
39
- rails_version: 6.0.3.1
40
- - test:
41
- name: ruby2-6_rails6-0
42
- ruby_version: 2.6.6
43
- rails_version: 6.0.3.1
44
- - test:
45
- name: ruby2-5_rails6-0
46
- ruby_version: 2.5.8
47
- rails_version: 6.0.3.1
48
- - test:
49
- name: ruby2-7_rails5-2
50
- ruby_version: 2.7.1
51
- rails_version: 5.2.4.3
52
- - test:
53
- name: ruby2-6_rails5-2
54
- ruby_version: 2.6.6
55
- rails_version: 5.2.4.3
56
- - test:
57
- name: ruby2-5_rails5-2
58
- ruby_version: 2.5.8
59
- rails_version: 5.2.4.3
73
+ # Ruby 3.3 releases
74
+ - bundle_lint_test:
75
+ name: ruby3-3_rails7-2
76
+ ruby_version: 3.3.4
77
+ rails_version: 7.2.0
78
+ - bundle_lint_test:
79
+ name: ruby3-3_rails7-1
80
+ ruby_version: 3.3.4
81
+ rails_version: 7.1.3.4
82
+ - bundle_lint_test:
83
+ name: ruby3-3_rails7-0
84
+ ruby_version: 3.3.4
85
+ rails_version: 7.0.8.4
86
+ - bundle_lint_test:
87
+ name: ruby3-3_rails6-1
88
+ ruby_version: 3.3.4
89
+ rails_version: 6.1.7.8
90
+ # Ruby 3.2 releases
91
+ - bundle_lint_test:
92
+ name: ruby3-2_rails7-1
93
+ ruby_version: 3.2.5
94
+ rails_version: 7.1.3.4
95
+ - bundle_lint_test:
96
+ name: ruby3-2_rails7-0
97
+ ruby_version: 3.2.5
98
+ rails_version: 7.0.8.4
99
+ - bundle_lint_test:
100
+ name: ruby3-2_rails6-1
101
+ ruby_version: 3.2.5
102
+ rails_version: 6.1.7.8
103
+ # Ruby 3.1 releases
104
+ - bundle_lint_test:
105
+ name: ruby3-1_rails7-1
106
+ ruby_version: 3.1.6
107
+ rails_version: 7.1.3.4
108
+ - bundle_lint_test:
109
+ name: ruby3-1_rails7-0
110
+ ruby_version: 3.1.6
111
+ rails_version: 7.0.8.4
112
+ - bundle_lint_test:
113
+ name: ruby3-1_rails6-1
114
+ ruby_version: 3.1.6
115
+ rails_version: 6.1.7.8
116
+
117
+
118
+ nightly:
119
+ triggers:
120
+ - schedule:
121
+ cron: "0 0 * * *"
122
+ filters:
123
+ branches:
124
+ only:
125
+ - main
126
+ jobs:
127
+ # Ruby 3.3 releases
128
+ - bundle_lint_test:
129
+ name: ruby3-3_rails7-2
130
+ ruby_version: 3.3.4
131
+ rails_version: 7.2.0
132
+ - bundle_lint_test:
133
+ name: ruby3-3_rails7-1
134
+ ruby_version: 3.3.4
135
+ rails_version: 7.1.3.4
136
+ - bundle_lint_test:
137
+ name: ruby3-3_rails7-0
138
+ ruby_version: 3.3.4
139
+ rails_version: 7.0.8.4
140
+ - bundle_lint_test:
141
+ name: ruby3-3_rails6-1
142
+ ruby_version: 3.3.4
143
+ rails_version: 6.1.7.8
144
+ # Ruby 3.2 releases
145
+ - bundle_lint_test:
146
+ name: ruby3-2_rails7-1
147
+ ruby_version: 3.2.5
148
+ rails_version: 7.1.3.4
149
+ - bundle_lint_test:
150
+ name: ruby3-2_rails7-0
151
+ ruby_version: 3.2.5
152
+ rails_version: 7.0.8.4
153
+ - bundle_lint_test:
154
+ name: ruby3-2_rails6-1
155
+ ruby_version: 3.2.5
156
+ rails_version: 6.1.7.8
157
+ # Ruby 3.1 releases
158
+ - bundle_lint_test:
159
+ name: ruby3-1_rails7-1
160
+ ruby_version: 3.1.6
161
+ rails_version: 7.1.3.4
162
+ - bundle_lint_test:
163
+ name: ruby3-1_rails7-0
164
+ ruby_version: 3.1.6
165
+ rails_version: 7.0.8.4
166
+ - bundle_lint_test:
167
+ name: ruby3-1_rails6-1
168
+ ruby_version: 3.1.6
169
+ rails_version: 6.1.7.8
data/.rubocop.yml CHANGED
@@ -49,7 +49,7 @@ Style/SignalException:
49
49
  Enabled: false
50
50
 
51
51
  Style/IndentationConsistency:
52
- EnforcedStyle: rails
52
+ EnforcedStyle: indented_internal_methods
53
53
 
54
54
  RSpec/ExampleWording:
55
55
  CustomTransform:
data/README.md CHANGED
@@ -1,27 +1,30 @@
1
1
  # Hydra::Works
2
2
 
3
- [![Version](https://badge.fury.io/rb/hydra-works.png)](http://badge.fury.io/rb/hydra-works)
4
- [![CircleCI](https://circleci.com/gh/samvera/hydra-works.svg?style=svg)](https://circleci.com/gh/samvera/hydra-works)
5
- [![Coverage Status](https://coveralls.io/repos/samvera/hydra-works/badge.svg?branch=master)](https://coveralls.io/r/samvera/hydra-works?branch=master)
3
+ Code:
4
+ [![Gem Version](https://badge.fury.io/rb/hydra-works.png)](http://badge.fury.io/rb/hydra-works)
5
+ [![Build Status](https://circleci.com/gh/samvera/hydra-works.svg?style=svg)](https://circleci.com/gh/samvera/hydra-works)
6
+ [![Coverage Status](https://coveralls.io/repos/samvera/hydra-works/badge.svg?branch=main)](https://coveralls.io/r/samvera/hydra-works?branch=main)
6
7
  [![Code Climate](https://codeclimate.com/github/samvera/hydra-works/badges/gpa.svg)](https://codeclimate.com/github/samvera/hydra-works)
7
- [![Apache 2.0 License](http://img.shields.io/badge/APACHE2-license-blue.svg)](./LICENSE)
8
+
9
+ Docs:
8
10
  [![Contribution Guidelines](http://img.shields.io/badge/CONTRIBUTING-Guidelines-blue.svg)](./CONTRIBUTING.md)
11
+ [![Apache 2.0 License](http://img.shields.io/badge/APACHE2-license-blue.svg)](./LICENSE)
9
12
  [![API Docs](http://img.shields.io/badge/API-docs-blue.svg)](http://rubydoc.info/gems/hydra-works)
10
13
 
11
- Jump in: [![Slack Status](http://slack.samvera.org/badge.svg)](http://slack.samvera.org/)
14
+ Community Support: [![Samvera Community Slack](https://img.shields.io/badge/samvera-slack-blueviolet)](http://slack.samvera.org/)
12
15
 
13
16
  # What is hydra-works?
14
- The Hydra::Works gem implements the [PCDM](https://github.com/duraspace/pcdm/wiki) [Works](https://github.com/duraspace/pcdm/blob/master/pcdm-ext/works.rdf) data model using ActiveFedora-based models. In addition to the models, Hydra::Works includes associated behaviors around the broad concept of describable "works" or intellectual entities, the need for which was expressed by a variety of [Samvera community use cases](https://github.com/samvera/hydra-works/tree/master/use-cases).
17
+ The Hydra::Works gem implements the [PCDM](https://github.com/duraspace/pcdm/wiki) [Works](https://github.com/duraspace/pcdm/blob/main/pcdm-ext/works.rdf) data model using ActiveFedora-based models. In addition to the models, Hydra::Works includes associated behaviors around the broad concept of describable "works" or intellectual entities, the need for which was expressed by a variety of [Samvera community use cases](https://github.com/samvera/hydra-works/tree/main/use-cases).
15
18
 
16
19
  ## Product Owner & Maintenance
17
20
 
18
- hydra-works is a Core Component of the Samvera community. The documentation for
19
- what this means can be found
20
- [here](http://samvera.github.io/core_components.html#requirements-for-a-core-component).
21
+ `hydra-works` was a Core Component of the Samvera Community. Given a decline in available labor required for maintenance, this project no longer has a dedicated Product Owner. The documentation for what this means can be found [here](http://samvera.github.io/core_components.html#requirements-for-a-core-component).
21
22
 
22
23
  ### Product Owner
23
24
 
24
- [mark-dce](https://github.com/mark-dce)
25
+ **Vacant**
26
+
27
+ _Until a Product Owner has been identified, we ask that you please direct all requests for support, bug reports, and general questions to the [`#dev` Channel on the Samvera Slack](https://samvera.slack.com/app_redirect?channel=dev)._
25
28
 
26
29
  # Help
27
30
 
@@ -122,7 +125,7 @@ end
122
125
 
123
126
  ## Access controls
124
127
 
125
- We are using [Web ACL](http://www.w3.org/wiki/WebAccessControl) as implemented by [hydra-access-controls](https://github.com/samvera/hydra-head/tree/master/hydra-access-controls).
128
+ We are using [Web ACL](http://www.w3.org/wiki/WebAccessControl) as implemented by [hydra-access-controls](https://github.com/samvera/hydra-head/tree/main/hydra-access-controls).
126
129
 
127
130
  ## How to contribute
128
131
 
data/hydra-works.gemspec CHANGED
@@ -13,24 +13,25 @@ Gem::Specification.new do |spec|
13
13
  spec.description = %q{Using this data model should enable easy collaboration amongst Samvera projects.}
14
14
  spec.homepage = 'https://github.com/samvera/hydra-works'
15
15
  spec.license = 'APACHE2'
16
+ spec.metadata = { "rubygems_mfa_required" => "true" }
16
17
 
17
18
  spec.files = `git ls-files -z`.split("\x0") - DO_NOT_SHIP
18
19
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
20
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20
21
  spec.require_paths = ['lib']
21
22
 
22
- spec.add_dependency 'activesupport', '>= 5.2', '< 7.0'
23
- spec.add_dependency 'hydra-derivatives', '~> 3.6'
23
+ spec.add_dependency 'activesupport', '>= 5.2', '< 8.0'
24
+ spec.add_dependency 'hydra-derivatives', '>= 3.6'
24
25
  spec.add_dependency 'hydra-file_characterization', '~> 1.0'
25
26
  spec.add_dependency 'hydra-pcdm', '>= 0.9'
26
27
 
27
28
  spec.add_development_dependency 'bundler', '>= 1.7'
28
29
  spec.add_development_dependency 'coveralls'
29
- spec.add_development_dependency 'fcrepo_wrapper', '~> 0.1'
30
- spec.add_development_dependency 'rake', '~> 12.3'
30
+ spec.add_development_dependency 'fcrepo_wrapper'
31
+ spec.add_development_dependency 'rake'
31
32
  spec.add_development_dependency 'rspec'
32
33
  spec.add_development_dependency 'rspec-rails'
33
- spec.add_development_dependency 'solr_wrapper', '~> 2.0'
34
+ spec.add_development_dependency 'solr_wrapper'
34
35
  spec.add_development_dependency 'sqlite3'
35
36
  spec.add_development_dependency 'rspec_junit_formatter'
36
37
  end
@@ -1,5 +1,5 @@
1
1
  module Hydra
2
2
  module Works
3
- VERSION = '2.0.0'.freeze
3
+ VERSION = '2.2.0'.freeze
4
4
  end
5
5
  end
@@ -0,0 +1,3 @@
1
+ {
2
+ "initArgs":{},
3
+ "managedList":[]}
@@ -0,0 +1,31 @@
1
+ <!--
2
+ Licensed to the Apache Software Foundation (ASF) under one or more
3
+ contributor license agreements. See the NOTICE file distributed with
4
+ this work for additional information regarding copyright ownership.
5
+ The ASF licenses this file to You under the Apache License, Version 2.0
6
+ (the "License"); you may not use this file except in compliance with
7
+ the License. You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ Unless required by applicable law or agreed to in writing, software
12
+ distributed under the License is distributed on an "AS IS" BASIS,
13
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ See the License for the specific language governing permissions and
15
+ limitations under the License.
16
+ -->
17
+
18
+ <!-- The content of this page will be statically included into the top
19
+ of the admin page. Uncomment this as an example to see there the content
20
+ will show up.
21
+
22
+ <hr>
23
+ <i>This line will appear before the first table</i>
24
+ <tr>
25
+ <td colspan="2">
26
+ This row will be appended to the end of the first table
27
+ </td>
28
+ </tr>
29
+ <hr>
30
+
31
+ -->
@@ -0,0 +1,36 @@
1
+ <?xml version="1.0" encoding="UTF-8" ?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -->
18
+
19
+ <!-- If this file is found in the config directory, it will only be
20
+ loaded once at startup. If it is found in Solr's data
21
+ directory, it will be re-loaded every commit.
22
+ -->
23
+
24
+ <elevate>
25
+ <query text="foo bar">
26
+ <doc id="1" />
27
+ <doc id="2" />
28
+ <doc id="3" />
29
+ </query>
30
+
31
+ <query text="ipod">
32
+ <doc id="MA147LL/A" /> <!-- put the actual ipod at the top -->
33
+ <doc id="IW-02" exclude="true" /> <!-- exclude this cable -->
34
+ </query>
35
+
36
+ </elevate>
@@ -0,0 +1,246 @@
1
+ # The ASF licenses this file to You under the Apache License, Version 2.0
2
+ # (the "License"); you may not use this file except in compliance with
3
+ # the License. You may obtain a copy of the License at
4
+ #
5
+ # http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software
8
+ # distributed under the License is distributed on an "AS IS" BASIS,
9
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
+ # See the License for the specific language governing permissions and
11
+ # limitations under the License.
12
+
13
+ # Syntax:
14
+ # "source" => "target"
15
+ # "source".length() > 0 (source cannot be empty.)
16
+ # "target".length() >= 0 (target can be empty.)
17
+
18
+ # example:
19
+ # "??" => "A"
20
+ # "\u00C0" => "A"
21
+ # "\u00C0" => "\u0041"
22
+ # "??" => "ss"
23
+ # "\t" => " "
24
+ # "\n" => ""
25
+
26
+ # ?? => A
27
+ "\u00C0" => "A"
28
+
29
+ # ?? => A
30
+ "\u00C1" => "A"
31
+
32
+ # ?? => A
33
+ "\u00C2" => "A"
34
+
35
+ # ?? => A
36
+ "\u00C3" => "A"
37
+
38
+ # ?? => A
39
+ "\u00C4" => "A"
40
+
41
+ # ?? => A
42
+ "\u00C5" => "A"
43
+
44
+ # ?? => AE
45
+ "\u00C6" => "AE"
46
+
47
+ # ?? => C
48
+ "\u00C7" => "C"
49
+
50
+ # ?? => E
51
+ "\u00C8" => "E"
52
+
53
+ # ?? => E
54
+ "\u00C9" => "E"
55
+
56
+ # ?? => E
57
+ "\u00CA" => "E"
58
+
59
+ # ?? => E
60
+ "\u00CB" => "E"
61
+
62
+ # ?? => I
63
+ "\u00CC" => "I"
64
+
65
+ # ?? => I
66
+ "\u00CD" => "I"
67
+
68
+ # ?? => I
69
+ "\u00CE" => "I"
70
+
71
+ # ?? => I
72
+ "\u00CF" => "I"
73
+
74
+ # ?? => IJ
75
+ "\u0132" => "IJ"
76
+
77
+ # ?? => D
78
+ "\u00D0" => "D"
79
+
80
+ # ?? => N
81
+ "\u00D1" => "N"
82
+
83
+ # ?? => O
84
+ "\u00D2" => "O"
85
+
86
+ # ?? => O
87
+ "\u00D3" => "O"
88
+
89
+ # ?? => O
90
+ "\u00D4" => "O"
91
+
92
+ # ?? => O
93
+ "\u00D5" => "O"
94
+
95
+ # ?? => O
96
+ "\u00D6" => "O"
97
+
98
+ # ?? => O
99
+ "\u00D8" => "O"
100
+
101
+ # ?? => OE
102
+ "\u0152" => "OE"
103
+
104
+ # ??
105
+ "\u00DE" => "TH"
106
+
107
+ # ?? => U
108
+ "\u00D9" => "U"
109
+
110
+ # ?? => U
111
+ "\u00DA" => "U"
112
+
113
+ # ?? => U
114
+ "\u00DB" => "U"
115
+
116
+ # ?? => U
117
+ "\u00DC" => "U"
118
+
119
+ # ?? => Y
120
+ "\u00DD" => "Y"
121
+
122
+ # ?? => Y
123
+ "\u0178" => "Y"
124
+
125
+ # ?? => a
126
+ "\u00E0" => "a"
127
+
128
+ # ?? => a
129
+ "\u00E1" => "a"
130
+
131
+ # ?? => a
132
+ "\u00E2" => "a"
133
+
134
+ # ?? => a
135
+ "\u00E3" => "a"
136
+
137
+ # ?? => a
138
+ "\u00E4" => "a"
139
+
140
+ # ?? => a
141
+ "\u00E5" => "a"
142
+
143
+ # ?? => ae
144
+ "\u00E6" => "ae"
145
+
146
+ # ?? => c
147
+ "\u00E7" => "c"
148
+
149
+ # ?? => e
150
+ "\u00E8" => "e"
151
+
152
+ # ?? => e
153
+ "\u00E9" => "e"
154
+
155
+ # ?? => e
156
+ "\u00EA" => "e"
157
+
158
+ # ?? => e
159
+ "\u00EB" => "e"
160
+
161
+ # ?? => i
162
+ "\u00EC" => "i"
163
+
164
+ # ?? => i
165
+ "\u00ED" => "i"
166
+
167
+ # ?? => i
168
+ "\u00EE" => "i"
169
+
170
+ # ?? => i
171
+ "\u00EF" => "i"
172
+
173
+ # ?? => ij
174
+ "\u0133" => "ij"
175
+
176
+ # ?? => d
177
+ "\u00F0" => "d"
178
+
179
+ # ?? => n
180
+ "\u00F1" => "n"
181
+
182
+ # ?? => o
183
+ "\u00F2" => "o"
184
+
185
+ # ?? => o
186
+ "\u00F3" => "o"
187
+
188
+ # ?? => o
189
+ "\u00F4" => "o"
190
+
191
+ # ?? => o
192
+ "\u00F5" => "o"
193
+
194
+ # ?? => o
195
+ "\u00F6" => "o"
196
+
197
+ # ?? => o
198
+ "\u00F8" => "o"
199
+
200
+ # ?? => oe
201
+ "\u0153" => "oe"
202
+
203
+ # ?? => ss
204
+ "\u00DF" => "ss"
205
+
206
+ # ?? => th
207
+ "\u00FE" => "th"
208
+
209
+ # ?? => u
210
+ "\u00F9" => "u"
211
+
212
+ # ?? => u
213
+ "\u00FA" => "u"
214
+
215
+ # ?? => u
216
+ "\u00FB" => "u"
217
+
218
+ # ?? => u
219
+ "\u00FC" => "u"
220
+
221
+ # ?? => y
222
+ "\u00FD" => "y"
223
+
224
+ # ?? => y
225
+ "\u00FF" => "y"
226
+
227
+ # ??? => ff
228
+ "\uFB00" => "ff"
229
+
230
+ # ??? => fi
231
+ "\uFB01" => "fi"
232
+
233
+ # ??? => fl
234
+ "\uFB02" => "fl"
235
+
236
+ # ??? => ffi
237
+ "\uFB03" => "ffi"
238
+
239
+ # ??? => ffl
240
+ "\uFB04" => "ffl"
241
+
242
+ # ??? => ft
243
+ "\uFB05" => "ft"
244
+
245
+ # ??? => st
246
+ "\uFB06" => "st"
@@ -0,0 +1,21 @@
1
+ # The ASF licenses this file to You under the Apache License, Version 2.0
2
+ # (the "License"); you may not use this file except in compliance with
3
+ # the License. You may obtain a copy of the License at
4
+ #
5
+ # http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software
8
+ # distributed under the License is distributed on an "AS IS" BASIS,
9
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
+ # See the License for the specific language governing permissions and
11
+ # limitations under the License.
12
+
13
+ #-----------------------------------------------------------------------
14
+ # Use a protected word file to protect against the stemmer reducing two
15
+ # unrelated words to the same base word.
16
+
17
+ # Some non-words that normally won't be encountered,
18
+ # just to test that they won't be stemmed.
19
+ dontstems
20
+ zwhacky
21
+