From cd611fc89535357b227dbc21727534c6275a27f0 Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Sun, 19 Jun 2022 17:04:40 +1000 Subject: Add code/file for adding manually-picked alt-names --- backend/data/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'backend/data/README.md') diff --git a/backend/data/README.md b/backend/data/README.md index 18e5da3..d4a6196 100644 --- a/backend/data/README.md +++ b/backend/data/README.md @@ -58,6 +58,8 @@ File Generation Process 6 Other - Optionally run genEnwikiNameData.py, which adds more entries to the 'names' table, using data in enwiki/enwikiData.db, and the 'names' and 'wiki_ids' tables. + - Optionally run addPickedNames.py, which adds manually-picked names to + the 'names' table, as specified in pickedNames.txt. - Optionally run trimTree.py, which tries to remove some 'low-significance' nodes, for the sake of performance and result-relevance. Without this, jumping to certain nodes within the fungi and moths can take over a minute to render. @@ -72,7 +74,7 @@ data.db Tables - descs: wiki\_id INT PRIMARY KEY, desc TEXT, from\_dbp INT - node\_imgs: name TEXT PRIMARY KEY, img\_id INT, src TEXT - images: id INT, src TEXT, url TEXT, license TEXT, artist TEXT, credit TEXT, PRIMARY KEY (id, src) -- linked\_imgs: name TEXT PRIMARY KEY, otol\_id TEXT, otol\_id2 TEXT +- linked\_imgs: name TEXT PRIMARY KEY, otol\_ids TEXT - r\_nodes: name TEXT PRIMARY KEY, tips INT - r\_edges: node TEXT, child TEXT, p\_support INT, PRIMARY KEY (node, child) -- cgit v1.2.3