Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API-fn to query available languages per pipeline "type" #7

Open
unhammer opened this issue Mar 22, 2018 · 0 comments
Open

API-fn to query available languages per pipeline "type" #7

unhammer opened this issue Mar 22, 2018 · 0 comments

Comments

@unhammer
Copy link
Member

unhammer commented Mar 22, 2018

Users might want to ask not just "what are all the checker pipelines installed", but "what languages have the punctuation pipelines" or "what languages have plain analysis pipelines".

Currently, the dtd gives a type on the pipeline element: https://github.com/divvun/libdivvun/blob/master/src/pipespec.dtd#L42 but it's free-form and we don't actually use it yet.

But with a free-form attribute, pipespec writers might put in type="Punctutaion" or type="Grammar Checker" which ≠ type="Grammar checker"type="Grammar checking" etc. Not very queryable. OTOH, it might be nice to have some freedom sometimes – we don't want to constrain pipespec writers from inventing completely new things (type="phplint" using only CG? type="Cheek-movement-to-text"?).

Maybe we could let type be a closed set, and then the type Other requires an attribute for the freeform field like other-type="Blockchain parser"

@snomos snomos changed the title API-fn to query available available languages per pipeline "type" API-fn to query available languages per pipeline "type" Oct 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant