5 ms·
Years ago, after I noticed that most adverbs are redundant, I began to write an ebook processor that would strip the adverbs out of ebooks before I read them to
by RunSet 3y ago
Years ago, after I noticed that most adverbs are redundant, I began to write an ebook processor that would strip the adverbs out of ebooks before I read them to save time.
It turned out to require rather more semantic parsing than I expected. Maybe its worth revisiting with the advent of large language models.
- jonplackett 3y agoYeah a bit of LLM help would have saved me sooooooo much time. I had to create a bunch of very convoluted rules based on whether the preceding and following two words were verbs, nouns, adverbs, end of a sentence etc and with those I could be sure I was right about 95% of the time. Eg before a noun it’s always his or her. But some really do require a little intelligence beyond grammar rules. Eg for ‘It is definitely his’ Both swaps make sense grammatically: ‘It is definitely hers’ or ‘It is definitely her’ You’d need to understand the context to get it right.