-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding structure for multi language support
- Loading branch information
Showing
2 changed files
with
120 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
""" | ||
Default termsets for various languages | ||
""" | ||
|
||
LANGUAGES = dict() | ||
|
||
#english termset dictionary | ||
en = dict() | ||
en['psuedo_negations'] = [ | ||
"gram negative", | ||
"no further", | ||
"not able to be", | ||
"not certain if", | ||
"not certain whether", | ||
"not necessarily", | ||
"not rule out", | ||
"not ruled out", | ||
"not been ruled out", | ||
"without any further", | ||
"without difficulty", | ||
"without further", | ||
] | ||
en['preceeding_negations'] = [ | ||
"absence of", | ||
"declined", | ||
"denied", | ||
"denies", | ||
"denying", | ||
"did not exhibit", | ||
"no sign of", | ||
"no signs of", | ||
"not", | ||
"not demonstrate", | ||
"patient was not", | ||
"rules out", | ||
"doubt", | ||
"negative for", | ||
"no", | ||
"no cause of", | ||
"no complaints of", | ||
"no evidence of", | ||
"versus", | ||
"without", | ||
"without indication of", | ||
"without sign of", | ||
"without signs of", | ||
"ruled out", | ||
] | ||
en['following_negations'] = [ | ||
"declined", | ||
"unlikely", | ||
"was ruled out", | ||
"were ruled out", | ||
"was not", | ||
"were not", | ||
] | ||
en['termination'] = [ | ||
"although", | ||
"apart from", | ||
"as there are", | ||
"aside from", | ||
"but", | ||
"cause for", | ||
"cause of", | ||
"causes for", | ||
"causes of", | ||
"etiology for", | ||
"etiology of", | ||
"except", | ||
"however", | ||
"involving", | ||
"nevertheless", | ||
"origin for", | ||
"origin of", | ||
"origins for", | ||
"origins of", | ||
"other possibilities of", | ||
"reason for", | ||
"reason of", | ||
"reasons for", | ||
"reasons of", | ||
"secondary to", | ||
"source for", | ||
"source of", | ||
"sources for", | ||
"sources of", | ||
"still", | ||
"though", | ||
"trigger event for", | ||
"which", | ||
"yet", | ||
] | ||
LANGUAGES['en'] = en |