[ Weiter ] [ Seitenende ] [ Überkapitel ]
NLTK (Natural Language Toolkit)
Installationsanleitungen für Win, Mac, Linux
Bird et. al (2009): Natural Language Processing in Python
Language processing task | NLTK modules | Functionality |
Accessing corpora | nltk.corpus | standardized interfaces to corpora and lexicons |
String processing | nltk.tokenize, nltk.stem | tokenizers, sentence tokenizers, stemmers |
Collocation discovery | nltk.collocations | t-test, chi-squared, point-wise mutual information |
Part-of-speech tagging | nltk.tag | n-gram, backoff, Brill, HMM, TnT |
Classification | nltk.classify, nltk.cluster | decision tree, maximum entropy, naive Bayes, EM, k-means |
Chunking | nltk.chunk | regular expression, n-gram, named-entity |
Parsing | nltk.parse | chart, feature-based, unification, probabilistic, dependency |
Semantic interpretation | nltk.sem, nltk.inference | lambda calculus, first-order logic, model checking |
Evaluation metrics | nltk.metrics | precision, recall, agreement coefficients |
Probability and estimation | nltk.probability | frequency distributions, smoothed probability distributions |
Applications | nltk.app, nltk.chat | graphical concordancer, parsers, WordNet browser, chatbots |
Linguistic fieldwork | nltk.toolbox | manipulate data in SIL Toolbox format |
Module importieren
Anweisung: import Module → 12
Alle Objekte und Funktionen aus Modulen importieren
Anweisung: from Module import * → 13
[ Weiter ] [ Seitenbeginn ] [ Überkapitel ]