enju_ndl 0.2.0.beta.2 → 0.2.0.beta.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/lib/enju_ndl/ndl_search.rb +9 -2
  3. data/lib/enju_ndl/version.rb +1 -1
  4. data/spec/cassette_library/NdlBook/import/should_import_even_with_invalid_url.yml +174 -0
  5. data/spec/controllers/ndl_books_controller_spec.rb +1 -1
  6. data/spec/dummy/app/models/user.rb +2 -0
  7. data/spec/dummy/db/migrate/059_create_libraries.rb +7 -9
  8. data/spec/dummy/db/migrate/069_create_shelves.rb +3 -4
  9. data/spec/dummy/db/migrate/080_create_library_groups.rb +2 -3
  10. data/spec/dummy/db/migrate/120_create_baskets.rb +2 -3
  11. data/spec/dummy/db/migrate/20081006090811_create_subscriptions.rb +4 -7
  12. data/spec/dummy/db/migrate/20081006093246_create_subscribes.rb +4 -5
  13. data/spec/dummy/db/migrate/20120319173203_create_accepts.rb +3 -6
  14. data/spec/dummy/db/migrate/20140110122216_create_user_import_files.rb +1 -1
  15. data/spec/dummy/db/migrate/20140110131010_create_user_import_results.rb +2 -2
  16. data/spec/dummy/db/migrate/20140524074813_create_user_import_file_transitions.rb +1 -2
  17. data/spec/dummy/db/migrate/20140709113413_create_user_export_files.rb +1 -1
  18. data/spec/dummy/db/migrate/20140709113905_create_user_export_file_transitions.rb +1 -1
  19. data/spec/dummy/db/migrate/20140720170714_add_default_library_id_to_user_import_file.rb +1 -1
  20. data/spec/dummy/db/migrate/20140720170735_add_default_user_group_id_to_user_import_file.rb +1 -1
  21. data/spec/dummy/db/migrate/20140821151023_create_colors.rb +1 -3
  22. data/spec/dummy/db/migrate/20150924115059_create_withdraws.rb +3 -5
  23. data/spec/dummy/db/migrate/20151213070943_add_translation_table_to_library_group.rb +19 -6
  24. data/spec/dummy/db/migrate/20151213072705_add_footer_banner_to_library_group.rb +15 -2
  25. data/spec/dummy/db/migrate/20160703185015_add_most_recent_to_message_transitions.rb +9 -0
  26. data/spec/dummy/db/migrate/20160813191647_add_max_number_of_results_to_library_group.rb +5 -0
  27. data/spec/dummy/db/migrate/20160813191733_add_family_name_first_to_library_group.rb +5 -0
  28. data/spec/dummy/db/migrate/20160813192542_add_pub_year_facet_range_interval_to_library_group.rb +5 -0
  29. data/spec/dummy/db/migrate/20160813203039_add_user_id_to_library_group.rb +5 -0
  30. data/spec/dummy/db/migrate/20160814165332_add_most_recent_to_message_request_transitions.rb +9 -0
  31. data/spec/dummy/db/schema.rb +26 -10
  32. data/spec/dummy/db/test.sqlite3 +0 -0
  33. data/spec/dummy/solr/conf/admin-extra.html +31 -0
  34. data/spec/dummy/solr/conf/elevate.xml +36 -0
  35. data/spec/dummy/solr/conf/mapping-ISOLatin1Accent.txt +246 -0
  36. data/spec/dummy/solr/conf/protwords.txt +21 -0
  37. data/spec/dummy/solr/conf/schema.xml +275 -0
  38. data/spec/dummy/solr/conf/scripts.conf +24 -0
  39. data/spec/dummy/solr/conf/solrconfig.xml +680 -0
  40. data/spec/dummy/solr/conf/spellings.txt +2 -0
  41. data/spec/dummy/solr/conf/stopwords.txt +58 -0
  42. data/spec/dummy/solr/conf/synonyms.txt +31 -0
  43. data/spec/dummy/solr/default/data/index/_1j.fdt +0 -0
  44. data/spec/dummy/solr/default/data/index/_1j.fdx +0 -0
  45. data/spec/dummy/solr/default/data/index/_1j.fnm +0 -0
  46. data/spec/dummy/solr/default/data/index/_1j.nvd +0 -0
  47. data/spec/dummy/solr/default/data/index/_1j.nvm +0 -0
  48. data/spec/dummy/solr/default/data/index/_1j.si +0 -0
  49. data/spec/dummy/solr/default/data/index/_1j_2.del +0 -0
  50. data/spec/dummy/solr/default/data/index/_1j_Lucene41_0.doc +0 -0
  51. data/spec/dummy/solr/default/data/index/_1j_Lucene41_0.pos +0 -0
  52. data/spec/dummy/solr/default/data/index/_1j_Lucene41_0.tim +0 -0
  53. data/spec/dummy/solr/default/data/index/_1j_Lucene41_0.tip +0 -0
  54. data/spec/dummy/solr/default/data/index/_1l.fdt +0 -0
  55. data/spec/dummy/solr/default/data/index/_1l.fdx +0 -0
  56. data/spec/dummy/solr/default/data/index/_1l.fnm +0 -0
  57. data/spec/dummy/solr/default/data/index/_1l.nvd +0 -0
  58. data/spec/dummy/solr/default/data/index/_1l.nvm +0 -0
  59. data/spec/dummy/solr/default/data/index/_1l.si +0 -0
  60. data/spec/dummy/solr/default/data/index/_1l_1.del +0 -0
  61. data/spec/dummy/solr/default/data/index/_1l_Lucene41_0.doc +0 -0
  62. data/spec/dummy/solr/default/data/index/_1l_Lucene41_0.pos +0 -0
  63. data/spec/dummy/solr/default/data/index/_1l_Lucene41_0.tim +0 -0
  64. data/spec/dummy/solr/default/data/index/_1l_Lucene41_0.tip +0 -0
  65. data/spec/dummy/solr/default/data/index/segments.gen +0 -0
  66. data/spec/dummy/solr/default/data/index/segments_29 +0 -0
  67. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000068 +0 -0
  68. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000070 +0 -0
  69. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000072 +0 -0
  70. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000073 +0 -0
  71. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000074 +0 -0
  72. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000075 +0 -0
  73. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000076 +0 -0
  74. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000077 +0 -0
  75. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000078 +0 -0
  76. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000079 +0 -0
  77. data/spec/dummy/solr/development/data/index/segments.gen +0 -0
  78. data/spec/dummy/solr/development/data/index/segments_1 +0 -0
  79. data/spec/dummy/solr/solr.xml +8 -0
  80. data/spec/dummy/solr/test/data/index/segments.gen +0 -0
  81. data/spec/dummy/solr/test/data/index/segments_1 +0 -0
  82. data/spec/fixtures/library_groups.yml +1 -1
  83. data/spec/models/import_request_spec.rb +1 -1
  84. data/spec/models/manifestation_spec.rb +1 -1
  85. data/spec/models/ndl_book_spec.rb +11 -1
  86. data/spec/models/question_spec.rb +1 -1
  87. data/spec/rails_helper.rb +61 -0
  88. data/spec/requests/ndl_books_spec.rb +1 -1
  89. data/spec/spec_helper.rb +83 -52
  90. metadata +415 -303
  91. data/spec/dummy/config/initializers/enju_leaf.rb +0 -1
  92. data/spec/dummy/db/migrate/20160813130535_add_email_to_library_group.rb +0 -5
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20160813130535) do
14
+ ActiveRecord::Schema.define(version: 20160814165332) do
15
15
 
16
16
  create_table "accepts", force: :cascade do |t|
17
17
  t.integer "basket_id"
@@ -23,6 +23,7 @@ ActiveRecord::Schema.define(version: 20160813130535) do
23
23
 
24
24
  add_index "accepts", ["basket_id"], name: "index_accepts_on_basket_id"
25
25
  add_index "accepts", ["item_id"], name: "index_accepts_on_item_id"
26
+ add_index "accepts", ["librarian_id"], name: "index_accepts_on_librarian_id"
26
27
 
27
28
  create_table "agent_import_file_transitions", force: :cascade do |t|
28
29
  t.string "to_state"
@@ -715,7 +716,7 @@ ActiveRecord::Schema.define(version: 20160813130535) do
715
716
  t.text "note"
716
717
  t.integer "call_number_rows", default: 1, null: false
717
718
  t.string "call_number_delimiter", default: "|", null: false
718
- t.integer "library_group_id", default: 1, null: false
719
+ t.integer "library_group_id", null: false
719
720
  t.integer "users_count", default: 0, null: false
720
721
  t.integer "position"
721
722
  t.integer "country_id"
@@ -729,7 +730,7 @@ ActiveRecord::Schema.define(version: 20160813130535) do
729
730
  end
730
731
 
731
732
  add_index "libraries", ["library_group_id"], name: "index_libraries_on_library_group_id"
