enju_message 0.1.14.pre18 → 0.1.14.pre19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/messages_controller.rb +2 -2
  3. data/app/models/message_state_machine.rb +14 -0
  4. data/app/views/messages/index.html.erb +12 -9
  5. data/lib/enju_message/version.rb +1 -1
  6. metadata +6 -84
  7. data/spec/dummy/db/development.sqlite3 +0 -0
  8. data/spec/dummy/db/test.sqlite3 +0 -0
  9. data/spec/dummy/solr/conf/admin-extra.html +0 -31
  10. data/spec/dummy/solr/conf/elevate.xml +0 -36
  11. data/spec/dummy/solr/conf/mapping-ISOLatin1Accent.txt +0 -246
  12. data/spec/dummy/solr/conf/protwords.txt +0 -21
  13. data/spec/dummy/solr/conf/schema.xml +0 -255
  14. data/spec/dummy/solr/conf/scripts.conf +0 -24
  15. data/spec/dummy/solr/conf/solrconfig.xml +0 -667
  16. data/spec/dummy/solr/conf/spellings.txt +0 -2
  17. data/spec/dummy/solr/conf/stopwords.txt +0 -58
  18. data/spec/dummy/solr/conf/synonyms.txt +0 -31
  19. data/spec/dummy/solr/default/data/index/_qz.fdt +0 -0
  20. data/spec/dummy/solr/default/data/index/_qz.fdx +0 -0
  21. data/spec/dummy/solr/default/data/index/_qz.fnm +0 -0
  22. data/spec/dummy/solr/default/data/index/_qz.nvd +0 -0
  23. data/spec/dummy/solr/default/data/index/_qz.nvm +0 -0
  24. data/spec/dummy/solr/default/data/index/_qz.si +0 -0
  25. data/spec/dummy/solr/default/data/index/_qz_Lucene41_0.doc +0 -0
  26. data/spec/dummy/solr/default/data/index/_qz_Lucene41_0.pos +0 -0
  27. data/spec/dummy/solr/default/data/index/_qz_Lucene41_0.tim +0 -0
  28. data/spec/dummy/solr/default/data/index/_qz_Lucene41_0.tip +0 -0
  29. data/spec/dummy/solr/default/data/index/segments.gen +0 -0
  30. data/spec/dummy/solr/default/data/index/segments_19r +0 -0
  31. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001636 +0 -0
  32. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001637 +0 -0
  33. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001638 +0 -0
  34. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001639 +0 -0
  35. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001640 +0 -0
  36. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001641 +0 -0
  37. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001642 +0 -0
  38. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001643 +0 -0
  39. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001644 +0 -0
  40. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001645 +0 -0
  41. data/spec/dummy/solr/development/data/index/segments.gen +0 -0
  42. data/spec/dummy/solr/development/data/index/segments_1 +0 -0
  43. data/spec/dummy/solr/solr.xml +0 -8
  44. data/spec/dummy/solr/test/data/index/segments.gen +0 -0
  45. data/spec/dummy/solr/test/data/index/segments_1 +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 004aa8590cc20abdc5f3c528cdd94269c27de7ff
4
- data.tar.gz: ff821dc630b8cf8c648636bc98ced539ca04b34d
3
+ metadata.gz: ef4312ea35b18d0e50dea0bdbd11705c929048f1
4
+ data.tar.gz: f6c1a640a798af4455d4120d80f8c8313de2e342
5
5
  SHA512:
6
- metadata.gz: afb72ca0304e2be0e8ed351565ce1fb81aa7b098c8af93dff99cb7aa6de6c68ee1255667bcae1dabeb89878ea15d747ec980f5354cac36ff35f12f5ac84c9254
7
- data.tar.gz: ee71da95407ad2fdcb2d6085bafd1c674489bb35d33c894bd8e0d6ce3325f96ee5579b3a7676e739cac5d09d7b624d90c2c23a12fee07ca371525d3c0d5cc2ad
6
+ metadata.gz: bce0b92632d8ea595d156d52b7b3a588a0888b8e6a8cfb014d2211fadf6c1b8412aa0055e5a0708dd67ba497ac8f6a510635426c9ffacd554456f21695353b58
7
+ data.tar.gz: 8464e49e1372825f5c99d6d25079865117adef3c5771981dfd2da8e6cb70e314ff7cbd2ddd674931ea64888e38797da13720ef831c76d6ff22a8cc7a6a4be052
@@ -7,7 +7,7 @@ class MessagesController < ApplicationController
7
7
  # GET /messages
8
8
  # GET /messages.json
9
9
  def index
10
- query = params[:query].to_s.strip
10
+ query = @query = params[:query].to_s.strip
11
11
  search = Sunspot.new_search(Message)
12
12
  user = current_user
13
13
  case params[:mode]
@@ -24,7 +24,7 @@ class MessagesController < ApplicationController
24
24
  with(:receiver_id).equal_to user.id
25
25
  facet(:is_read)
26
26
  end
27
- @message_facet = search.execute!.facet('is_read').rows
27
+ @message_facet = Hash[*search.execute!.facet_response['facet_fields']['is_read_b']]
28
28
  search.build do
