first implementation of AlphabetChainLexer