-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathlda.yml
48 lines (45 loc) · 1.28 KB
/
lda.yml
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
42
43
44
45
46
47
48
cleaning_config:
cleaner:
flags:
correct_misspelling: True
exclude_entity_types: True
expand_acronyms: True
filter_stopwords: True
filter_language: True
fix_fragmented_tokens: True
include_pos_tags: True
tag_whitelisted_entities: True
params:
entities:
- CARDINAL
- TIME
- PERCENT
- MONEY
fragmented_token_max_len: 5
languages:
- {lang: en, score: 0.90}
max_token_length: 50
min_token_length: 3
pos_tags:
- ADJ
- ADV
- NOUN
# - VERB
spell_checker:
lang: en_US
text: null
tokenize: null
chunkers: null
filters: null
respeller:
dictionary_file: null
spell_threshold: 0.25
allow_proper: False # Don't include proper names in suggestions
spell_cache: null
infer_correct_words:
return_tokens_as_list: True
infer_correct_word_params:
sim_thresh: 0.0
print_log: False
min_len: 3
use_suggest_score: True