Questions tagged [text-processing]

For challenges related to the processing of text input.

Filter by
Sorted by
Tagged with
9
votes
2answers
312 views

Bring my memories about Geronimo Stilton back

If you have read in your childhood a Geronimo Stilton's book i am sure that you remember the style of the text, sometimes the words was decorated for making the act of reading more funny for kids, ...
9
votes
1answer
164 views

Are We Fast And Furious? [closed]

There are currently nine feature length films in the core Fast & Furious/The Fast and the Furious media franchise, a series of films about bald men scowling and driving cars very fast. The names ...
10
votes
15answers
1k views

Merge Two Paragraphs with Removing Duplicated Lines

Challenge The goal of this challenge is to make a function that takes two paragraphs and output a concatenated result with removing the duplicated overlapped lines due to redundancy (but a single copy ...
1
vote
12answers
657 views

just a caesar cipher... with a twist [closed]

I have been going to puzzling.se, and people over there write stuff in rot13 a lot, sot this gave me an idea: Write a program that takes 2 inputs, a string and integer: the message to encode or ...
1
vote
2answers
375 views

Golf Me A Text-Editor [closed]

Golf Me a Text Editor (similar challenges: Create a simple line editor and Line editor (more text here)) I seem to have forgotten which program to use to open, read, and write text files. Something ...
39
votes
15answers
3k views

Error-correct text

Correct a single-letter typo in a fixed text. Input: The paragraph below but with exactly one typo, where a single letter a-zA-Z is replaced by a different letter <...
18
votes
14answers
3k views

Visualize a Recursive Acronym

Background Famously, the acronym GNU stands for GNU's Not Unix. 1 It's recursive because, after expanding it once, it still ...
12
votes
6answers
1k views

Country name mashup generator

Part 1 of the task is here Flags Mashup Bot is a small Twitter bot that generates a new country name based on two random country names and tweets the result every couple of minutes. Task Your task ...
-1
votes
2answers
274 views

Mirror, Mirror, on the wall. Who's the fairest of them all?

Well, you know it's Snow White, and the evil Queen is at it again. Will Snow White be saved? Will she fall asleep once again? Will the Prince find her? Challenge: Given an arbitrary number (>= 2) ...
1
vote
0answers
134 views

"Know Thyself" Program [duplicate]

Challenge Write a program that takes as input a text and output "That's me!" if the input is equal to the program own source code, and "That's not me!" otherwise. Notes This is codegolf, in each ...
24
votes
5answers
586 views

How long's left?

How long's left? Recently, I was making pizza using a 5-minute timer on my phone. When someone walked in and asked me how long was left, I was confused for a moment at first as to how to answer the ...
7
votes
1answer
227 views

Insert commas into numbers [closed]

Write a program that reads a string, and inserts commas to divide large numbers in groups of 3. i.e. 10000 => 10,000. It should 'fix' incorrectly formatted numbers as described below. It must work ...
7
votes
14answers
523 views

Offset in split text content

You will be given an ASCII text. This text may have zero, one or many appearances of a split a character (let's assume it will be the space character ) You will ...
14
votes
22answers
3k views

Translate English to Corpus

The Corpus are a fictional faction from the popular video game Warframe who have a somewhat interesting language. Whilst other factions in the game such as the Grineer have some logic behind their ...
16
votes
17answers
1k views

Supreme Sum String

Supreme Sum String Given an input string, return the word with the highest sum of each of its unicode characters. Rules The input should be seperated by whitespace The value of each word is based ...
3
votes
1answer
159 views

Sorting out redundant text from screen scraper application [closed]

You are writing a screen scraper application monitoring a text-only chat window. Text is added at the bottom of the window. The application takes screenshot of the chat window. If a change has ...
39
votes
38answers
7k views

Ot wes thi bist uf tomis

I just love this simple cypher, it's so fun reading not-quite human-readable words and filling the gaps... ...
4
votes
6answers
798 views

The house that Jack built [duplicate]

So, there's a famous children's rhyme... ...
13
votes
6answers
1k views

Text to Brain-Flak

Your challenge is to turn input text to brain-flak code that will output the text. Tutorial taken from here with permission here Brain-Flak has two stacks, known as 'left' and 'right'. The active ...
45
votes
43answers
4k views

Split string on first occurrence of each character

Related. Given a printable ASCII string, split it into a list of non-empty strings with a new sub-string beginning every time a character, which has not previously been seen in the same case, occurs. ...
10
votes
5answers
618 views

Case-fold German

Given a German string and an indication of a case (lower/upper/title), fold the string to that case. Specifications Input will consist only of a–...
36
votes
52answers
4k views

Boustrophedonise

Related but very different. A boustrophedon is a text where every other line of writing is flipped or reversed, with reversed letters. In this challenge, we will just reverse every other line, but ...
-1
votes
2answers
440 views

Wir hassen Umlaute! (We hate umlauts!)

Introduction As you all know, German has umlauts. They're these things: ¨ However, most keyboards don't have an umlaut key. That's fine, though, because you can ...
1
vote
3answers
263 views

Ninjas in a Chat Log

Thanks to HyperNeutrino for making more test cases Often in chat, someone will ask a question, and multiple people will answer it at the same time. Usually, the person who was beaten to the gun will ...
6
votes
9answers
866 views

Generate a Texting Dictionary

this challenge was based on a sandboxed post by @dmckee Old fashioned cell phones were and are used heavily as texting platforms, unfortunately the keyboard has only 12 + a few buttons, and is ...