aboutsummaryrefslogtreecommitdiff
path: root/backend/data/README.md
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-05-10 19:52:47 +1000
committerTerry Truong <terry06890@gmail.com>2022-05-11 11:44:14 +1000
commit6c61612564b9a30f747207c43729c3e7e8cbf0d3 (patch)
tree3f0f3b4cc35162e73542942ef30da3f1a0bf6276 /backend/data/README.md
parent3d895370a608d4f51726b74e2560dcf5f4ec43a8 (diff)
Use prefix-search with ranking-by-length
Diffstat (limited to 'backend/data/README.md')
-rw-r--r--backend/data/README.md19
1 files changed, 0 insertions, 19 deletions
diff --git a/backend/data/README.md b/backend/data/README.md
index 9f0ea82..27619de 100644
--- a/backend/data/README.md
+++ b/backend/data/README.md
@@ -9,8 +9,6 @@ File Generation Process
1 Obtain data in eol/, as specified in it's README.
2 Run genEolNameData.py, which adds 'names' and 'eol\_ids' tables to data.db,
using data in eol/vernacularNames.csv and the 'nodes' table.
- 3 Run genSpellfixNameData.py, which adds a 'spellfix\_alt\_names'
- table to data.db, using data in the 'names' table.
3 Image Data
1 Use downloadImgsForReview.py to download EOL images into imgsForReview/.
It uses data in eol/imagesList.db, and the 'eol\_ids' table.
@@ -31,24 +29,7 @@ data.db tables
name TEXT, alt\_name TEXT, pref\_alt INT, PRIMARY KEY(name, alt\_name)
- eol\_ids <br>
id INT PRIMARY KEY, name TEXT
-- spellfix\_alt\_names
- images <br>
eol\_id INT PRIMARY KEY, source\_url TEXT, license TEXT, copyright\_owner TEXT
- descs <br>
name TEXT PRIMARY KEY, desc TEXT, redirected INT
-
-spellfix.so
-===========
-
-This file provides the spellfix1 extension for Sqlite, and
-is used for responding to fuzzy-search requests.
-
-It was obtained by:
-1 Downloading the sqlite source tree from
- the github mirror at <https://github.com/sqlite/sqlite>,
- into a directory sqlite/
-2 After making sure autoconf 2.61+ and libtool are installed,
- running `mkdir bld; cd bld; ../sqlite/configure;`
-3 Running `make`
-4 Running `cp ../sqlite/ext/misc/spellfix.c .`
-5 Running `gcc -fPIC -shared spellfix.c -o spellfix.so`