How did natural language processing develop?
IBM describes NLP as combining computational linguistics with machine learning algorithms and deep learning [1]. The first systems ran on hand-written if-then rules, an approach that was limited and did not scale [1]. Statistical methods followed, assigning likelihoods to word meanings, and gave us early tools such as spellcheckers and T9 texting [1]. Deep learning is the dominant approach today, and IBM singles out Google's Transformer-based BERT model as one of its landmarks [1].
What tasks does natural language processing cover?
IBM's list includes machine translation, sentiment analysis that tells whether a text is positive, negative or neutral, speech recognition that converts voice to text, named entity recognition and part-of-speech tagging [1]. Google Cloud's Natural Language API packages several of these as a service: sentiment analysis, entity analysis, syntactic analysis and content classification [2].
The API documentation shows what that looks like in practice. Entity analysis tags "Lawrence of Arabia" as a film and "T. E. Lawrence" as a person [2]. Sentiment analysis of the Gettysburg Address returns a document score of 0.2 and a magnitude of 3.6, which the guide reads as slightly positive with a fair amount of emotion [2]. Syntactic analysis splits text into sentences and tokens and tags each token with its part of speech [2].