question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to provide multilingual support

See original GitHub issue

Text 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:open
  • Created 3 years ago
  • Reactions:2
  • Comments:19 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
ryangaweicommented, Jul 24, 2020

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?

1reaction
cedricconolcommented, Jul 17, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found