mittens 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (137) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +3 -0
  3. data/Gemfile +7 -0
  4. data/LICENSE.txt +30 -0
  5. data/README.md +62 -0
  6. data/Rakefile +21 -0
  7. data/ext/mittens/ext.c +96 -0
  8. data/ext/mittens/extconf.rb +12 -0
  9. data/lib/mittens/version.rb +3 -0
  10. data/lib/mittens.rb +7 -0
  11. data/mittens.gemspec +22 -0
  12. data/vendor/snowball/.gitignore +26 -0
  13. data/vendor/snowball/.travis.yml +112 -0
  14. data/vendor/snowball/AUTHORS +27 -0
  15. data/vendor/snowball/CONTRIBUTING.rst +216 -0
  16. data/vendor/snowball/COPYING +29 -0
  17. data/vendor/snowball/GNUmakefile +742 -0
  18. data/vendor/snowball/NEWS +754 -0
  19. data/vendor/snowball/README.rst +37 -0
  20. data/vendor/snowball/ada/README.md +74 -0
  21. data/vendor/snowball/ada/generate/generate.adb +83 -0
  22. data/vendor/snowball/ada/generate.gpr +21 -0
  23. data/vendor/snowball/ada/src/stemmer.adb +620 -0
  24. data/vendor/snowball/ada/src/stemmer.ads +219 -0
  25. data/vendor/snowball/ada/src/stemwords.adb +70 -0
  26. data/vendor/snowball/ada/stemmer_config.gpr +83 -0
  27. data/vendor/snowball/ada/stemwords.gpr +21 -0
  28. data/vendor/snowball/algorithms/arabic.sbl +558 -0
  29. data/vendor/snowball/algorithms/armenian.sbl +301 -0
  30. data/vendor/snowball/algorithms/basque.sbl +149 -0
  31. data/vendor/snowball/algorithms/catalan.sbl +202 -0
  32. data/vendor/snowball/algorithms/danish.sbl +93 -0
  33. data/vendor/snowball/algorithms/dutch.sbl +164 -0
  34. data/vendor/snowball/algorithms/english.sbl +229 -0
  35. data/vendor/snowball/algorithms/finnish.sbl +197 -0
  36. data/vendor/snowball/algorithms/french.sbl +254 -0
  37. data/vendor/snowball/algorithms/german.sbl +139 -0
  38. data/vendor/snowball/algorithms/german2.sbl +145 -0
  39. data/vendor/snowball/algorithms/greek.sbl +701 -0
  40. data/vendor/snowball/algorithms/hindi.sbl +323 -0
  41. data/vendor/snowball/algorithms/hungarian.sbl +241 -0
  42. data/vendor/snowball/algorithms/indonesian.sbl +192 -0
  43. data/vendor/snowball/algorithms/irish.sbl +149 -0
  44. data/vendor/snowball/algorithms/italian.sbl +202 -0
  45. data/vendor/snowball/algorithms/kraaij_pohlmann.sbl +240 -0
  46. data/vendor/snowball/algorithms/lithuanian.sbl +373 -0
  47. data/vendor/snowball/algorithms/lovins.sbl +208 -0
  48. data/vendor/snowball/algorithms/nepali.sbl +92 -0
  49. data/vendor/snowball/algorithms/norwegian.sbl +80 -0
  50. data/vendor/snowball/algorithms/porter.sbl +139 -0
  51. data/vendor/snowball/algorithms/portuguese.sbl +218 -0
  52. data/vendor/snowball/algorithms/romanian.sbl +236 -0
  53. data/vendor/snowball/algorithms/russian.sbl +221 -0
  54. data/vendor/snowball/algorithms/serbian.sbl +2379 -0
  55. data/vendor/snowball/algorithms/spanish.sbl +230 -0
  56. data/vendor/snowball/algorithms/swedish.sbl +72 -0
  57. data/vendor/snowball/algorithms/tamil.sbl +405 -0
  58. data/vendor/snowball/algorithms/turkish.sbl +470 -0
  59. data/vendor/snowball/algorithms/yiddish.sbl +460 -0
  60. data/vendor/snowball/charsets/ISO-8859-2.sbl +98 -0
  61. data/vendor/snowball/charsets/KOI8-R.sbl +74 -0
  62. data/vendor/snowball/charsets/cp850.sbl +130 -0
  63. data/vendor/snowball/compiler/analyser.c +1547 -0
  64. data/vendor/snowball/compiler/driver.c +615 -0
  65. data/vendor/snowball/compiler/generator.c +1748 -0
  66. data/vendor/snowball/compiler/generator_ada.c +1702 -0
  67. data/vendor/snowball/compiler/generator_csharp.c +1322 -0
  68. data/vendor/snowball/compiler/generator_go.c +1278 -0
  69. data/vendor/snowball/compiler/generator_java.c +1313 -0
  70. data/vendor/snowball/compiler/generator_js.c +1316 -0
  71. data/vendor/snowball/compiler/generator_pascal.c +1387 -0
  72. data/vendor/snowball/compiler/generator_python.c +1337 -0
  73. data/vendor/snowball/compiler/generator_rust.c +1295 -0
  74. data/vendor/snowball/compiler/header.h +418 -0
  75. data/vendor/snowball/compiler/space.c +286 -0
  76. data/vendor/snowball/compiler/syswords.h +86 -0
  77. data/vendor/snowball/compiler/syswords2.h +13 -0
  78. data/vendor/snowball/compiler/tokeniser.c +567 -0
  79. data/vendor/snowball/csharp/.gitignore +8 -0
  80. data/vendor/snowball/csharp/Snowball/Algorithms/.gitignore +1 -0
  81. data/vendor/snowball/csharp/Snowball/Among.cs +108 -0
  82. data/vendor/snowball/csharp/Snowball/AssemblyInfo.cs +36 -0
  83. data/vendor/snowball/csharp/Snowball/Stemmer.cs +660 -0
  84. data/vendor/snowball/csharp/Stemwords/App.config +6 -0
  85. data/vendor/snowball/csharp/Stemwords/Program.cs +114 -0
  86. data/vendor/snowball/doc/TODO +12 -0
  87. data/vendor/snowball/doc/libstemmer_c_README +148 -0
  88. data/vendor/snowball/doc/libstemmer_csharp_README +53 -0
  89. data/vendor/snowball/doc/libstemmer_java_README +67 -0
  90. data/vendor/snowball/doc/libstemmer_js_README +48 -0
  91. data/vendor/snowball/doc/libstemmer_python_README +113 -0
  92. data/vendor/snowball/examples/stemwords.c +204 -0
  93. data/vendor/snowball/go/README.md +55 -0
  94. data/vendor/snowball/go/among.go +16 -0
  95. data/vendor/snowball/go/env.go +403 -0
  96. data/vendor/snowball/go/stemwords/generate.go +68 -0
  97. data/vendor/snowball/go/stemwords/main.go +68 -0
  98. data/vendor/snowball/go/util.go +34 -0
  99. data/vendor/snowball/iconv.py +50 -0
  100. data/vendor/snowball/include/libstemmer.h +78 -0
  101. data/vendor/snowball/java/org/tartarus/snowball/Among.java +29 -0
  102. data/vendor/snowball/java/org/tartarus/snowball/SnowballProgram.java +381 -0
  103. data/vendor/snowball/java/org/tartarus/snowball/SnowballStemmer.java +8 -0
  104. data/vendor/snowball/java/org/tartarus/snowball/TestApp.java +75 -0
  105. data/vendor/snowball/javascript/base-stemmer.js +294 -0
  106. data/vendor/snowball/javascript/stemwords.js +106 -0
  107. data/vendor/snowball/libstemmer/libstemmer_c.in +96 -0
  108. data/vendor/snowball/libstemmer/mkalgorithms.pl +90 -0
  109. data/vendor/snowball/libstemmer/mkmodules.pl +267 -0
  110. data/vendor/snowball/libstemmer/modules.txt +63 -0
  111. data/vendor/snowball/libstemmer/test.c +34 -0
  112. data/vendor/snowball/pascal/.gitignore +4 -0
  113. data/vendor/snowball/pascal/SnowballProgram.pas +430 -0
  114. data/vendor/snowball/pascal/generate.pl +23 -0
  115. data/vendor/snowball/pascal/stemwords-template.dpr +78 -0
  116. data/vendor/snowball/python/MANIFEST.in +7 -0
  117. data/vendor/snowball/python/create_init.py +54 -0
  118. data/vendor/snowball/python/setup.cfg +6 -0
  119. data/vendor/snowball/python/setup.py +81 -0
  120. data/vendor/snowball/python/snowballstemmer/among.py +13 -0
  121. data/vendor/snowball/python/snowballstemmer/basestemmer.py +323 -0
  122. data/vendor/snowball/python/stemwords.py +101 -0
  123. data/vendor/snowball/python/testapp.py +28 -0
  124. data/vendor/snowball/runtime/api.c +58 -0
  125. data/vendor/snowball/runtime/api.h +32 -0
  126. data/vendor/snowball/runtime/header.h +61 -0
  127. data/vendor/snowball/runtime/utilities.c +513 -0
  128. data/vendor/snowball/rust/Cargo.toml +7 -0
  129. data/vendor/snowball/rust/build.rs +55 -0
  130. data/vendor/snowball/rust/rust-pre-1.27-compat.patch +30 -0
  131. data/vendor/snowball/rust/src/main.rs +102 -0
  132. data/vendor/snowball/rust/src/snowball/algorithms/mod.rs +2 -0
  133. data/vendor/snowball/rust/src/snowball/among.rs +6 -0
  134. data/vendor/snowball/rust/src/snowball/mod.rs +6 -0
  135. data/vendor/snowball/rust/src/snowball/snowball_env.rs +421 -0
  136. data/vendor/snowball/tests/stemtest.c +95 -0
  137. metadata +178 -0
