|
a |
|
b/etc/example-mednlp.conf |
|
|
1 |
# example configuration for the medical NLP application |
|
|
2 |
|
|
|
3 |
|
|
|
4 |
# import externals |
|
|
5 |
[import] |
|
|
6 |
sections = imp_env, imp_uts |
|
|
7 |
|
|
|
8 |
[imp_env] |
|
|
9 |
type = environment |
|
|
10 |
section_name = env |
|
|
11 |
includes = set: MEDNLP_CRED |
|
|
12 |
|
|
|
13 |
[imp_uts] |
|
|
14 |
type = json |
|
|
15 |
default_section = uts |
|
|
16 |
config_file = ${env:mednlp_cred}/uts.json |
|
|
17 |
|
|
|
18 |
|
|
|
19 |
# UTS (UMLS access); see example/uts/uts.conf |
|
|
20 |
[uts] |
|
|
21 |
cache_file = ${appenv:root_dir}/target/uts-request.dat |
|
|
22 |
#api_key = <add key here or import from external source> |
|
|
23 |
|
|
|
24 |
|
|
|
25 |
## MedCAT customization |
|
|
26 |
# [medcat_resource] |
|
|
27 |
|
|
|
28 |
|
|
|
29 |
## package customization |
|
|
30 |
|
|
|
31 |
# uncomment to customize filtering |
|
|
32 |
# [mednlp_filter_token_mapper] |
|
|
33 |
# class_name = zensols.nlp.FilterTokenMapper |
|
|
34 |
# remove_space = True |
|
|
35 |
|
|
|
36 |
# uncomment to customize document parsing |
|
|
37 |
#[mednlp_doc_parser] |
|
|
38 |
#token_feature_ids = set: norm cui_ pref_name_ |
|
|
39 |
# uncomment to include descriptions in token features |
|
|
40 |
#include_definition = True |