Skip to content

Kunhao18/chinese-couplets-generation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chinese Couplets Generation System

1 Directory Structure

  • couplet_models: trained model parameters
  • client system: client (Qt GUI)
  • models.py: definition of the model
  • util_funcs.py: utility functions (e.g. data loader)
  • run-gen.py demo for generation of couplets
  • run-score.py demo for couplets scoring
  • run-server.py server launcher

2 User Guide

2.1 Couplet Generation

run the run-gen.py

2.2 Couplet Scoring

run the run-score.py

2.3 Couplet Server

Since the client is dynamically compiled in Qt, you need to configure the dynamic link library according to the error message

run the run-server.py to launch the server, then input “server start”

run the nlp.exe to start the client after server launching

About

Chinese couplets generation system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published