added single character recognition to textparser