29
29
  with(:is_read).equal_to is_read unless is_read.nil?
30
30
  end
@@ -16,9 +16,23 @@ class MessageStateMachine
16
16
 
17
17
  before_transition(from: :unread, to: :read) do |message|
18
18
  message.read_at = Time.zone.now unless message.read_at
19
+ message.index!
19
20
  end
20
21
 
21
22
  before_transition(from: :read, to: :unread) do |message|
22
23
  message.read_at = nil
24
+ message.index!
25
+ end
26
+
27
+ after_transition(from: :pending, to: :read) do |message|
28
+ message.index!
29
+ end
30
+
31
+ after_transition(from: :unread, to: :read) do |message|
32
+ message.index!
33
+ end
34
+
35
+ after_transition(from: :read, to: :unread) do |message|
36
+ message.index!
23
37
  end
24
38
  end
@@ -46,15 +46,18 @@
46
46
  <div id="submenu" class="ui-corner-all ui-widget-content">
47
47
  <ul>
48
48
  <% mode = params[:mode].to_s %>
49
- <%- @message_facet.each do |facet| -%>
50
- <li>
51
- <% facet.value ? facet_mode = 'read' : facet_mode = 'unread' %>
52
- <%- if facet_mode == mode -%><strong><%- end -%>
53
- <%= link_to t("message.#{facet_mode}"), url_for(params.merge(page: nil, mode: facet_mode, only_path: true)) -%>
54
- (<%= facet.count -%>)
55
- <%- if facet_mode == mode -%></strong><%- end -%>
56
- </li>
57
- <%- end -%>
49
+ <li>
50
+ <%- if mode == 'unread' -%><strong><%- end -%>
51
+ <%= link_to t('message.unread'), url_for(params.merge(page: nil, mode: 'unread', only_path: true)) -%>
52
+ (<%= @message_facet['false'] -%>)
53
+ <%- if mode == 'unread' -%></strong><%- end -%>
54
+ </li>
55
+ <li>
56
+ <%- if mode == 'read' -%><strong><%- end -%>
57
+ <%= link_to t('message.read'), url_for(params.merge(page: nil, mode: 'read', only_path: true)) -%>
58
+ (<%= @message_facet['true'] -%>)
59
+ <%- if mode == 'read' -%></strong><%- end -%>
60
+ </li>
58
61
  <% if mode.present? %>
59
62
  <li><%= link_to t('page.remove_this_facet'), url_for(params.merge(mode: nil, page: nil, only_path: true)) -%></li>
60
63
  <% end %>
@@ -1,3 +1,3 @@
1
1
  module EnjuMessage
2
- VERSION = "0.1.14.pre18"
2
+ VERSION = "0.1.14.pre19"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_message
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.14.pre18
4
+ version: 0.1.14.pre19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosuke Tanabe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-28 00:00:00.000000000 Z
11
+ date: 2014-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: enju_seed
@@ -114,28 +114,28 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 1.1.0.rc14
117
+ version: 1.1.0.rc15
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 1.1.0.rc14
124
+ version: 1.1.0.rc15
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rspec-rails
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 3.0.2
131
+ version: '3.1'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 3.0.2
138
+ version: '3.1'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: factory_girl_rails
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -314,7 +314,6 @@ files:
314
314
  - spec/dummy/config/initializers/wrap_parameters.rb
315
315
  - spec/dummy/config/locales/en.yml
316
316
  - spec/dummy/config/routes.rb
317
- - spec/dummy/db/development.sqlite3
318
317
  - spec/dummy/db/migrate/001_create_agents.rb
319
318
  - spec/dummy/db/migrate/002_devise_create_users.rb
320
319
  - spec/dummy/db/migrate/005_create_manifestations.rb
@@ -437,50 +436,12 @@ files:
437
436
  - spec/dummy/db/migrate/20140813182425_add_publication_place_to_manifestation.rb
438
437
  - spec/dummy/db/migrate/20140817155043_add_extent_of_text_to_manifestation.rb
439
438
  - spec/dummy/db/schema.rb
440
- - spec/dummy/db/test.sqlite3
441
439
  - spec/dummy/public/404.html
442
440
  - spec/dummy/public/422.html
443
441
  - spec/dummy/public/500.html
444
442
  - spec/dummy/public/favicon.ico
445
443
  - spec/dummy/script/delayed_job
446
444
  - spec/dummy/script/rails
