Skip to content

blcuicall/litmind-dictionary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is LitMind Dictionary?

LitMind Dictionary(https://dictionary.litmind.ink) is an open-source online generative dictionary that takes a word and context containing the word as input and automatically generates a definition as output.

Our System

Workflow

The overall workflow of LitMind Dictionary

Definition Generation Model

The definition generation model (DGM) shown in the figure below is the core component of LitMind Dictionary. It is used to automatically generate the definition of a given word. The whole model is a transformer based encoder-decoder model, where the encoder is initialized with BERT.

How to Run This Code?

Web

LitMind Dictionary's web interface is developed based on the VUE framework. You may install npm package management tool first, and run the following commands to run our web interface locally.

cd web
# init the project and install modules
npm install

# local run
npm run dev

Server

Requirements

  • tornado
  • requests
  • sqlalchemy
  • captcha
  • numpy

How to run the code

After installing the dependency packages, you can run the code using the command:

cd server
python app.py

About

An open-source online generative dictionary

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published