Parallelized grammar extraction.