Quantcast
Channel: CodeSection,代码区,Python开发技术文章_教程 - CodeSec
Viewing all articles
Browse latest Browse all 9596

The pattern python module - part 001.

$
0
0

This is a very short presentation of pattern python module.

This python module is full of options and features.

I will try to show you some parts useful for most python users.

About pattern python module:

Pattern is a web mining module for the Python programming language.

It has tools for data mining (Google, Twitter and Wikipedia API, a web crawler, a HTML DOM parser), natural language processing (part-of-speech taggers, n-gram search, sentiment analysis, WordNet), machine learning (vector space model, clustering, SVM), network analysis and visualization.

Pattern developer documentation

Module Functionality pattern.web Asynchronous requests, web services, web crawler, HTML DOM parser. pattern.db Wrappers for databases (mysql, SQLite) and CSV-files. pattern.text Base classes for parsers, parse trees and sentiment analysis. pattern.search Pattern matching algorithm for parsed text (syntax & semantics). pattern.vector Vector space model, clustering, classification. pattern.graph Graph analysis & visualization.

I used with Fedora linux and you can see the instalation of this python module:

[root@localhost ~]# pip install pattern Collecting pattern Downloading pattern-2.6.zip (24.6MB) 100% |%

Viewing all articles
Browse latest Browse all 9596

Trending Articles