README.md 781 字节
Newer Older
T
Tom Qian 已提交
1
# NewsRecommendSystem
T
Tom Qian 已提交
2
A recommend system involved **collaborative filtering**,**content-based recommendation** and **hot news recommendation**, can be adapted easily to be put into use in other circumstances.
T
Tom Qian 已提交
3

T
Tom Qian 已提交
4 5 6
***Lib: [Ansj](https://github.com/NLPchina/ansj_seg), [Quartz](http://www.quartz-scheduler.org/), [Mahout](http://mahout.apache.org/)***

# Instructions for quickly being into use (Two Steps)
T
Tom Qian 已提交
7

T
Tom Qian 已提交
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
## Construct Required Database(Only for MySQL now)
Just Run the code below in MySQL command line.
    
    Drop TABLE comments;
    CREATE TABLE comments
    (
    id VARCHAR(20) PRIMARY KEY,
    content VARCHAR(0),
    date TIMESTAMP null,
    tagId VARCHAR(20),
    appendContent VARCHAR(0),
    appendDate TIMESTAMP null,
    gid VARCHAR(20)
    )
## Set Runtime Properties
T
Tom Qian 已提交
23