The fast dictionary lookup annotator identifies terms in text and normalizes them to codes in an ontology: UMLS CUI, Snomed-CT, RxNorm, etc. The fast dictionary lookup module comes with multiple possible pre-packaged configurations and is also customizable and extendable.
-fast/desc/analysis_engine/UmlsLookupAnnotator.xml
resources/.../dictionary/lookup/fast/sno_rx_16ab.xml
(The file name might be different if you created your own custom dictionary)Because the lookup is fast, using a full Sentence for lookup doesn't seem to hurt much. However, you can always switch it back to see if precision is increased enough to warrant the decrease in recall. This is changed in UmlsLookupAnnotator.xml
.