capistrano-cluster 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +21 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +38 -0
- data/Rakefile +1 -0
- data/capistrano-cluster.gemspec +29 -0
- data/files/Procfile.erb +2 -0
- data/files/apt.conf.d/10periodic +4 -0
- data/files/apt.conf.d/50unattended-upgrades +4 -0
- data/files/database.yml.erb +11 -0
- data/files/etc/hosts.erb +9 -0
- data/files/firewall.erb +8 -0
- data/files/issue.net +11 -0
- data/files/lb-sysctl.conf +24 -0
- data/files/nginx/application.conf.erb +67 -0
- data/files/nginx/lb-application.conf.erb +91 -0
- data/files/nginx/lb-nginx.conf.erb +84 -0
- data/files/nginx/nginx.conf.erb +80 -0
- data/files/pg_hba.conf.erb +10 -0
- data/files/postgresql.conf +19 -0
- data/files/redis/redis.conf +597 -0
- data/files/service.erb +67 -0
- data/files/solr/conf/lang/contractions_ca.txt +8 -0
- data/files/solr/conf/lang/contractions_fr.txt +9 -0
- data/files/solr/conf/lang/contractions_ga.txt +5 -0
- data/files/solr/conf/lang/contractions_it.txt +23 -0
- data/files/solr/conf/lang/hyphenations_ga.txt +5 -0
- data/files/solr/conf/lang/stemdict_nl.txt +6 -0
- data/files/solr/conf/lang/stoptags_ja.txt +420 -0
- data/files/solr/conf/lang/stopwords_ar.txt +125 -0
- data/files/solr/conf/lang/stopwords_bg.txt +193 -0
- data/files/solr/conf/lang/stopwords_ca.txt +220 -0
- data/files/solr/conf/lang/stopwords_cz.txt +172 -0
- data/files/solr/conf/lang/stopwords_da.txt +108 -0
- data/files/solr/conf/lang/stopwords_de.txt +292 -0
- data/files/solr/conf/lang/stopwords_el.txt +78 -0
- data/files/solr/conf/lang/stopwords_en.txt +54 -0
- data/files/solr/conf/lang/stopwords_es.txt +354 -0
- data/files/solr/conf/lang/stopwords_eu.txt +99 -0
- data/files/solr/conf/lang/stopwords_fa.txt +313 -0
- data/files/solr/conf/lang/stopwords_fi.txt +95 -0
- data/files/solr/conf/lang/stopwords_fr.txt +183 -0
- data/files/solr/conf/lang/stopwords_ga.txt +110 -0
- data/files/solr/conf/lang/stopwords_gl.txt +161 -0
- data/files/solr/conf/lang/stopwords_hi.txt +235 -0
- data/files/solr/conf/lang/stopwords_hu.txt +209 -0
- data/files/solr/conf/lang/stopwords_hy.txt +46 -0
- data/files/solr/conf/lang/stopwords_id.txt +359 -0
- data/files/solr/conf/lang/stopwords_it.txt +301 -0
- data/files/solr/conf/lang/stopwords_ja.txt +127 -0
- data/files/solr/conf/lang/stopwords_lv.txt +172 -0
- data/files/solr/conf/lang/stopwords_nl.txt +117 -0
- data/files/solr/conf/lang/stopwords_no.txt +192 -0
- data/files/solr/conf/lang/stopwords_pt.txt +251 -0
- data/files/solr/conf/lang/stopwords_ro.txt +233 -0
- data/files/solr/conf/lang/stopwords_ru.txt +241 -0
- data/files/solr/conf/lang/stopwords_sv.txt +131 -0
- data/files/solr/conf/lang/stopwords_th.txt +119 -0
- data/files/solr/conf/lang/stopwords_tr.txt +212 -0
- data/files/solr/conf/lang/userdict_ja.txt +29 -0
- data/files/solr/conf/mapping-FoldToASCII.txt +3813 -0
- data/files/solr/conf/schema.xml +111 -0
- data/files/solr/conf/solrconfig.xml +59 -0
- data/files/solr/conf/stopwords.txt +14 -0
- data/files/solr/solr.xml +45 -0
- data/files/ssh/authorized_keys.erb +4 -0
- data/files/ssh/config +3 -0
- data/files/sshd_config +40 -0
- data/files/tmux.conf +136 -0
- data/files/ufw +44 -0
- data/files/unicorn.rb.erb +63 -0
- data/lib/capistrano/cluster/application.rb +75 -0
- data/lib/capistrano/cluster/core_ext/object.rb +17 -0
- data/lib/capistrano/cluster/files.rb +57 -0
- data/lib/capistrano/cluster/packages.rb +62 -0
- data/lib/capistrano/cluster/paths.rb +18 -0
- data/lib/capistrano/cluster/service.rb +70 -0
- data/lib/capistrano/cluster/version.rb +5 -0
- data/lib/capistrano/cluster.rb +35 -0
- data/tasks/deploy/application.rake +48 -0
- data/tasks/deploy.rake +71 -0
- data/tasks/roles/app.rake +71 -0
- data/tasks/roles/cache.rake +16 -0
- data/tasks/roles/db.rake +66 -0
- data/tasks/roles/indexer.rake +132 -0
- data/tasks/roles/proxy.rake +59 -0
- data/tasks/roles/rabbit.rake +52 -0
- data/tasks/roles/resque.rake +96 -0
- data/tasks/roles/sidekiq.rake +42 -0
- data/tasks/roles/web.rake +64 -0
- data/tasks/setup/firewall.rake +53 -0
- data/tasks/setup.rake +96 -0
- metadata +221 -0
@@ -0,0 +1,131 @@
|
|
1
|
+
| From svn.tartarus.org/snowball/trunk/website/algorithms/swedish/stop.txt
|
2
|
+
| This file is distributed under the BSD License.
|
3
|
+
| See http://snowball.tartarus.org/license.php
|
4
|
+
| Also see http://www.opensource.org/licenses/bsd-license.html
|
5
|
+
| - Encoding was converted to UTF-8.
|
6
|
+
| - This notice was added.
|
7
|
+
|
8
|
+
| A Swedish stop word list. Comments begin with vertical bar. Each stop
|
9
|
+
| word is at the start of a line.
|
10
|
+
|
11
|
+
| This is a ranked list (commonest to rarest) of stopwords derived from
|
12
|
+
| a large text sample.
|
13
|
+
|
14
|
+
| Swedish stop words occasionally exhibit homonym clashes. For example
|
15
|
+
| så = so, but also seed. These are indicated clearly below.
|
16
|
+
|
17
|
+
och | and
|
18
|
+
det | it, this/that
|
19
|
+
att | to (with infinitive)
|
20
|
+
i | in, at
|
21
|
+
en | a
|
22
|
+
jag | I
|
23
|
+
hon | she
|
24
|
+
som | who, that
|
25
|
+
han | he
|
26
|
+
på | on
|
27
|
+
den | it, this/that
|
28
|
+
med | with
|
29
|
+
var | where, each
|
30
|
+
sig | him(self) etc
|
31
|
+
för | for
|
32
|
+
så | so (also: seed)
|
33
|
+
till | to
|
34
|
+
är | is
|
35
|
+
men | but
|
36
|
+
ett | a
|
37
|
+
om | if; around, about
|
38
|
+
hade | had
|
39
|
+
de | they, these/those
|
40
|
+
av | of
|
41
|
+
icke | not, no
|
42
|
+
mig | me
|
43
|
+
du | you
|
44
|
+
henne | her
|
45
|
+
då | then, when
|
46
|
+
sin | his
|
47
|
+
nu | now
|
48
|
+
har | have
|
49
|
+
inte | inte någon = no one
|
50
|
+
hans | his
|
51
|
+
honom | him
|
52
|
+
skulle | 'sake'
|
53
|
+
hennes | her
|
54
|
+
där | there
|
55
|
+
min | my
|
56
|
+
man | one (pronoun)
|
57
|
+
ej | nor
|
58
|
+
vid | at, by, on (also: vast)
|
59
|
+
kunde | could
|
60
|
+
något | some etc
|
61
|
+
från | from, off
|
62
|
+
ut | out
|
63
|
+
när | when
|
64
|
+
efter | after, behind
|
65
|
+
upp | up
|
66
|
+
vi | we
|
67
|
+
dem | them
|
68
|
+
vara | be
|
69
|
+
vad | what
|
70
|
+
över | over
|
71
|
+
än | than
|
72
|
+
dig | you
|
73
|
+
kan | can
|
74
|
+
sina | his
|
75
|
+
här | here
|
76
|
+
ha | have
|
77
|
+
mot | towards
|
78
|
+
alla | all
|
79
|
+
under | under (also: wonder)
|
80
|
+
någon | some etc
|
81
|
+
eller | or (else)
|
82
|
+
allt | all
|
83
|
+
mycket | much
|
84
|
+
sedan | since
|
85
|
+
ju | why
|
86
|
+
denna | this/that
|
87
|
+
själv | myself, yourself etc
|
88
|
+
detta | this/that
|
89
|
+
åt | to
|
90
|
+
utan | without
|
91
|
+
varit | was
|
92
|
+
hur | how
|
93
|
+
ingen | no
|
94
|
+
mitt | my
|
95
|
+
ni | you
|
96
|
+
bli | to be, become
|
97
|
+
blev | from bli
|
98
|
+
oss | us
|
99
|
+
din | thy
|
100
|
+
dessa | these/those
|
101
|
+
några | some etc
|
102
|
+
deras | their
|
103
|
+
blir | from bli
|
104
|
+
mina | my
|
105
|
+
samma | (the) same
|
106
|
+
vilken | who, that
|
107
|
+
er | you, your
|
108
|
+
sådan | such a
|
109
|
+
vår | our
|
110
|
+
blivit | from bli
|
111
|
+
dess | its
|
112
|
+
inom | within
|
113
|
+
mellan | between
|
114
|
+
sådant | such a
|
115
|
+
varför | why
|
116
|
+
varje | each
|
117
|
+
vilka | who, that
|
118
|
+
ditt | thy
|
119
|
+
vem | who
|
120
|
+
vilket | who, that
|
121
|
+
sitta | his
|
122
|
+
sådana | such a
|
123
|
+
vart | each
|
124
|
+
dina | thy
|
125
|
+
vars | whose
|
126
|
+
vårt | our
|
127
|
+
våra | our
|
128
|
+
ert | your
|
129
|
+
era | your
|
130
|
+
vilkas | whose
|
131
|
+
|
@@ -0,0 +1,119 @@
|
|
1
|
+
# Thai stopwords from:
|
2
|
+
# "Opinion Detection in Thai Political News Columns
|
3
|
+
# Based on Subjectivity Analysis"
|
4
|
+
# Khampol Sukhum, Supot Nitsuwat, and Choochart Haruechaiyasak
|
5
|
+
ไว้
|
6
|
+
ไม่
|
7
|
+
ไป
|
8
|
+
ได้
|
9
|
+
ให้
|
10
|
+
ใน
|
11
|
+
โดย
|
12
|
+
แห่ง
|
13
|
+
แล้ว
|
14
|
+
และ
|
15
|
+
แรก
|
16
|
+
แบบ
|
17
|
+
แต่
|
18
|
+
เอง
|
19
|
+
เห็น
|
20
|
+
เลย
|
21
|
+
เริ่ม
|
22
|
+
เรา
|
23
|
+
เมื่อ
|
24
|
+
เพื่อ
|
25
|
+
เพราะ
|
26
|
+
เป็นการ
|
27
|
+
เป็น
|
28
|
+
เปิดเผย
|
29
|
+
เปิด
|
30
|
+
เนื่องจาก
|
31
|
+
เดียวกัน
|
32
|
+
เดียว
|
33
|
+
เช่น
|
34
|
+
เฉพาะ
|
35
|
+
เคย
|
36
|
+
เข้า
|
37
|
+
เขา
|
38
|
+
อีก
|
39
|
+
อาจ
|
40
|
+
อะไร
|
41
|
+
ออก
|
42
|
+
อย่าง
|
43
|
+
อยู่
|
44
|
+
อยาก
|
45
|
+
หาก
|
46
|
+
หลาย
|
47
|
+
หลังจาก
|
48
|
+
หลัง
|
49
|
+
หรือ
|
50
|
+
หนึ่ง
|
51
|
+
ส่วน
|
52
|
+
ส่ง
|
53
|
+
สุด
|
54
|
+
สําหรับ
|
55
|
+
ว่า
|
56
|
+
วัน
|
57
|
+
ลง
|
58
|
+
ร่วม
|
59
|
+
ราย
|
60
|
+
รับ
|
61
|
+
ระหว่าง
|
62
|
+
รวม
|
63
|
+
ยัง
|
64
|
+
มี
|
65
|
+
มาก
|
66
|
+
มา
|
67
|
+
พร้อม
|
68
|
+
พบ
|
69
|
+
ผ่าน
|
70
|
+
ผล
|
71
|
+
บาง
|
72
|
+
น่า
|
73
|
+
นี้
|
74
|
+
นํา
|
75
|
+
นั้น
|
76
|
+
นัก
|
77
|
+
นอกจาก
|
78
|
+
ทุก
|
79
|
+
ที่สุด
|
80
|
+
ที่
|
81
|
+
ทําให้
|
82
|
+
ทํา
|
83
|
+
ทาง
|
84
|
+
ทั้งนี้
|
85
|
+
ทั้ง
|
86
|
+
ถ้า
|
87
|
+
ถูก
|
88
|
+
ถึง
|
89
|
+
ต้อง
|
90
|
+
ต่างๆ
|
91
|
+
ต่าง
|
92
|
+
ต่อ
|
93
|
+
ตาม
|
94
|
+
ตั้งแต่
|
95
|
+
ตั้ง
|
96
|
+
ด้าน
|
97
|
+
ด้วย
|
98
|
+
ดัง
|
99
|
+
ซึ่ง
|
100
|
+
ช่วง
|
101
|
+
จึง
|
102
|
+
จาก
|
103
|
+
จัด
|
104
|
+
จะ
|
105
|
+
คือ
|
106
|
+
ความ
|
107
|
+
ครั้ง
|
108
|
+
คง
|
109
|
+
ขึ้น
|
110
|
+
ของ
|
111
|
+
ขอ
|
112
|
+
ขณะ
|
113
|
+
ก่อน
|
114
|
+
ก็
|
115
|
+
การ
|
116
|
+
กับ
|
117
|
+
กัน
|
118
|
+
กว่า
|
119
|
+
กล่าว
|
@@ -0,0 +1,212 @@
|
|
1
|
+
# Turkish stopwords from LUCENE-559
|
2
|
+
# merged with the list from "Information Retrieval on Turkish Texts"
|
3
|
+
# (http://www.users.muohio.edu/canf/papers/JASIST2008offPrint.pdf)
|
4
|
+
acaba
|
5
|
+
altmış
|
6
|
+
altı
|
7
|
+
ama
|
8
|
+
ancak
|
9
|
+
arada
|
10
|
+
aslında
|
11
|
+
ayrıca
|
12
|
+
bana
|
13
|
+
bazı
|
14
|
+
belki
|
15
|
+
ben
|
16
|
+
benden
|
17
|
+
beni
|
18
|
+
benim
|
19
|
+
beri
|
20
|
+
beş
|
21
|
+
bile
|
22
|
+
bin
|
23
|
+
bir
|
24
|
+
birçok
|
25
|
+
biri
|
26
|
+
birkaç
|
27
|
+
birkez
|
28
|
+
birşey
|
29
|
+
birşeyi
|
30
|
+
biz
|
31
|
+
bize
|
32
|
+
bizden
|
33
|
+
bizi
|
34
|
+
bizim
|
35
|
+
böyle
|
36
|
+
böylece
|
37
|
+
bu
|
38
|
+
buna
|
39
|
+
bunda
|
40
|
+
bundan
|
41
|
+
bunlar
|
42
|
+
bunları
|
43
|
+
bunların
|
44
|
+
bunu
|
45
|
+
bunun
|
46
|
+
burada
|
47
|
+
çok
|
48
|
+
çünkü
|
49
|
+
da
|
50
|
+
daha
|
51
|
+
dahi
|
52
|
+
de
|
53
|
+
defa
|
54
|
+
değil
|
55
|
+
diğer
|
56
|
+
diye
|
57
|
+
doksan
|
58
|
+
dokuz
|
59
|
+
dolayı
|
60
|
+
dolayısıyla
|
61
|
+
dört
|
62
|
+
edecek
|
63
|
+
eden
|
64
|
+
ederek
|
65
|
+
edilecek
|
66
|
+
ediliyor
|
67
|
+
edilmesi
|
68
|
+
ediyor
|
69
|
+
eğer
|
70
|
+
elli
|
71
|
+
en
|
72
|
+
etmesi
|
73
|
+
etti
|
74
|
+
ettiği
|
75
|
+
ettiğini
|
76
|
+
gibi
|
77
|
+
göre
|
78
|
+
halen
|
79
|
+
hangi
|
80
|
+
hatta
|
81
|
+
hem
|
82
|
+
henüz
|
83
|
+
hep
|
84
|
+
hepsi
|
85
|
+
her
|
86
|
+
herhangi
|
87
|
+
herkesin
|
88
|
+
hiç
|
89
|
+
hiçbir
|
90
|
+
için
|
91
|
+
iki
|
92
|
+
ile
|
93
|
+
ilgili
|
94
|
+
ise
|
95
|
+
işte
|
96
|
+
itibaren
|
97
|
+
itibariyle
|
98
|
+
kadar
|
99
|
+
karşın
|
100
|
+
katrilyon
|
101
|
+
kendi
|
102
|
+
kendilerine
|
103
|
+
kendini
|
104
|
+
kendisi
|
105
|
+
kendisine
|
106
|
+
kendisini
|
107
|
+
kez
|
108
|
+
ki
|
109
|
+
kim
|
110
|
+
kimden
|
111
|
+
kime
|
112
|
+
kimi
|
113
|
+
kimse
|
114
|
+
kırk
|
115
|
+
milyar
|
116
|
+
milyon
|
117
|
+
mu
|
118
|
+
mü
|
119
|
+
mı
|
120
|
+
nasıl
|
121
|
+
ne
|
122
|
+
neden
|
123
|
+
nedenle
|
124
|
+
nerde
|
125
|
+
nerede
|
126
|
+
nereye
|
127
|
+
niye
|
128
|
+
niçin
|
129
|
+
o
|
130
|
+
olan
|
131
|
+
olarak
|
132
|
+
oldu
|
133
|
+
olduğu
|
134
|
+
olduğunu
|
135
|
+
olduklarını
|
136
|
+
olmadı
|
137
|
+
olmadığı
|
138
|
+
olmak
|
139
|
+
olması
|
140
|
+
olmayan
|
141
|
+
olmaz
|
142
|
+
olsa
|
143
|
+
olsun
|
144
|
+
olup
|
145
|
+
olur
|
146
|
+
olursa
|
147
|
+
oluyor
|
148
|
+
on
|
149
|
+
ona
|
150
|
+
ondan
|
151
|
+
onlar
|
152
|
+
onlardan
|
153
|
+
onları
|
154
|
+
onların
|
155
|
+
onu
|
156
|
+
onun
|
157
|
+
otuz
|
158
|
+
oysa
|
159
|
+
öyle
|
160
|
+
pek
|
161
|
+
rağmen
|
162
|
+
sadece
|
163
|
+
sanki
|
164
|
+
sekiz
|
165
|
+
seksen
|
166
|
+
sen
|
167
|
+
senden
|
168
|
+
seni
|
169
|
+
senin
|
170
|
+
siz
|
171
|
+
sizden
|
172
|
+
sizi
|
173
|
+
sizin
|
174
|
+
şey
|
175
|
+
şeyden
|
176
|
+
şeyi
|
177
|
+
şeyler
|
178
|
+
şöyle
|
179
|
+
şu
|
180
|
+
şuna
|
181
|
+
şunda
|
182
|
+
şundan
|
183
|
+
şunları
|
184
|
+
şunu
|
185
|
+
tarafından
|
186
|
+
trilyon
|
187
|
+
tüm
|
188
|
+
üç
|
189
|
+
üzere
|
190
|
+
var
|
191
|
+
vardı
|
192
|
+
ve
|
193
|
+
veya
|
194
|
+
ya
|
195
|
+
yani
|
196
|
+
yapacak
|
197
|
+
yapılan
|
198
|
+
yapılması
|
199
|
+
yapıyor
|
200
|
+
yapmak
|
201
|
+
yaptı
|
202
|
+
yaptığı
|
203
|
+
yaptığını
|
204
|
+
yaptıkları
|
205
|
+
yedi
|
206
|
+
yerine
|
207
|
+
yetmiş
|
208
|
+
yine
|
209
|
+
yirmi
|
210
|
+
yoksa
|
211
|
+
yüz
|
212
|
+
zaten
|
@@ -0,0 +1,29 @@
|
|
1
|
+
#
|
2
|
+
# This is a sample user dictionary for Kuromoji (JapaneseTokenizer)
|
3
|
+
#
|
4
|
+
# Add entries to this file in order to override the statistical model in terms
|
5
|
+
# of segmentation, readings and part-of-speech tags. Notice that entries do
|
6
|
+
# not have weights since they are always used when found. This is by-design
|
7
|
+
# in order to maximize ease-of-use.
|
8
|
+
#
|
9
|
+
# Entries are defined using the following CSV format:
|
10
|
+
# <text>,<token 1> ... <token n>,<reading 1> ... <reading n>,<part-of-speech tag>
|
11
|
+
#
|
12
|
+
# Notice that a single half-width space separates tokens and readings, and
|
13
|
+
# that the number tokens and readings must match exactly.
|
14
|
+
#
|
15
|
+
# Also notice that multiple entries with the same <text> is undefined.
|
16
|
+
#
|
17
|
+
# Whitespace only lines are ignored. Comments are not allowed on entry lines.
|
18
|
+
#
|
19
|
+
|
20
|
+
# Custom segmentation for kanji compounds
|
21
|
+
日本経済新聞,日本 経済 新聞,ニホン ケイザイ シンブン,カスタム名詞
|
22
|
+
関西国際空港,関西 国際 空港,カンサイ コクサイ クウコウ,カスタム名詞
|
23
|
+
|
24
|
+
# Custom segmentation for compound katakana
|
25
|
+
トートバッグ,トート バッグ,トート バッグ,かずカナ名詞
|
26
|
+
ショルダーバッグ,ショルダー バッグ,ショルダー バッグ,かずカナ名詞
|
27
|
+
|
28
|
+
# Custom reading for former sumo wrestler
|
29
|
+
朝青龍,朝青龍,アサショウリュウ,カスタム人名
|