-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.ini
41 lines (38 loc) · 1.16 KB
/
config.ini
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
32
33
34
35
36
37
38
39
40
41
[DB]
; the number of days to keep headlines
window = 21
max_headlines = 9990
[NEWS]
; url = name of DOM class that identifies a headline
www.cnn.com = cd__headline-text
www.cnn.com/us = cd__headline-text
www.cnn.com/world = cd__headline-text
www.cnn.com/opinions = cd__headline-text
www.cnn.com/health = cd__headline-text
www.cnn.com/entertainment = cd__headline-text
www.cnn.com/style = cd__headline-text
www.cnn.com/travel = cd__headline-text
www.cnn.com/videos = cd__headline-text
www.money.cnn.com = homepage-stack-hed-container
www.theonion.com = headline
www.theonion.com/section/local = headline
www.onionstudios.com/channels/the-onion = truncate
www.clickhole.com = headline
www.starwipe.com = headline
www.bleacherreport.com = title
www.bbc.com = media__link
www.bbc.com/news = title-link__title-text
www.bbc.com/sports = lakeside__title-text
www.npr.org = title
www.nytimes.com = story-heading
www.nytimes.com/us = headline
www.nytimes.com/nyregion = headline
www.buzzfeed.com/news = slab
[CHARACTER_MODELS]
; model name = level,relative probabilistic weight
news_model = 5,4
ch6 = 6,1
[WORD_MODELS]
; model name = level,relative probabilistic weight
word_model = 5,2
w3 = 3,1