I have a datafile, there is some French, Japanese inside, the data file is looks as following:
we have two columns:
- Col1 contains a sentences, most of them are in English, and some of them is in foreign language.
- Col2 is all English.
Col1 is kindly looks like:
| _ - 5 | PR - The number of qualified candidates
| _ - 6 | PR - アルバイト募集を掲載していますが、応募者がほとんどいないため。
| _ - 8 | PR - Quick, easy, inexpensive and plenty of applicants
What I do is to only keep English. If we find a Foreign language word in one row. I need to delete the whole row.
Is anyone know how to do it in R?