I've built myself a little corpus that I'm using for language-learning.
However, I'm reaching the limits of standard command-line tool-chain: grep and friends.
For example, I might look for sentences where a word is used as an adverb, maybe together with a particular type of verb. If you want to do this 'correctly' you end up wanting to parse to sentence and categorise words in the sentences by their grammatical function. But queries like "this word is not first" are often good enough to rapidly find relevant use cases.
**Are there any good tools for this sort of querying?* Even just a a general tool to cleanly parse and separate sentences would be useful.
I quite like command-line tools because they increase the chance that the tool is composable and that it is easy to both install and set-up. This is particularly important in niche fields where tools can be immature and installation is not made easy. However, if there is some magic framework that is guaranteed to work and solve all my problems then that is good as well.