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
Table discovery through metadata #41
Conversation
Initial design proposal (EDIT: can now be found here) Some more thinking needs to be put in it, for example the "language" field should have more weight than the "country" field. One solution is to give fields that are defined first more weight. |
see issue #41
Instead of a comma separated list of directories, lou_indexTables now accepts an array of table names which are resolved to files. If lou_indexTables has not been called before lou_findTable, LOUIS_TABLEPATH will be indexed instead of simply failing.
I will merge this basic implementation in the hope people will start using it and I will get more feedback that way. |
We should announce this as beta because the API is subject to change (maybe add a comment in liblouis.h as well?) |
good idea |
Rebased and merged. Will keep this issue open for a while though. |
This is a start: https://github.com/liblouis/liblouis/wiki/Table-discovery-based-on-table-metadata#standard-metadata-tags. |
In todo:Including metadata in table headers (EDIT: can now be found here) I propose a table header format that can contain metadata about the table, for two use cases:
This issue addresses the first use case only.
To do:
Related: