[liblouis-liblouisxml] Re: Using liblouis within an Android app.

  • From: Dave Mielke <dave@xxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Wed, 6 Jan 2016 13:45:58 -0500

[quoted lines by Bert Frees on 2016/01/06 at 16:42 +0100]

void EXPORT_CALL lou_indexTables(const char ** tables);
/* Parses, analyzes and indexes tables. This function must be called prior to
* lou_findTable(). An error message is given when a table contains invalid or
* duplicate metadata fields.
*/

What should be passed to tables, here? An array of *.ctb?

What happens if this function is called twice? Will it clear the first
indexing, add to it, or what? If it adds, will it detect a duplicate table?

Note that none of the tables have any metadata in them yet. The only thing
stopping us from doing that is that nobody really knows what that metadata
should be because most people that are active on this list are not table
authors/maintainers.

I've made an attempt to take initiative by making an initial mapping from
locales to table files and asked everybody involved to make improvements, but
got no response.

That's probably to be expected because no one wants to be brave enough to
establish the foundation.

Maybe, in order to get things moving, I should just put the metadata from my
own
application in the tables, maybe incorporate what Greg has gathered, and maybe
add notes saying the data has not been verified by the table author yet, and
then let people complete and correct things if they want.

Yes. Then not just authors, but also users, will start to offer corrections.
One of the pieces of meta-data should be whether or not the meta-data is deemed
to be accurate.

--
Dave Mielke | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario | http://Mielke.cc/bible/
EMail: Dave@xxxxxxxxx | Canada K2A 1H7 | http://FamilyRadio.org/
For a description of the software, to download it and links to
project pages go to http://liblouis.org

Other related posts: