NLTK's Punkt tokenizer runs a trained ML model for sentence boundaries — smart but slow. A compiled regex pair in .NET gives equivalent quality 8× faster on 100 MB of plain text.