A proof of concept to use the Chain Of Responsibility pattern for text processing