Words Correction of Sentence

3 views (last 30 days)
Angga Lisdiyanto
Angga Lisdiyanto on 19 Jun 2016
Commented: Angga Lisdiyanto on 20 Jun 2016
Hi, i want to implement a post-processing for sentence correction from SVM Machine Learning.
I did know Machine Learning, but not in Natural Language Processing or Text Mining.
From Machine Learning, i got several words per sentence from handwritten text recognition.
But, there are several missclassification words that i did want to correction. The correction i need is :
Read the whole of sentence
If there are double words besides or there are wrong grammar (Indonesian - SPOK) Then
Read the whole of sentence for trace besides words
Check the database of sentence with two words besides of center word AND get that center word
Replace the center word of double words orwrong grammar with the center word
End if
Example :
Input
sentence = {'i', 'love', 'after', 'mother', 'she', 'me', 'me'};
Output
repalace_words = {'i', 'love', 'mother', 'after', 'she', 'kiss', 'me'};

Answers (0)

Categories

Find more on Language Support in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!