function "preprocess" in file "convert_corpus.py"
Open
- Dominant language
- Python
- Stars
- 132
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
after "text=preprocess(text)"; some Chinese character change to garbled. such as "充满" to "?满", “?” for garbled. Is there something wrong? I think this function is to normalize all num to the number "0" and all English word to "X" and delet space "".
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading the preprocess function in convert_corpus.py and reproduce the reported conversion of “充满” to “?满” after text=preprocess(text). Check which normalization step affects Chinese characters; done means Chinese text remains intact while the stated number, English-word, and space normalization still behaves as intended.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100