Problems involving processing of natural languages in a human way. Task such as interpreting free text, correcting spell or grammar, understanding pronunciation etc.

learn more… | top users | synonyms

14
votes
2answers
601 views

Books full of nonsense: Identify limericks

As we all know, limericks are short, five-line, occasionally-lewd poems with an AABBA rhyming scheme and an anapestic meter (whatever that is): Writing a Limerick's absurd Line one and line ...
13
votes
2answers
244 views

Singular or plural?

Here is a list of 30 English nouns in their singular and plural form. Your job is simply to write the shortest regular expression that matches all the nouns in one form and none in the other (easy, ...
10
votes
4answers
389 views

Build a readability index

The Flesch-Kincaid readability algorithm depends on the measures of word count and syllable count, neither of which is entirely objective, or easily automatable using a computer. For example, does ...
6
votes
8answers
531 views

Program to Spoonerise words

A spoonerisation is swapping the first letter/pronounceable syllable of two or more words. Example: A lack of pies = A pack of lies. Bad salad = Sad ballad (ish) :) Challenge: Write a program to ...