Bookworm-project / BookwormDB

Tools for text tokenization and encoding
MIT License
84 stars 12 forks source link

API should return info about Bookworm (grams, etc.) #88

Open bmschmidt opened 8 years ago

bmschmidt commented 8 years ago

The API should have a table in the database it can access that stores a number of key-value store items that the front-end might need.

Currently, it just does "return_possible_fields".

Some of those might be:

1) The maximum length of n-grams indexed by the database 2) The name of the bookworm 3) The name for an individual text in the bookworm (a book? a text? a paragraph? etc). 4) Any descriptive information about the bookworm as a whole, maybe in short (slug-length) and long (paragraph-length) forms.

What else?

bmschmidt commented 8 years ago

5) Default queries for each geometry (most importantly, linechart) 6) Whether there's an associated topic model (Could be gleaned from return_possible_fields, so not necessary?) 7) Whether there's an associated set of geographic metadata (Could be gleaned from return_possible_fields, so not necessary?)