ported wordseq part of featur extractor to new string library