! See http://factorcode.org/license.txt for BSD license
USING: combinators command-line generic io kernel math
-math.text.english namespaces present sequences strings system
-ui.operations vocabs ;
+math.text.english namespaces present sequences splitting
+strings system ui.operations vocabs ;
IN: text-to-speech
command-line get [
[ speak ] each-line
] [
- unwords speak
+ join-words speak
] if-empty ;
MAIN: speak-main