732
- add_index "libraries", ["name"], name: "index_libraries_on_name", unique: true
733
+ add_index "libraries", ["name"], name: "index_libraries_on_name"
733
734
 
734
735
  create_table "library_group_translations", force: :cascade do |t|
735
736
  t.integer "library_group_id", null: false
@@ -744,9 +745,9 @@ ActiveRecord::Schema.define(version: 20160813130535) do
744
745
  add_index "library_group_translations", ["locale"], name: "index_library_group_translations_on_locale"
745
746
 
746
747
  create_table "library_groups", force: :cascade do |t|
747
- t.string "name", null: false
748
+ t.string "name", null: false
748
749
  t.text "display_name"
749
- t.string "short_name", null: false
750
+ t.string "short_name", null: false
750
751
  t.text "my_networks"
751
752
  t.text "login_banner"
752
753
  t.text "note"
@@ -755,14 +756,18 @@ ActiveRecord::Schema.define(version: 20160813130535) do
755
756
  t.datetime "created_at"
756
757
  t.datetime "updated_at"
757
758
  t.text "admin_networks"
758
- t.boolean "allow_bookmark_external_url", default: false, null: false
759
- t.string "url", default: "http://localhost:3000/"
759
+ t.boolean "allow_bookmark_external_url", default: false, null: false
760
+ t.string "url", default: "http://localhost:3000/"
760
761
  t.text "settings"
761
762
  t.text "html_snippet"
762
- t.string "email"
763
+ t.integer "max_number_of_results", default: 500
764
+ t.boolean "family_name_first", default: true
765
+ t.integer "pub_year_facet_range_interval", default: 10
766
+ t.integer "user_id"
763
767
  end
764
768
 
765
769
  add_index "library_groups", ["short_name"], name: "index_library_groups_on_short_name"
770
+ add_index "library_groups", ["user_id"], name: "index_library_groups_on_user_id"
766
771
 
767
772
  create_table "licenses", force: :cascade do |t|
768
773
  t.string "name", null: false
@@ -928,6 +933,7 @@ ActiveRecord::Schema.define(version: 20160813130535) do
928
933
  t.integer "message_request_id"
929
934
  t.datetime "created_at"
930
935
  t.datetime "updated_at"
936
+ t.boolean "most_recent"
931
937
  end
932
938
 
933
939
  add_index "message_request_transitions", ["message_request_id"], name: "index_message_request_transitions_on_message_request_id"
@@ -958,11 +964,12 @@ ActiveRecord::Schema.define(version: 20160813130535) do
958
964
 
959
965
  create_table "message_transitions", force: :cascade do |t|
960
966
  t.string "to_state"
961
- t.text "metadata", default: "{}"
967
+ t.text "metadata", default: "{}"
962
968
  t.integer "sort_key"
963
969
  t.integer "message_id"
964
970
  t.datetime "created_at"
965
971
  t.datetime "updated_at"
