background preloader

TextBlob: Simplified Text Processing — TextBlob 0.5.0 documentation

TextBlob: Simplified Text Processing — TextBlob 0.5.0 documentation
Release v0.8.4. (Changelog) TextBlob is a Python (2 and 3) library for processing textual data. It provides a simple API for diving into common natural language processing (NLP) tasks such as part-of-speech tagging, noun phrase extraction, sentiment analysis, classification, translation, and more. TextBlob stands on the giant shoulders of NLTK and pattern, and plays nicely with both. Features Noun phrase extractionPart-of-speech taggingSentiment analysisClassification (Naive Bayes, Decision Tree)Language translation and detection powered by Google TranslateTokenization (splitting text into words and sentences)Word and phrase frequenciesParsingn-gramsWord inflection (pluralization and singularization) and lemmatizationSpelling correctionJSON serializationAdd new models or languages through extensionsWordNet integration Get it now $ pip install -U textblob $ python -m textblob.download_corpora Ready to dive in?

How to Add Color with Photo Filters in Photoshop CS6 Photographers will appreciate the Photo Filter command in Photoshop CS6 and its ability to add color, which is reminiscent of the analog method of placing a colored filter in front of a camera lens to tweak the color balance and color temperature of the light coming through the lens. This is a great way to make an image appear cooler or warmer. To apply the Photo Filter adjustment, follow these steps: Open your image and choose Image→Adjustments→Photo Filter to apply the filter to the entire image.If you want to apply the filter to one or more layers, choose Layer→New Adjustment Layer→Photo Filter. Make sure you have the Preview option selected so you can view the results. In the Photo Filter dialog box, select the Filter radio button to choose a preset filter from the Filter pop-up menu or select the Color radio button to select a custom color for your filter.If you opt for the custom color, click the swatch to select a color from the Color Picker.

NLTK fearofcode/bateman Fuck Off As A Service (FOAAS) pyquery pyquery allows you to make jquery queries on xml documents. The API is as much as possible the similar to jquery. pyquery uses lxml for fast xml and html manipulation. This is not (or at least not yet) a library to produce or interact with javascript code. I just liked the jquery API and I missed it in python so I told myself “Hey let’s make jquery in python”. It can be used for many purposes, one idea that I might try in the future is to use it for templating with pure http templates that you modify using pyquery. The project is being actively developped on a git repository on Github. Please report bugs on the github issue tracker. You can use the PyQuery class to load an xml document from a string, a lxml document, from a file or from an url: Now d is like the $ in jquery: >>> d("#hello")[<p#hello.hello>]>>> p = d("#hello")>>> print(p.html())Hello world ! >>> d('p:first')[<p#hello.hello>] First there is the Sphinx documentation here.

OverAPI.com | Collecting all the cheat sheets Remesh - Replacing Polls and Surveys with Conversation Astropython pygame GStreamer pymc

Related: