pierreguillou
commited on
Commit
·
c6ab8b3
1
Parent(s):
982cda3
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ kw_model = {
|
|
26 |
|
27 |
# download spacy pipeline (https://spacy.io/models/pt)
|
28 |
# source: https://melaniewalsh.github.io/Intro-Cultural-Analytics/05-Text-Analysis/Multilingual/Portuguese/03-POS-Keywords-Portuguese.html
|
29 |
-
os.system("python -m spacy download pt_core_news_lg")
|
30 |
|
31 |
# Part-of-Speech Tagging for Portuguese (https://melaniewalsh.github.io/Intro-Cultural-Analytics/05-Text-Analysis/Multilingual/Portuguese/03-POS-Keywords-Portuguese.html)
|
32 |
pos_pattern='<CONJ.*>*<ADP.*>*<ADV.*>*<NUM.*>*<ADJ.*>*<N.*>+'
|
|
|
26 |
|
27 |
# download spacy pipeline (https://spacy.io/models/pt)
|
28 |
# source: https://melaniewalsh.github.io/Intro-Cultural-Analytics/05-Text-Analysis/Multilingual/Portuguese/03-POS-Keywords-Portuguese.html
|
29 |
+
#os.system("python -m spacy download pt_core_news_lg")
|
30 |
|
31 |
# Part-of-Speech Tagging for Portuguese (https://melaniewalsh.github.io/Intro-Cultural-Analytics/05-Text-Analysis/Multilingual/Portuguese/03-POS-Keywords-Portuguese.html)
|
32 |
pos_pattern='<CONJ.*>*<ADP.*>*<ADV.*>*<NUM.*>*<ADJ.*>*<N.*>+'
|