{'fraction_non_alphanumeric': 0.00964630225080386, 'fraction_numerical': 0.00482315112540193, 'mean_word_length': 5.292929292929293, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Using Enriched Samples for Semi-Automated Vocabulary Expansion to Identify Rare Events in Clinical Text: Sexual Orientation as a Use Case

We demonstrate the utility of concept lexicon expansion and evaluation using enriched samples of patients and documents with sexual orientation as a use case for rare event detection in electronic medical records. Using this approach, we found 7 additional words and 21 misspellings beyond our initial set of five seed words. We can use the expanded vocabulary to further develop a full natural language processing system to identify instances where sexual orientation is documented.