Skip to content
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.

Compile routine names as phrases #1845

Open
ianb opened this issue Jul 24, 2020 · 0 comments
Open

Compile routine names as phrases #1845

ianb opened this issue Jul 24, 2020 · 0 comments
Assignees

Comments

@ianb
Copy link
Contributor

ianb commented Jul 24, 2020

Right now we handle routine names very literally. You have to say pretty much the exact name. There's no aliases (which are mostly meant to fix common transcription errors), no stopwords, no repeated words, and no slots.

So I'd propose we compile routines into phrase matchers. We could really just use the compiler we have now, and then if someone wants to be fancy (using groups and alternates) they can. But more importantly, I'd like to compile all stopwords into (stopword |). That is, stopwords are optional, though allowed (and favored for scoring).

This also opens up manually inserting a slot, and using that as a substitution.

@Simpcyclassy Simpcyclassy self-assigned this Jul 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants