forked from rickosborne/ngram-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
31 lines (31 loc) · 849 Bytes
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"maxTrainLines": 10000000,
"maxTestLines": 1,
"inputFile": "data/en_US/en_US.blogs.txt",
"logFile": "log.txt",
"storageType": "mongo",
"dictionarySqliteFile": "jdbc:sqlite:words-dict.sqlite",
"bigramSqliteFile": "jdbc:sqlite:words-bi.sqlite",
"trigramSqliteFile": "jdbc:sqlite:words-tri.sqlite",
"jdbcUrl": "jdbc:mysql://127.0.0.1:3306/words?user=root",
"redisHost": "localhost",
"redisPort": 6379,
"ngramWeight": 300,
"ngramMaxWords": 7,
"learnWords": false,
"predictors": {
"ngram": {
"weight": 300,
"maxWords": 10,
"storage": "mongo",
"collection": "ngram"
}
},
"wordSpace": {
"type": "static",
"storage": "mongo",
"collection": "wordSpace",
"dictionaryFile": "data/dictionary.txt",
"stopWordsFile": "data/stop-words/stop-words_english_4_google_en.txt"
}
}