Number to text

Hello together,

in the analysis in the text, I have some numbers. How can I convert them into the text? is it even possible? I have already tried with the Node "Numbers to strings" and others, but I am not come to a conclusion.

 

Thanks a lot,
Shony

Hi Shony,

with the Number to String node you can convert values of a column containing numbers (e.g. a double column) to string values (and vice versa with the Number to String node). That means you would convert a number, say 123.456 to the string "123.456". Is this what you want to do?

Cheers, Kilian

Thanks for your answer, Kilian,

for me it is important, for example, Row 123 has the text "30" . I would like have a node that "translates"  a "30" to "thirty". Unfortunately I still have not found one.

Greetings from Bonn,
Shony

Hi Shony,

sorry, but there is no such node to do that. But you can use the JavaSnippet node and use your own Java code to do that. Here are some code examples: http://stackoverflow.com/questions/3911966/how-to-convert-number-to-words-in-java

Or, even better, implement your own node and contribute it to the community :-) http://tech.knime.org/developer-guide

Cheers, Kilian

Hi Kilian,

thanks for the reply. pity that there is no easy solution for it;)
Maybe I'm really a node. someday ...;)