metadata ADDED
@@ -0,0 +1,178 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mittens
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Andrew Kane
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2023-03-21 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description:
14
+ email: andrew@ankane.org
15
+ executables: []
16
+ extensions:
17
+ - ext/mittens/extconf.rb
18
+ extra_rdoc_files: []
19
+ files:
20
+ - CHANGELOG.md
21
+ - Gemfile
22
+ - LICENSE.txt
23
+ - README.md
24
+ - Rakefile
25
+ - ext/mittens/ext.c
26
+ - ext/mittens/extconf.rb
27
+ - lib/mittens.rb
28
+ - lib/mittens/version.rb
29
+ - mittens.gemspec
30
+ - vendor/snowball/.gitignore
31
+ - vendor/snowball/.travis.yml
32
+ - vendor/snowball/AUTHORS
33
+ - vendor/snowball/CONTRIBUTING.rst
34
+ - vendor/snowball/COPYING
35
+ - vendor/snowball/GNUmakefile
36
+ - vendor/snowball/NEWS
37
+ - vendor/snowball/README.rst
38
+ - vendor/snowball/ada/README.md
39
+ - vendor/snowball/ada/generate.gpr
40
+ - vendor/snowball/ada/generate/generate.adb
41
+ - vendor/snowball/ada/src/stemmer.adb
42
+ - vendor/snowball/ada/src/stemmer.ads
43
+ - vendor/snowball/ada/src/stemwords.adb
44
+ - vendor/snowball/ada/stemmer_config.gpr
45
+ - vendor/snowball/ada/stemwords.gpr
46
+ - vendor/snowball/algorithms/arabic.sbl
47
+ - vendor/snowball/algorithms/armenian.sbl
48
+ - vendor/snowball/algorithms/basque.sbl
49
+ - vendor/snowball/algorithms/catalan.sbl
50
+ - vendor/snowball/algorithms/danish.sbl
51
+ - vendor/snowball/algorithms/dutch.sbl
52
+ - vendor/snowball/algorithms/english.sbl
53
+ - vendor/snowball/algorithms/finnish.sbl
54
+ - vendor/snowball/algorithms/french.sbl
55
+ - vendor/snowball/algorithms/german.sbl
56
+ - vendor/snowball/algorithms/german2.sbl
57
+ - vendor/snowball/algorithms/greek.sbl
58
+ - vendor/snowball/algorithms/hindi.sbl
59
+ - vendor/snowball/algorithms/hungarian.sbl
60
+ - vendor/snowball/algorithms/indonesian.sbl
61
+ - vendor/snowball/algorithms/irish.sbl
62
+ - vendor/snowball/algorithms/italian.sbl
63
+ - vendor/snowball/algorithms/kraaij_pohlmann.sbl
64
+ - vendor/snowball/algorithms/lithuanian.sbl
65
+ - vendor/snowball/algorithms/lovins.sbl
66
+ - vendor/snowball/algorithms/nepali.sbl
67
+ - vendor/snowball/algorithms/norwegian.sbl
68
+ - vendor/snowball/algorithms/porter.sbl
69
+ - vendor/snowball/algorithms/portuguese.sbl
70
+ - vendor/snowball/algorithms/romanian.sbl
71
+ - vendor/snowball/algorithms/russian.sbl
72
+ - vendor/snowball/algorithms/serbian.sbl
73
+ - vendor/snowball/algorithms/spanish.sbl
74
+ - vendor/snowball/algorithms/swedish.sbl
75
+ - vendor/snowball/algorithms/tamil.sbl
76
+ - vendor/snowball/algorithms/turkish.sbl
77
+ - vendor/snowball/algorithms/yiddish.sbl
78
+ - vendor/snowball/charsets/ISO-8859-2.sbl
79
+ - vendor/snowball/charsets/KOI8-R.sbl
80
+ - vendor/snowball/charsets/cp850.sbl
81
+ - vendor/snowball/compiler/analyser.c
82
+ - vendor/snowball/compiler/driver.c
83
+ - vendor/snowball/compiler/generator.c
84
+ - vendor/snowball/compiler/generator_ada.c
85
+ - vendor/snowball/compiler/generator_csharp.c
86
+ - vendor/snowball/compiler/generator_go.c
87
+ - vendor/snowball/compiler/generator_java.c
88
+ - vendor/snowball/compiler/generator_js.c
89
+ - vendor/snowball/compiler/generator_pascal.c
90
+ - vendor/snowball/compiler/generator_python.c
91
+ - vendor/snowball/compiler/generator_rust.c
92
+ - vendor/snowball/compiler/header.h
93
+ - vendor/snowball/compiler/space.c
94
+ - vendor/snowball/compiler/syswords.h
95
+ - vendor/snowball/compiler/syswords2.h
96
+ - vendor/snowball/compiler/tokeniser.c
97
+ - vendor/snowball/csharp/.gitignore
98
+ - vendor/snowball/csharp/Snowball/Algorithms/.gitignore
99
+ - vendor/snowball/csharp/Snowball/Among.cs
100
+ - vendor/snowball/csharp/Snowball/AssemblyInfo.cs
101
+ - vendor/snowball/csharp/Snowball/Stemmer.cs
102
+ - vendor/snowball/csharp/Stemwords/App.config
103
+ - vendor/snowball/csharp/Stemwords/Program.cs
104
+ - vendor/snowball/doc/TODO
105
+ - vendor/snowball/doc/libstemmer_c_README
106
+ - vendor/snowball/doc/libstemmer_csharp_README
107
+ - vendor/snowball/doc/libstemmer_java_README
108
+ - vendor/snowball/doc/libstemmer_js_README
109
+ - vendor/snowball/doc/libstemmer_python_README
110
+ - vendor/snowball/examples/stemwords.c
111
+ - vendor/snowball/go/README.md
112
+ - vendor/snowball/go/among.go
113
+ - vendor/snowball/go/env.go
114
+ - vendor/snowball/go/stemwords/generate.go
115
+ - vendor/snowball/go/stemwords/main.go
116
+ - vendor/snowball/go/util.go
117
+ - vendor/snowball/iconv.py
118
+ - vendor/snowball/include/libstemmer.h
119
+ - vendor/snowball/java/org/tartarus/snowball/Among.java
120
+ - vendor/snowball/java/org/tartarus/snowball/SnowballProgram.java
121
+ - vendor/snowball/java/org/tartarus/snowball/SnowballStemmer.java
122
+ - vendor/snowball/java/org/tartarus/snowball/TestApp.java
123
+ - vendor/snowball/javascript/base-stemmer.js
124
+ - vendor/snowball/javascript/stemwords.js
125
+ - vendor/snowball/libstemmer/libstemmer_c.in
126
+ - vendor/snowball/libstemmer/mkalgorithms.pl
127
+ - vendor/snowball/libstemmer/mkmodules.pl
128
+ - vendor/snowball/libstemmer/modules.txt
129
+ - vendor/snowball/libstemmer/test.c
130
+ - vendor/snowball/pascal/.gitignore
131
+ - vendor/snowball/pascal/SnowballProgram.pas
132
+ - vendor/snowball/pascal/generate.pl
133
+ - vendor/snowball/pascal/stemwords-template.dpr
134
+ - vendor/snowball/python/MANIFEST.in
135
+ - vendor/snowball/python/create_init.py
136
+ - vendor/snowball/python/setup.cfg
137
+ - vendor/snowball/python/setup.py
138
+ - vendor/snowball/python/snowballstemmer/among.py
139
+ - vendor/snowball/python/snowballstemmer/basestemmer.py
140
+ - vendor/snowball/python/stemwords.py
141
+ - vendor/snowball/python/testapp.py
142
+ - vendor/snowball/runtime/api.c
143
+ - vendor/snowball/runtime/api.h
144
+ - vendor/snowball/runtime/header.h
145
+ - vendor/snowball/runtime/utilities.c
146
+ - vendor/snowball/rust/Cargo.toml
147
+ - vendor/snowball/rust/build.rs
148
+ - vendor/snowball/rust/rust-pre-1.27-compat.patch
149
+ - vendor/snowball/rust/src/main.rs
150
+ - vendor/snowball/rust/src/snowball/algorithms/mod.rs
151
+ - vendor/snowball/rust/src/snowball/among.rs
152
+ - vendor/snowball/rust/src/snowball/mod.rs
153
+ - vendor/snowball/rust/src/snowball/snowball_env.rs
154
+ - vendor/snowball/tests/stemtest.c
155
+ homepage: https://github.com/ankane/mittens
156
+ licenses:
157
+ - BSD-3-Clause
158
+ metadata: {}
159
+ post_install_message:
160
+ rdoc_options: []
161
+ require_paths:
162
+ - lib
163
+ required_ruby_version: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - ">="
166
+ - !ruby/object:Gem::Version
167
+ version: '3'
168
+ required_rubygems_version: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: '0'
173
+ requirements: []
174
+ rubygems_version: 3.4.6
175
+ signing_key:
176
+ specification_version: 4
177
+ summary: Stemming for Ruby, powered by Snowball
178
+ test_files: []