Skip to content

Commit

Permalink
Merge pull request #210 from david50407/fix/bopomofo_pokayoke
Browse files Browse the repository at this point in the history
Fix #169 to catch the ambiguity word correctly
  • Loading branch information
david50407 authored Apr 10, 2017
2 parents 637be39 + d44f9f8 commit 1679266
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/model/UserphraseModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ void UserphraseModel::exportUserphrase(std::shared_ptr<UserphraseExporter> expor
QString UserphraseModel::checkBopomofo(const QString &bopomofo) const
{
QString replaceBopomofo = bopomofo;
replaceBopomofo.replace(QString::fromUtf8(""),QString::fromUtf8(""));
replaceBopomofo.replace(QString::fromUtf8("Y"),QString::fromUtf8(""));
replaceBopomofo.replace(QString::fromUtf8(""),QString::fromUtf8(""));
replaceBopomofo.replace(QString::fromUtf8(""),QString::fromUtf8(""));

return replaceBopomofo;
}
Expand Down

0 comments on commit 1679266

Please sign in to comment.