Litcius/Paper detail

Bag-of-Words Technique in Natural Language Processing: A Primer for Radiologists

Krishna Juluru, Hao-Hsin Shih, Krishna Nand Keshava Murthy, Pierre Elnajjar

2021Radiographics53 citationsDOIOpen Access PDF

Abstract

Natural language processing (NLP) is a methodology designed to extract concepts and meaning from human-generated unstructured (free-form) text. It is intended to be implemented by using computer algorithms so that it can be run on a corpus of documents quickly and reliably. To enable machine learning (ML) techniques in NLP, free-form text must be converted to a numerical representation. After several stages of preprocessing including tokenization, removal of stop words, token normalization, and creation of a master dictionary, the bag-of-words (BOW) technique can be used to represent each remaining word as a feature of the document. The preprocessing steps simplify the documents but also potentially degrade meaning. The values of the features in BOW can be modified by using techniques such as term count, term frequency, and term frequency–inverse document frequency. Experience and experimentation will guide decisions on which specific techniques will optimize ML performance. These and other NLP techniques are being applied in radiology. Radiologists’ understanding of the strengths and limitations of these techniques will help in communication with data scientists and in implementation for specific tasks. Online supplemental material is available for this article. ©RSNA, 2021

Topics & Concepts

Natural language processingLexical analysisStop wordsComputer scienceArtificial intelligenceBag-of-words modelPreprocessorSecurity tokenNormalization (sociology)tf–idfTerm (time)Feature (linguistics)Automatic indexingInformation retrievalSearch engine indexingLinguisticsSociologyPhilosophyAnthropologyPhysicsQuantum mechanicsComputer securityTopic ModelingNatural Language Processing TechniquesBiomedical Text Mining and Ontologies