The Use of Natural Language Processing and Machine Learning for Early Diagnosis of Lung and Ovarian Cancer