Skip to content

SoheilJahangiri/FAQ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FAQ system based on Jhazm and Apache Lucene.

this application is a production example of using Jhazm library (Java hazm) and lucene library to create a smart FAQ with search and create capabilities for Persian language but you can add your language model file into resources and support different languages.
to be able to use this application you need do the following:
  1.include Jhazm library into POM by installing Jhazm library into your own maven repository.
    1.1.Download Jhazm from "https://github.com/mojtaba-khallash/JHazm"
    1.2.mvn install:install-file -Dfile="C:\Jhazm.jar" -DgroupId=jhazm -DartifactId=jhazm -Dversion=1.2 -Dpackaging=JAR
  2.database with these tables (based on H2 but you can choose any other db as long as you change the db info in FAQDao.class):
    2.1.INDEXTABLE (ID Identity PrimaryKey, INDEXWORD varchar(50))
    2.2.QUESTION (ID Identity PrimaryKey, TEXT CLOB, SCORE INT, SUBJECTID UUID)
    2.3.SOLUTION (ID Identity PrimaryKey, SUBJECTID UUID, TEXT CLOB, SCORE int, SID UUID)
    2.4.WORD_ANSWER_MAP (ID Identity PrimaryKey, INDEXID int, ANSWERID UUID, SCORE)

About

FAQ system based on Jhazm and lucene

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published