|
a |
|
b/example/features/features.conf |
|
|
1 |
## application context configuration imported by example app |
|
|
2 |
## see https://plandes.github.io/util/doc/config.html#application-context |
|
|
3 |
[import] |
|
|
4 |
# refer to sections for which we need substitution in this file |
|
|
5 |
sections = list: imp_conf |
|
|
6 |
|
|
|
7 |
# import the Zensols NLP UTS resource library |
|
|
8 |
[imp_conf] |
|
|
9 |
type = importini |
|
|
10 |
config_files = list: |
|
|
11 |
resource(zensols.util): resources/default.conf, |
|
|
12 |
resource(zensols.nlp): resources/obj.conf, |
|
|
13 |
resource(zensols.nlp): resources/mapper.conf, |
|
|
14 |
resource(zensols.mednlp): resources/default.conf, |
|
|
15 |
resource(zensols.mednlp): resources/lang.conf, |
|
|
16 |
resource(zensols.mednlp): resources/install.conf |
|
|
17 |
|
|
|
18 |
# use the biomedical NER |
|
|
19 |
[mednlp_biomed_doc_parser] |
|
|
20 |
model_name = en_ner_bionlp13cg_md |
|
|
21 |
|
|
|
22 |
# indicate what class to use as the application (methods are action) |
|
|
23 |
[app] |
|
|
24 |
class_name = ${program:name}.Application |
|
|
25 |
#doc_parser = instance: ${mednlp_default:doc_parser} |
|
|
26 |
doc_parser = instance: mednlp_combine_biomed_medcat_doc_parser |