Gleb Gleb
commited on
Commit
·
cc09a85
1
Parent(s):
16fa748
adjusted app to have general/other languages
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ from impresso_pipelines.solrnormalization import SolrNormalizationPipeline
|
|
8 |
|
9 |
pipeline = SolrNormalizationPipeline()
|
10 |
|
11 |
-
LANGUAGES = ["Auto-detect", "de", "fr", "es", "it", "pt", "nl", "en"]
|
12 |
|
13 |
def normalize(text, lang_choice):
|
14 |
try:
|
|
|
8 |
|
9 |
pipeline = SolrNormalizationPipeline()
|
10 |
|
11 |
+
LANGUAGES = ["Auto-detect", "de", "fr", "es", "it", "pt", "nl", "en", "general"]
|
12 |
|
13 |
def normalize(text, lang_choice):
|
14 |
try:
|