clulab / processors

Natural Language Processors
https://clulab.github.io/processors/
417 stars 101 forks source link

Use Fastparse 2 for parsing Odin rules #293

Open myedibleenso opened 5 years ago

myedibleenso commented 5 years ago

Fastparse 2 is an enormous speedup (orders of magnitude faster) over Scala parser combinators (see benchmarks: http://www.lihaoyi.com/fastparse/#Performance).

Setting aside document annotation (tokenization -> parsing), making the switch to fp2 should help accelerate grammar development.

marcovzla commented 5 years ago

+1 But it will be risky. I think we should add more tests first.