File:Noun phrase chunking with NLTK.svg

Summary

Description
English: Noun phrase chunking with NLTK. Created with the following Python code (see http://nltk.googlecode.com/svn/trunk/doc/book/ch07.html):
import nltk
sentence = nltk.tag.pos_tag('The quick brown fox jumped over the lazy dog'.split())
grammar = "NP: {<DT>?<JJ>*<NN>}"
cp = nltk.RegexpParser(grammar)
result = cp.parse(sentence)
result.draw()
Date
Source Own work
Author InverseHypercube

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Category:CC-Zero#Noun%20phrase%20chunking%20with%20NLTK.svg
Category:Self-published work Category:Syntax trees in English Category:Images with Python source code
Category:CC-Zero Category:Images with Python source code Category:Self-published work Category:Syntax trees in English