dictation-toolbox / natlink

Natlink provides the interface between Dragon and python
Other
25 stars 17 forks source link

Advertising Natlink packages or grammars #150

Open dougransom opened 1 year ago

dougransom commented 1 year ago

I have been thinking that natlink packages could optionally:

using importlib.metadata, the config program could find them with

eps.select(group='natlink_extensions')

The user could fire up the config program, select the ones they want enabled, and they would be enumerated in natlink.ini in directories.

Candidates would be:

For unimacro in particular this has an advantage that the end-user doesn't have to go rename .txt files to python files.

This change would be entirely backward compatible and optional. So if you don't want natlink config to be able to add/remove your grammar with the user interface, you would not advertise the entry point.