How to provide multilingual support
See original GitHub issueText preprocessing might be very language-dependent.
It would be great for Texthero to offer text preprocessing in all different languages.
There are probably two ways to support multilanguage:
from texthero.lang import hero_lang
from texthero import hero
hero.config.set_lang("lang")
We might have also cases where the dataset is composed of many languages. What would be the best solution in that case?
The first question we probably have to solve is: does different languages requires very different preprocessing pipeline and therefore different functions?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:19 (11 by maintainers)
Top Results From Across the Web
6 Ways to Improve Your Multilingual Customer Service
1. Build Extensive Self-Help Docs and Tools · 2. Use Online Language Translation Tools · 3. Provide Customer Service Practice for Your Team...
Read more >6 Steps to Provide Excellent Multilingual Customer Service
Analyse your target audience and their language requirements · Localise your marketing efforts and product offerings · Decide on the extent of ...
Read more >Multilingual Support - Mitel
Multilingual support extends the customer support experience to people who don't speak English, or who are more comfortable conversing in another language. The ......
Read more >How to Provide Multilingual Customer Support | IVANNOVATION
To move from local to global, companies need to analyze traffic, select languages to serve, build a knowledge base in various foreign languages, ......
Read more >Multilingual Support: Speak Your Customer's Language
Multilingual support allows brands to serve customers in more than one language. There are around 7,100 languages spoken in the world today.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ll start implementing
texthero.lang.hero_cn
to make all functions support Chinese. If #60 is completed I’ll refactor the code to accommodate this feature. Is that OK?I think @AlfredWGA’s solution of having a global setting is a better idea than adding
language
parameter for every function as i suggested and is also more feasible.#3 is also very interesting and might be an even better idea as it automates the process. It aligns perfectly well to Texthero’s purpose of being easy to use and understand.