rifter42 / symbolic_computation_ica1

An ELIZA-like chatbot about Prague parks in Clojure.
Other
0 stars 0 forks source link

Formatting user input #5

Closed rifter42 closed 2 years ago

rifter42 commented 2 years ago

Current matching logic splits user input into individual words and matches them against relevant keywords. Therefore, user input should be formatted before passing it into relevant functions.

Example input: Can I ride a bike in Riegrovy Sady? Example output: can i ride a bike in riegrovy-sady

The same process should be repeated back, so for can i ride a bike in riegrovy-sady the function should output Can I ride a bike in Riegrovy Sady