Implementation of most commonly used NPL algorithms.