I work for a company called Megasoft Weird. We make word-processing software. We'd like a spellchecker.
The user is a supervisor process which dispatches sentences to the spellchecker and expects to receive annotated sentences in return.
Input: string. Output: (annotated) string.
Given input: "Hello world"
Output should be: "Hello world"
:check:
Given input: "Hello warld"
Output should be: "Hello ~warld~"
🚧
Given input: "Hello, warld"
Output should be: "Hello, ~warld~"
🚧
Given input: ""
Output should be: ""
:check:
Given input: "1"
Output should be: "1"
:check:
Given input: 1
Output should be: SomeSortOfError
Clone the repo, and bundle install
to get started.