This release includes a major update to prose, Vale's underlying NLP library, that brings significant performance improvements across the board.
Changelog
- 4e6335d spell: use strings.Cut for the continuation split
- bf76e1e spell: follow affix continuation classes
- 37b242a docs: update README link
- f439d0f perf: pre-compile Tengo
- 5ea9564 perf: stop repeating work in the per-block hot path
- a165f8d fix: match sequence patterns against whole tokens
- be96fa9 feat: add
matchCasefor alert reporting - e55d29c perf: index line starts instead of counting newlines per alert
- fd183ac perf: slice matches out by offset instead of converting to runes
- 3a29bc0 perf: place alerts by offset instead of searching for their text
- 9bd0cf9 feat: match universal POS tags in sequence
- ab05648 fix: locate sequence matches by position, not by searching
- 6e87b3e chore: drop our regexp2 fork
- f7d2f10 chore: move NLP to the new prose/v3 library