Information Technology Reference
In-Depth Information
is utilized. The constraints are signified as expected values of “features,” any
real-valued function of an example.
It is noteworthy of highlighting that there is no conditional independence assump-
tion between features, as the Naïve Bayes classifier does. Importantly, it makes no
conditional independence assumption between features, as the Naïve Bayes classi-
fier does.
2.3 Implementation
2.3.1 Technologies Used
2.3.1.1 Python
Python can be described as a programming language, which allows one to work fast
and integrate the user systems efficiently. The gains in productivity and decrease in
maintenance costs can be observed in the short-run once starting to use Python.
Sanner [ 27 ] defines python as “an interpreted, interactive, object-oriented pro-
gramming language
[which] provides high-level data structures such as list and
associative arrays (called dictionaries), dynamic typing and dynamic binding, mod-
ules, classes, exceptions, automatic memory management, etc.” He adds that despite
having a quite simple yet elegant syntax, it is a powerful programming purpose for
general purpose. The language was developed in 1990 by Guido van Rossum. It is
free as in the case of other scripting languages, including for commercial purposes.
Another vital feature of the language is that it can be used in any modern computer.
Sanner also declared that an important resource for Python, apart from the avail-
able topics, is the Python website. 5 The website generates access to code, documen-
tation, articles, mailing lists, and packages.
The system described in this chapter mainly uses Python for collecting the tweets
via Twitter API, making preprocesses on collected tweets, and writing, reading data-
base.
...
2.3.1.2 Natural Language Toolkit
Natural Language Toolkit (NLTK) is one of the best ways for studying natural lan-
guage processing using Python. It is an open source toolkit and can be run on all
platforms, which are supported by Python such as Linux, Windows, and Unix.
What NLTK means is clarified in detail on the website of the NLTK. 6 It is stated
that NLTK is a platform inwhich Python programs are developed toworkwith human
5 http://www.python.org/ .
6 http://www.nltk.org/ .
Search WWH ::




Custom Search