🚀 Feature: Use `Intl.Segmenter` when available
status: in discussiontype: feature
### Bug Report Checklist
- [x] I have tried restarting my IDE and the issue persists.
- [x] I have pulled the latest `main` branch of the repository.
- [x] I have [searched for related issues](https://github.com/JoshuaKGoldberg/sentences-per-line/issues?q=is%3Aissue) and found none that matched my issue.
### Overview
```ts
const segmenter = new Intl.Segmenter(undefined, { granularity: 'sentence' })
```
### Additional Info
_No response_
2 条评论