447
- - spec/dummy/solr/conf/admin-extra.html
448
- - spec/dummy/solr/conf/elevate.xml
449
- - spec/dummy/solr/conf/mapping-ISOLatin1Accent.txt
450
- - spec/dummy/solr/conf/protwords.txt
451
- - spec/dummy/solr/conf/schema.xml
452
- - spec/dummy/solr/conf/scripts.conf
453
- - spec/dummy/solr/conf/solrconfig.xml
454
- - spec/dummy/solr/conf/spellings.txt
455
- - spec/dummy/solr/conf/stopwords.txt
456
- - spec/dummy/solr/conf/synonyms.txt
457
- - spec/dummy/solr/default/data/index/_qz.fdt
458
- - spec/dummy/solr/default/data/index/_qz.fdx
459
- - spec/dummy/solr/default/data/index/_qz.fnm
460
- - spec/dummy/solr/default/data/index/_qz.nvd
461
- - spec/dummy/solr/default/data/index/_qz.nvm
462
- - spec/dummy/solr/default/data/index/_qz.si
463
- - spec/dummy/solr/default/data/index/_qz_Lucene41_0.doc
464
- - spec/dummy/solr/default/data/index/_qz_Lucene41_0.pos
465
- - spec/dummy/solr/default/data/index/_qz_Lucene41_0.tim
466
- - spec/dummy/solr/default/data/index/_qz_Lucene41_0.tip
467
- - spec/dummy/solr/default/data/index/segments.gen
468
- - spec/dummy/solr/default/data/index/segments_19r
469
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001636
470
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001637
471
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001638
472
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001639
473
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001640
474
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001641
475
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001642
476
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001643
477
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001644
478
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001645
479
- - spec/dummy/solr/development/data/index/segments.gen
480
- - spec/dummy/solr/development/data/index/segments_1
481
- - spec/dummy/solr/solr.xml
482
- - spec/dummy/solr/test/data/index/segments.gen
483
- - spec/dummy/solr/test/data/index/segments_1
484
445
  - spec/factories/library.rb
485
446
  - spec/factories/message.rb
486
447
  - spec/factories/message_request.rb
@@ -559,7 +520,6 @@ test_files:
559
520
  - spec/dummy/config/locales/en.yml
560
521
  - spec/dummy/config/routes.rb
561
522
  - spec/dummy/config.ru
562
- - spec/dummy/db/development.sqlite3
563
523
  - spec/dummy/db/migrate/001_create_agents.rb
564
524
  - spec/dummy/db/migrate/002_devise_create_users.rb
565
525
  - spec/dummy/db/migrate/005_create_manifestations.rb
@@ -682,7 +642,6 @@ test_files:
682
642
  - spec/dummy/db/migrate/20140813182425_add_publication_place_to_manifestation.rb
683
643
  - spec/dummy/db/migrate/20140817155043_add_extent_of_text_to_manifestation.rb
684
644
  - spec/dummy/db/schema.rb
685
- - spec/dummy/db/test.sqlite3
686
645
  - spec/dummy/public/404.html
687
646
  - spec/dummy/public/422.html
688
647
  - spec/dummy/public/500.html
@@ -690,43 +649,6 @@ test_files:
690
649
  - spec/dummy/Rakefile
691
650
  - spec/dummy/script/delayed_job
692
651
  - spec/dummy/script/rails
693
- - spec/dummy/solr/conf/admin-extra.html
694
- - spec/dummy/solr/conf/elevate.xml
695
- - spec/dummy/solr/conf/mapping-ISOLatin1Accent.txt
696
- - spec/dummy/solr/conf/protwords.txt
697
- - spec/dummy/solr/conf/schema.xml
698
- - spec/dummy/solr/conf/scripts.conf
699
- - spec/dummy/solr/conf/solrconfig.xml
700
- - spec/dummy/solr/conf/spellings.txt
701
- - spec/dummy/solr/conf/stopwords.txt
702
- - spec/dummy/solr/conf/synonyms.txt
703
- - spec/dummy/solr/default/data/index/_qz.fdt
704
- - spec/dummy/solr/default/data/index/_qz.fdx
705
- - spec/dummy/solr/default/data/index/_qz.fnm
706
- - spec/dummy/solr/default/data/index/_qz.nvd
707
- - spec/dummy/solr/default/data/index/_qz.nvm
708
- - spec/dummy/solr/default/data/index/_qz.si
709
- - spec/dummy/solr/default/data/index/_qz_Lucene41_0.doc
710
- - spec/dummy/solr/default/data/index/_qz_Lucene41_0.pos
711
- - spec/dummy/solr/default/data/index/_qz_Lucene41_0.tim
712
- - spec/dummy/solr/default/data/index/_qz_Lucene41_0.tip
713
- - spec/dummy/solr/default/data/index/segments.gen
714
- - spec/dummy/solr/default/data/index/segments_19r
715
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001636
716
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001637
717
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001638
718
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001639
719
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001640
720
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001641
721
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001642
722
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001643
723
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001644
724
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001645
725
- - spec/dummy/solr/development/data/index/segments.gen
726
- - spec/dummy/solr/development/data/index/segments_1
727
- - spec/dummy/solr/solr.xml
728
- - spec/dummy/solr/test/data/index/segments.gen
729
- - spec/dummy/solr/test/data/index/segments_1
730
652
  - spec/factories/library.rb
731
653
  - spec/factories/message.rb
732
654
  - spec/factories/message_request.rb
Binary file
Binary file
@@ -1,31 +0,0 @@
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
- -->
@@ -1,36 +0,0 @@
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>
@@ -1,246 +0,0 @@
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"
@@ -1,21 +0,0 @@
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
-