972
+ t.boolean "most_recent"
966
973
  end
967
974
 
968
975
  add_index "message_transitions", ["message_id"], name: "index_message_transitions_on_message_id"
@@ -1311,7 +1318,7 @@ ActiveRecord::Schema.define(version: 20160813130535) do
1311
1318
  t.string "name", null: false
1312
1319
  t.text "display_name"
1313
1320
  t.text "note"
1314
- t.integer "library_id", default: 1, null: false
1321
+ t.integer "library_id", null: false
1315
1322
  t.integer "items_count", default: 0, null: false
1316
1323
  t.integer "position"
1317
1324
  t.datetime "created_at"
@@ -1457,6 +1464,7 @@ ActiveRecord::Schema.define(version: 20160813130535) do
1457
1464
 
1458
1465
  add_index "user_export_file_transitions", ["sort_key", "user_export_file_id"], name: "index_user_export_file_transitions_on_sort_key_and_file_id", unique: true
1459
1466
  add_index "user_export_file_transitions", ["user_export_file_id"], name: "index_user_export_file_transitions_on_file_id"
1467
+ add_index "user_export_file_transitions", ["user_export_file_id"], name: "index_user_export_file_transitions_on_user_export_file_id"
1460
1468
 
1461
1469
  create_table "user_export_files", force: :cascade do |t|
1462
1470
  t.integer "user_id"
@@ -1469,6 +1477,8 @@ ActiveRecord::Schema.define(version: 20160813130535) do
1469
1477
  t.datetime "updated_at"
1470
1478
  end
1471
1479
 
1480
+ add_index "user_export_files", ["user_id"], name: "index_user_export_files_on_user_id"
1481
+
1472
1482
  create_table "user_group_has_checkout_types", force: :cascade do |t|
1473
1483
  t.integer "user_group_id", null: false
1474
1484
  t.integer "checkout_type_id", null: false
@@ -1545,6 +1555,8 @@ ActiveRecord::Schema.define(version: 20160813130535) do
1545
1555
  t.integer "default_user_group_id"
1546
1556
  end
1547
1557
 
1558
+ add_index "user_import_files", ["user_id"], name: "index_user_import_files_on_user_id"
1559
+
1548
1560
  create_table "user_import_results", force: :cascade do |t|
1549
1561
  t.integer "user_import_file_id"
1550
1562
  t.integer "user_id"
@@ -1554,6 +1566,9 @@ ActiveRecord::Schema.define(version: 20160813130535) do
1554
1566
  t.text "error_message"
1555
1567
  end
1556
1568
 
1569
+ add_index "user_import_results", ["user_id"], name: "index_user_import_results_on_user_id"
1570
+ add_index "user_import_results", ["user_import_file_id"], name: "index_user_import_results_on_user_import_file_id"
1571
+
1557
1572
  create_table "user_reserve_stat_transitions", force: :cascade do |t|
1558
1573
  t.string "to_state"
1559
1574
  t.text "metadata", default: "{}"
@@ -1630,5 +1645,6 @@ ActiveRecord::Schema.define(version: 20160813130535) do
1630
1645
 
1631
1646
  add_index "withdraws", ["basket_id"], name: "index_withdraws_on_basket_id"
1632
1647
  add_index "withdraws", ["item_id"], name: "index_withdraws_on_item_id"
1648
+ add_index "withdraws", ["librarian_id"], name: "index_withdraws_on_librarian_id"
1633
1649
 
1634
1650
  end
Binary file
@@ -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 => 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 => 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 => ff
228
+ "\uFB00" => "ff"
229
+
230
+ # fi => fi
231
+ "\uFB01" => "fi"
232
+
233
+ # fl => fl
234
+ "\uFB02" => "fl"
235
+
236
+ # ffi => ffi
237
+ "\uFB03" => "ffi"
238
+
239
+ # ffl => ffl
240
+ "\uFB04" => "ffl"
241
+
242
+ # ſt => ft
243
+ "\uFB05" => "ft"
244
+
245
+ # st => 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
+