Text Parser

- added DIGIT to Regular Expression of term
- added dedicated rspec to test text parsing
- fixed action handling
- fixed getting of classe with regards to dashes