Skip to content

ssunoo/Law-Advise-FAQ-Robot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro

This is a simple tf-idf algorithm to retrieve the paragraph which is most likely to your query

Law-Advise-FAQ-Robot

dataset/: Put in the dataset which you want to search.

src/preprocessing.py: Run once to generate embedding of dataset. You need to change three path variable datasetPath, chineseDict, outPath if you use your own dataset and dict.

src/faq.py: FAQ example. You need to change three path variable dictPath, datasetPath, embeddingPath if you use your own dataset and dict. embeddingPath is the path to the file which preprocessing.py generate.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages