Start Learning Korean in the next 30 Seconds with
a Free Lifetime Account

Or sign up using Facebook

Dictionary enhancements

JohnThompsonJTSoftware939
Been Around a Bit
Posts: 21
Joined: April 18th, 2012 1:47 am

Dictionary enhancements

Postby JohnThompsonJTSoftware939 » May 14th, 2012 5:44 pm

Support sentence lookup/decomposition in the online dictionary. This could be in two forms.

1. Break up the sentence into words. (See what they did with the Chinese dictionary at http://www.mdbg.net.) Some pseudocode:

for (startIndex = 0; startIndex < sentence.Length; )
{
for (length = sentence.Length - startIndex; length != 0; length--)
{
word = sentence.Substring(startIndex, length);

if (definition = dictionary.Lookup(word))
{
Display(definition);
break;
}
}
if (length > 0)
startIndex += length;
else
startIndex++;
}

2. If possible, diagram the sentence grammar.
Get 51% OFF

Return to “Learn Korean Feature Requests (서비스 요청)”