Skip to content
Ken Hung edited this page Mar 5, 2022 · 2 revisions

Structure

There are four main components in the system: Frontend, Backend and Data.

Backend

The backend is the core of the search engine, it is a Python Flask application, serving some REST endpoints. It uses the word vectors from the data to compute similarity between keywords and verses in the scripture. Search results are available in JSON format.

Data

The data are mainly in PyTables format, acting like an on-disk database. There are two main components:

  1. ConceptNet Numberbatch (Chinese portion)
  2. Scripture text

Frontend

The frontend consists a few simple pages mainly developed in Vue.js, and it can be pre-rendered to improve performance.

Clone this wiki locally