Dave Horner's Website - Yet another perspective on things...
Home Tech Talk Random Tech Language - natural language processing NLP and other utterances.
134 guests
Rough Hits : 3029066
moon and stars
how did u find my site?





 
our entire universe; minuscule spec in gigantic multiverse which is mostly lethal.



 
Everything should be made as simple as possible, but not simpler.
--Albert Einstein
1=0.999...

Language - natural language processing NLP and other utterances.

Monday, 21 April 2014 13:03
I thought I had an NLP Natural Language Processing page. I don't, there's details about it on other pages. But it is time for a separate page.

NLP

Markov chain || discrete-time Markov chain || DTMC

mathematical system that undergoes transitions from one state to another on a state space. It is a random process usually characterized as memoryless: the next state depends only on the current state and not on the sequence of events that preceded it. This specific kind of "memorylessness" is called the Markov property. Markov chain - Wikipedia, the free encyclopedia
King James Programming - Posts generated by a Markov chain trained on the King James Bible and Structure and Interpretation of Computer Programs


Spaced repetition - Wikipedia aka Flashcards.

Sentiment analysis

TextBlob stands on the giant shoulders of NLTK and pattern, and plays nicely with both.

sloria/TextBlob - pip install -U textblob ; Simple, Pythonic, text processing--Sentiment analysis, part-of-speech tagging, noun phrase extraction, translation, and more.
TextBlob: Simplified Text Processing — TextBlob documentation
Written text can be broadly categorized into two types: facts and opinions. Opinions carry people's sentiments, appraisals and feelings toward the world. The pattern.en module bundles a lexicon of adjectives (e.g., good, bad, amazing, irritating, ...) that occur frequently in product reviews, annotated with scores for sentiment polarity (positive ? negative) and subjectivity (objective ? subjective). 

The sentiment() function returns a (polarity, subjectivity)-tuple for the given sentence, based on the adjectives it contains, where polarity is a value between -1.0 and +1.0 and subjectivity between 0.0 and 1.0. The sentence can be a string, Text, Sentence, Chunk, Word or a Synset (see below). 

The positive() function returns True if the given sentence's polarity is above the threshold. The threshold can be lowered or raised, but overall +0.1 gives the best results for product reviews. Accuracy is about 75% for movie reviews.

sguignot/textblob-api-server TextBlob + flask + ajax = Live sentiment analysis while you're typing! all delivered in a docker container. TextBlob API Demo

Learning Chinese

Chinese flashcards: kablamo/iijo.org Perl, Catalyst, and SQLite.
Chinese zombie flashcards on GitHub (Catalyst & Perl) - KABLAMO - creator Eric Johnson's blog post on iijo.org.


Is code language or math? || whats a coding brain look like?

a thinking brain I suppose.
This Is Your Brain On Code, According To Functional MRI Imaging Co.Labs code + community Understanding Understanding Source Code with Functional Magnetic Resonance Imaging (PDF)


(our internal representation of ideas)||language shapes our brains

Linguistic relativity || Sapir–Whorf hypothesis - Wikipedia
The crayola-fication of the world: How we gave colors names, and it messed with our brains (part I) | Science Blogs | WIRED
The crayola-fication of the world: How we gave colors names, and it messed with our brains (part II) | Science Blogs | WIRED


Poetry and the Subconscious | Timothy Green


Lincos and other things to talk to aliens

Lincos (artificial language) - Wikipedia, the free encyclopedia
The Story of Lincos, the Math-Based Language Created to Communicate With Extraterrestrials - The Atlantic
made up of phonemes, not letters, and governed by phonetics, not spelling. The speech is itself made up of unmodulated radio waves of varying length and duration, encoded with a hodgepodge of symbols borrowed from mathematics, science, symbolic logic, and Latin. In their various combinations, these waves can be used to communicate anything from basic mathematical equations to explanations for abstract concepts like death and love.
Lincos: Language for contacting extraterrestrials
About CosmicOS

< Prev  Next >
Last Updated on Friday, 08 April 2016 12:17