added arabic option to feature extractor