Skip to content

Commit 453732d

Browse files
authored
Format (#13929)
1 parent c1e7cb2 commit 453732d

92 files changed

Lines changed: 207 additions & 403 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎spacy/lang/af/stop_words.py‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Source: https://github.com/stopwords-iso/stopwords-af
22

3-
STOP_WORDS = set(
4-
"""
3+
STOP_WORDS = set("""
54
'n
65
aan
76
af
@@ -53,5 +52,4 @@
5352
was
5453
wat
5554
ʼn
56-
""".split()
57-
)
55+
""".split())

‎spacy/lang/am/stop_words.py‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# Stop words by Teshome Kassie http://etd.aau.edu.et/bitstream/handle/123456789/3315/Teshome%20Kassie.pdf?sequence=1&isAllowed=y
22
# Stop words by Tihitina Petros http://etd.aau.edu.et/bitstream/handle/123456789/3384/Tihitina%20Petros.pdf?sequence=1&isAllowed=y
33

4-
STOP_WORDS = set(
5-
"""
4+
STOP_WORDS = set("""
65
ግን አንቺ አንተ እናንተ ያንተ ያንቺ የናንተ ራስህን ራስሽን ራሳችሁን
76
ሁሉ ኋላ በሰሞኑ አሉ በኋላ ሁኔታ በኩል አስታውቀዋል ሆነ በውስጥ
87
አስታውሰዋል ሆኑ ባጣም እስካሁን ሆኖም በተለይ አሳሰበ ሁል በተመለከተ
@@ -29,5 +28,4 @@
2928
በዚህም መሆን ምንጊዜም እነዚህም በዚህና ያለ ስም
3029
ሲኖር ከዚህም መሆኑን በሁኔታው የማያንስ እነዚህኑ ማንም ከነዚሁ
3130
ያላቸውን እጅግ ሲሆኑ ለሆኑ ሊሆን ለማናቸውም
32-
""".split()
33-
)
31+
""".split())

‎spacy/lang/ar/lex_attrs.py‎

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from ...attrs import LIKE_NUM
22

3-
_num_words = set(
4-
"""
3+
_num_words = set("""
54
صفر
65
واحد
76
إثنان
@@ -51,11 +50,9 @@
5150
مليون
5251
مليار
5352
مليارات
54-
""".split()
55-
)
53+
""".split())
5654

57-
_ordinal_words = set(
58-
"""
55+
_ordinal_words = set("""
5956
اول
6057
أول
6158
حاد
@@ -70,8 +67,7 @@
7067
ثامن
7168
تاسع
7269
عاشر
73-
""".split()
74-
)
70+
""".split())
7571

7672

7773
def like_num(text):

‎spacy/lang/ar/stop_words.py‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
STOP_WORDS = set(
2-
"""
1+
STOP_WORDS = set("""
32
من
43
نحو
54
لعل
@@ -386,5 +385,4 @@
386385
وإن
387386
ولو
388387
يا
389-
""".split()
390-
)
388+
""".split())

‎spacy/lang/az/stop_words.py‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Source: https://github.com/eliasdabbas/advertools/blob/master/advertools/stopwords.py
2-
STOP_WORDS = set(
3-
"""
2+
STOP_WORDS = set("""
43
amma
54
arasında
65
artıq
@@ -141,5 +140,4 @@
141140
əlbəttə
142141
ən
143142
əslində
144-
""".split()
145-
)
143+
""".split())

‎spacy/lang/bg/stop_words.py‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
https://postvai.com/books/stop-dumi.pdf - Additions to the original list in order to improve it.
55
"""
66

7-
STOP_WORDS = set(
8-
"""
7+
STOP_WORDS = set("""
98
а автентичен аз ако ала
109
1110
бе без беше би бивш бивша бившо бивши бил била били било благодаря близо бъдат
@@ -76,5 +75,4 @@
7675
юмрук
7776
7877
я як
79-
""".split()
80-
)
78+
""".split())

‎spacy/lang/bn/stop_words.py‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
STOP_WORDS = set(
2-
"""
1+
STOP_WORDS = set("""
32
অতএব অথচ অথবা অনুযায়ী অনেক অনেকে অনেকেই অন্তত অবধি অবশ্য অর্থাৎ অন্য অনুযায়ী অর্ধভাগে
43
আগামী আগে আগেই আছে আজ আদ্যভাগে আপনার আপনি আবার আমরা আমাকে আমাদের আমার আমি আর আরও
54
ইত্যাদি ইহা
@@ -38,5 +37,4 @@
3837
সাধারণ সামনে সঙ্গে সঙ্গেও সব সবার সমস্ত সম্প্রতি সময় সহ সহিত সাথে সুতরাং সে সেই সেখান সেখানে সেটা সেটাই সেটাও সেটি স্পষ্ট স্বয়ং
3938
হইতে হইবে হইয়া হওয়া হওয়ায় হওয়ার হচ্ছে হত হতে হতেই হন হবে হবেন হয় হয়তো হয়নি হয়ে হয়েই হয়েছিল হয়েছে হাজার
4039
হয়েছেন হল হলে হলেই হলেও হলো হিসাবে হিসেবে হৈলে হোক হয় হয়ে হয়েছে হৈতে হইয়া হয়েছিল হয়েছেন হয়নি হয়েই হয়তো হওয়া হওয়ার হওয়ায়
41-
""".split()
42-
)
40+
""".split())

‎spacy/lang/bo/stop_words.py‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Source: https://zenodo.org/records/10148636
22

3-
STOP_WORDS = set(
4-
"""
3+
STOP_WORDS = set("""
54
འི་
65
།
76
དུ་
@@ -194,5 +193,4 @@
194193
གིང་
195194
ཚ་
196195
ཀྱང
197-
""".split()
198-
)
196+
""".split())

‎spacy/lang/ca/stop_words.py‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
STOP_WORDS = set(
2-
"""
1+
STOP_WORDS = set("""
32
a abans ací ah així això al aleshores algun alguna algunes alguns alhora allà allí allò
43
als altra altre altres amb ambdues ambdós anar ans apa aquell aquella aquelles aquells
54
aquest aquesta aquestes aquests aquí
@@ -48,5 +47,4 @@
4847
4948
va vaig vam van vas veu vosaltres vostra vostre vostres
5049
51-
""".split()
52-
)
50+
""".split())

‎spacy/lang/cs/stop_words.py‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# Source: https://github.com/Alir3z4/stop-words
22
# Source: https://github.com/stopwords-iso/stopwords-cs/blob/master/stopwords-cs.txt
33

4-
STOP_WORDS = set(
5-
"""
4+
STOP_WORDS = set("""
65
a
76
aby
87
ahoj
@@ -361,5 +360,4 @@
361360
zatímco
362361
ze
363362
že
364-
""".split()
365-
)
363+
""".split())

0 commit comments

Comments
 (0)