Lakshveer Singh
Lakshveer Singh

Reputation: 51

How do you deal with the English text having Hindi words in between? (Text Mining in R)

I'm doing sentiment analysis in R, and I'm looking for an effective way of dealing with Hindi language words in English text.

For eg: "I know, magar this can happen"

Here "magar" is a Hindi word meaning "but". How to deal with such multi language text written in English?

Thanks!

Upvotes: 3

Views: 2760

Answers (1)

amirouche
amirouche

Reputation: 7883

You can use a phonetic algorithm like soundex to deal with out-of-vocabulary terms and to try to match them to hindi words. Then you translate those indie words into english.

Upvotes: 0

Related Questions