spencermountain/compromise ? reverse-engineered prompt
Reverse engineered prompt
Build me a lightweight JavaScript natural language processing library that can run in the browser and in Node, for turning plain text into something I can query and edit.
I want it to understand basic things like verbs, nouns, numbers, contractions, and simple named entities, so I can ask questions like does this text contain a pattern, grab matching phrases, or change a sentence from present to past tense or singular to plural. It should also let me get structured data back from text in a simple format, and work well enough for common everyday text without being overly fancy.
Please include a few clear examples and a small demo page I can open locally to try it out. If you need current docs or implementation details, look them up online and keep the API pleasant and easy to use.
Are you gonna build this?
make sure you review the code using coderabbit