grab language in perl
use nlp template
fix tests