Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Questions tagged [natural-language]

Problems involving processing of natural languages in a human way. Tasks include interpreting free text, correcting spelling or grammar, understanding pronunciation, etc.

Filter by
Sorted by
Tagged with
18 votes
8 answers
1k views

English to Dutch number order conversion

Introduction: When saying numbers out loud, the order is slightly different in Dutch than in English. For a number like \1234ドル\$: in English you'd say: one thousand, two hundred and thirty-four in ...
21 votes
10 answers
2k views

"e" ejects the letters. Re-enter them

Overview I have a sample of 10 quotes. You will receive as input to your program one of these quotes, however all the vowels (aeiou) will be replaced with the ...
19 votes
14 answers
2k views

Output 200 words

Output any 200 words from Wordnik without using external sources. Any case. No repeated or extra words. Code golf.
-5 votes
7 answers
487 views

Produce 2025 in any human language, without those characters in your code

It's 2025! Write a function/program that outputs this number in words. There are two twists: You can write it out in (almost) any human language (including English). None of the characters in your ...
8 votes
4 answers
681 views

Toggle Hangul Vowel Harmony

(This post is partly self-plagiarized.) Objective Given a Hangul syllable, toggle its vowel harmony. Introduction to Hangul syllables Hangul(한글) is the Korean writing system invented by Sejong the ...
17 votes
10 answers
2k views

Convert French spelled out numbers to integers

Given a string that is a number between 0 and 100 (included) spelled out in French, write a function (or a whole program) that outputs the corresponding integer. List of all test cases : ...
8 votes
7 answers
1k views

Is this a valid Irish word?

In Irish, most consonants are divided into broad (velarized) and slender (palatalized) variants, and the orthography marks them with neighboring vowels, which are similarly divided. This gives rise to ...
16 votes
17 answers
2k views

o y u (or and or)

In Spanish, the word 'or' is represented as 'o', with the exception of cases where the following letter starts with 'o' or 'ho' (including accented forms like 'ó' or 'hó'). Numbers also follow this ...
14 votes
5 answers
2k views

Decode a Caesar ciphertext with high probability

Caesar ciphers A Caesar cipher with shift=N is the process of replacing any alphabetic character in a string with the letter which is N positions ahead in the alphabet (wrapping back at the beginning)....
11 votes
4 answers
310 views

Construct the Irish possessive

In this challenge you will take an Irish word and a personal pronoun and create the possessive pronoun construction combining the two. For example , ...
18 votes
14 answers
4k views

TYPOGLYCEMIA - Cna Yuo Raed Tihs?

What is Typoglycemia? Typoglycemia is a term that refers to the phenomenon where readers are able to understand text even when the letters in the middle of words are jumbled, as long as the first and ...
vengy's user avatar
  • 2,309
17 votes
2 answers
381 views

Translate Japanese hiragana into the flick input method

The flick input method is a way of inputting Japanese kana on a modern smartphone. It is arranged in a 12-key layout, with the following labels: あかさ たなは まやら 小わ、 ...
-1 votes
1 answer
308 views

It's Just Simple Math! [duplicate]

Task Your boss is on another crusade for 'efficiency.' He wants to encourage the use of numbers with fewer syllables, so that they're easier to discuss in meetings. If you want to take some time off ...
12 votes
8 answers
1k views

Shortest English prompt to produce LLM bug [closed]

I will try to reopen this question with some edits. Since programming is predicted to become natural linguisized by the unstoppable advances in LLM technology, perhaps we can code golf LLMs ...
11 votes
6 answers
1k views

Spell date in Japanese

Objective Given a date, spell it out in Romanized Japanese. I/O Format The input format is flexible. The output format is <month spelling> <day spelling>...

15 30 50 per page
1
2 3 4 5
...
11

AltStyle によって変換されたページ (->オリジナル) /