Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Looking at the code, the issue is that both `findWeaselWords` and `getContext` construct a list of words but do it differently:

  const words = text.toLowerCase().split(/\b/)
vs

  const words = text.split(/\s+/)


I pasted these two comments into Claude and had it update the tool: https://gist.github.com/simonw/dc79f6adcdb189469890bc0a44331...

New version is now live at https://tools.simonwillison.net/writing-style




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: