Gleb Gleb
commited on
Commit
·
2cfcec4
1
Parent(s):
6a65bcb
updated languages options
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", "
|
| 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"]
|
| 12 |
|
| 13 |
def normalize(text, lang_choice):
|
| 14 |
try:
|