UMLS-Core: Sub-Term Patterns
| word | synonym |
|---|---|
| dog | canine |
| cat | feline |
| canine | K9 |
| K9 | bull dog |
| Dog and cat | pets |
| puppy and kitty | pets |
| Terms |
|---|
| dog |
| canine |
| cat |
| feline |
| k9 |
| bull dog |
| dog and cat |
| pets |
| puppy and kitty |
| InWord Index | 0 | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|---|
| InWord | who | let | dog | and | cat | out |
| SubTerm Index | Sub Term | Start Index | End Index |
|---|---|---|---|
| 0 | dog | 2 | 3 |
| 1 | dog and cat | 2 | 5 |
| 2 | cat | 4 | 5 |
I. One substitution:
| Pattern 1-1 |
|---|
| word|start pos|end pos|sub-term flag |
| who|0|1|false |
| let|1|2|false |
| dog|2|3|true |
| and|3|4|false |
| cat|4|5|false |
| out|5|6|false |
| Pattern 1-2 |
|---|
| word|start pos|end pos|sub-term flag |
| who|0|1|false |
| let|1|2|false |
| dog|2|3|false |
| and|3|4|false |
| cat|4|5|true |
| out|5|6|false |
| Pattern 1-3 |
|---|
| word|start pos|end pos|sub-term flag |
| who|0|1|false |
| let|1|2|false |
| dog and cat|2|5|true |
| out|5|6|false |
II. Two substitutions
| Pattern 1-1 |
|---|
| word|start pos|end pos|sub-term flag |
| who|0|1|false |
| let|1|2|false |
| dog|2|3|true |
| and|3|4|false |
| cat|4|5|true |
| out|5|6|false |
I. One substitution:
| Pattern 1-1 |
|---|
| word|synonyms |
| who| |
| let| |
| dog|canine|k9|bull dog| |
| and| |
| cat| |
| out| |
| Pattern 1-2 |
|---|
| word|synonyms |
| who| |
| let| |
| dog| |
| and| |
| cat|feline| |
| out| |
| Pattern 1-3 |
|---|
| word|synonyms |
| who| |
| let| |
| dog and cat|pets|puppy and kitty| |
| out| |
II. Two substitutions
| Pattern 1-1 |
|---|
| word|synonyms |
| who| |
| let| |
| dog|canine|k9|bull dog| |
| and| |
| cat|feline| |
| out| |
Skipped