<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Part of Speech Tagging with NLTK Part 1 &#8211; Ngram Taggers</title>
	<atom:link href="http://streamhacker.com/2008/11/03/part-of-speech-tagging-with-nltk-part-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://streamhacker.com/2008/11/03/part-of-speech-tagging-with-nltk-part-1/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
	<description>Weotta be Hacking</description>
	<lastBuildDate>Thu, 19 Apr 2012 12:53:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
	<atom:link rel="hub" href="http://superfeedr.com/hubbub" />
		<item>
		<title>By: VasilisG</title>
		<link>http://streamhacker.com/2008/11/03/part-of-speech-tagging-with-nltk-part-1/comment-page-1/#comment-949</link>
		<dc:creator>VasilisG</dc:creator>
		<pubDate>Sun, 08 Apr 2012 19:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://streamhacker.wordpress.com/?p=3#comment-949</guid>
		<description>Hi Jacob, when I try to create the ubt I receive the following error:
 
Traceback (most recent call last):
  File &quot;&quot;, line 1, in 
    ubt_tagger = backoff_tagger(train_sents, [nltk.tag.UnigramTagger, nltk.tag.BigramTagger, nltk.tag.TrigramTagger])
  File &quot;&quot;, line 3, in backoff_tagger
    backoff = tagger_classes[0](tagged_sents)
  File &quot;/usr/local/lib/python2.6/dist-packages/nltk/tag/sequential.py&quot;, line 317, in __init__
    backoff, cutoff, verbose)
  File &quot;/usr/local/lib/python2.6/dist-packages/nltk/tag/sequential.py&quot;, line 274, in __init__
    self._train(train, cutoff, verbose)
  File &quot;/usr/local/lib/python2.6/dist-packages/nltk/tag/sequential.py&quot;, line 177, in _train
    tokens, tags = zip(*sentence)
ValueError: need more than 1 value to unpack

Is it because some change in NLTK&#039;s API?

Thanks,
Vasilis</description>
		<content:encoded><![CDATA[<p>Hi Jacob, when I try to create the ubt I receive the following error:<br />
 <br />
Traceback (most recent call last):<br />
  File &#8220;&#8221;, line 1, in<br />
    ubt_tagger = backoff_tagger(train_sents, [nltk.tag.UnigramTagger, nltk.tag.BigramTagger, nltk.tag.TrigramTagger])<br />
  File &#8220;&#8221;, line 3, in backoff_tagger<br />
    backoff = tagger_classes[0](tagged_sents)<br />
  File &#8220;/usr/local/lib/python2.6/dist-packages/nltk/tag/sequential.py&#8221;, line 317, in __init__<br />
    backoff, cutoff, verbose)<br />
  File &#8220;/usr/local/lib/python2.6/dist-packages/nltk/tag/sequential.py&#8221;, line 274, in __init__<br />
    self._train(train, cutoff, verbose)<br />
  File &#8220;/usr/local/lib/python2.6/dist-packages/nltk/tag/sequential.py&#8221;, line 177, in _train<br />
    tokens, tags = zip(*sentence)<br />
ValueError: need more than 1 value to unpack</p>
<p>Is it because some change in NLTK&#8217;s API?</p>
<p>Thanks,<br />
Vasilis</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xiejuncs</title>
		<link>http://streamhacker.com/2008/11/03/part-of-speech-tagging-with-nltk-part-1/comment-page-1/#comment-783</link>
		<dc:creator>Xiejuncs</dc:creator>
		<pubDate>Wed, 12 Jan 2011 06:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://streamhacker.wordpress.com/?p=3#comment-783</guid>
		<description>I also have the same question on which algorithm pos_tag method employ.  Thank you very much...</description>
		<content:encoded><![CDATA[<p>I also have the same question on which algorithm pos_tag method employ.  Thank you very much&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob Perkins</title>
		<link>http://streamhacker.com/2008/11/03/part-of-speech-tagging-with-nltk-part-1/comment-page-1/#comment-777</link>
		<dc:creator>Jacob Perkins</dc:creator>
		<pubDate>Thu, 06 Jan 2011 16:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://streamhacker.wordpress.com/?p=3#comment-777</guid>
		<description>Thanks Martin.

nltk.pos_tag uses a ClassifierBasedTagger trained on treebank. Presumably it uses at least the same features as ClassifierBasedPOSTagger, but when I tested my own ClassifierBasedPOSTagger against nltk.pos_tag, nltk.pos_tag was a bit more accurate on treebank.</description>
		<content:encoded><![CDATA[<p>Thanks Martin.</p>
<p>nltk.pos_tag uses a ClassifierBasedTagger trained on treebank. Presumably it uses at least the same features as ClassifierBasedPOSTagger, but when I tested my own ClassifierBasedPOSTagger against nltk.pos_tag, nltk.pos_tag was a bit more accurate on treebank.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: M D Sykora</title>
		<link>http://streamhacker.com/2008/11/03/part-of-speech-tagging-with-nltk-part-1/comment-page-1/#comment-776</link>
		<dc:creator>M D Sykora</dc:creator>
		<pubDate>Thu, 06 Jan 2011 16:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://streamhacker.wordpress.com/?p=3#comment-776</guid>
		<description>Excellent post, on tagging and the entire blog, I love it, since it&#039;s a good read and you write on interesting topics. 

One question thought, what method/algorithm does the nltk.pos_tag(..) use in the background. I&#039;ve used this NLTK out of the box :

text = nltk.word_tokenize(&quot;Some normal and common English language text, that needs to be part of speech tagged.&quot;)

nltk.pos_tag(text)

Thanks,
Martin</description>
		<content:encoded><![CDATA[<p>Excellent post, on tagging and the entire blog, I love it, since it&#8217;s a good read and you write on interesting topics. </p>
<p>One question thought, what method/algorithm does the nltk.pos_tag(..) use in the background. I&#8217;ve used this NLTK out of the box :</p>
<p>text = nltk.word_tokenize(&#8220;Some normal and common English language text, that needs to be part of speech tagged.&#8221;)</p>
<p>nltk.pos_tag(text)</p>
<p>Thanks,<br />
Martin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Learning to do natural language processing with NLTK &#124; JetLlib Journal</title>
		<link>http://streamhacker.com/2008/11/03/part-of-speech-tagging-with-nltk-part-1/comment-page-1/#comment-538</link>
		<dc:creator>Learning to do natural language processing with NLTK &#124; JetLlib Journal</dc:creator>
		<pubDate>Sat, 03 Apr 2010 20:11:48 +0000</pubDate>
		<guid isPermaLink="false">http://streamhacker.wordpress.com/?p=3#comment-538</guid>
		<description>[...] of Speech Tagging with NLTK – Part 1, Part 2, Part [...]</description>
		<content:encoded><![CDATA[<p>[...] of Speech Tagging with NLTK – Part 1, Part 2, Part [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob</title>
		<link>http://streamhacker.com/2008/11/03/part-of-speech-tagging-with-nltk-part-1/comment-page-1/#comment-91</link>
		<dc:creator>Jacob</dc:creator>
		<pubDate>Thu, 08 Oct 2009 02:47:48 +0000</pubDate>
		<guid isPermaLink="false">http://streamhacker.wordpress.com/?p=3#comment-91</guid>
		<description>Moses: The wordpress plugin is SyntaxHighlighter Evolved http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/</description>
		<content:encoded><![CDATA[<p>Moses: The wordpress plugin is SyntaxHighlighter Evolved <a href="http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/" rel="nofollow">http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moses</title>
		<link>http://streamhacker.com/2008/11/03/part-of-speech-tagging-with-nltk-part-1/comment-page-1/#comment-90</link>
		<dc:creator>Moses</dc:creator>
		<pubDate>Thu, 08 Oct 2009 02:07:38 +0000</pubDate>
		<guid isPermaLink="false">http://streamhacker.wordpress.com/?p=3#comment-90</guid>
		<description>Would you mind telling me what editor you were using for the codes above? it&#039;s pretty cool</description>
		<content:encoded><![CDATA[<p>Would you mind telling me what editor you were using for the codes above? it&#8217;s pretty cool</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Lee</title>
		<link>http://streamhacker.com/2008/11/03/part-of-speech-tagging-with-nltk-part-1/comment-page-1/#comment-5</link>
		<dc:creator>Andrew Lee</dc:creator>
		<pubDate>Wed, 25 Mar 2009 18:23:59 +0000</pubDate>
		<guid isPermaLink="false">http://streamhacker.wordpress.com/?p=3#comment-5</guid>
		<description>Thank you!</description>
		<content:encoded><![CDATA[<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob</title>
		<link>http://streamhacker.com/2008/11/03/part-of-speech-tagging-with-nltk-part-1/comment-page-1/#comment-4</link>
		<dc:creator>Jacob</dc:creator>
		<pubDate>Wed, 25 Mar 2009 14:04:56 +0000</pubDate>
		<guid isPermaLink="false">http://streamhacker.wordpress.com/?p=3#comment-4</guid>
		<description>The NLTK corpus API has changed since I wrote this. Try with categories=[&#039;reviews&#039;]</description>
		<content:encoded><![CDATA[<p>The NLTK corpus API has changed since I wrote this. Try with categories=['reviews']</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Lee</title>
		<link>http://streamhacker.com/2008/11/03/part-of-speech-tagging-with-nltk-part-1/comment-page-1/#comment-3</link>
		<dc:creator>Andrew Lee</dc:creator>
		<pubDate>Wed, 25 Mar 2009 08:38:31 +0000</pubDate>
		<guid isPermaLink="false">http://streamhacker.wordpress.com/?p=3#comment-3</guid>
		<description>for nltk version 0.9.9b1  the call to taged_sents in

nltk.corpus.brown.tagged_sents(categories=&quot;c&quot;)

Throws the error:

Traceback (most recent call last):
  File &quot;&quot;, line 2, in ?
  File &quot;/usr/lib/python2.4/site-packages/nltk/corpus/reader/tagged.py&quot;, line 211, in tagged_sents
    return TaggedCorpusReader.tagged_sents(
  File &quot;/usr/lib/python2.4/site-packages/nltk/corpus/reader/tagged.py&quot;, line 148, in tagged_sents
    tag_mapping_function)
  File &quot;/usr/lib/python2.4/site-packages/nltk/corpus/reader/util.py&quot;, line 409, in concat
    raise ValueError(&#039;concat() expects at least one object!&#039;)
ValueError: concat() expects at least one object!</description>
		<content:encoded><![CDATA[<p>for nltk version 0.9.9b1  the call to taged_sents in</p>
<p>nltk.corpus.brown.tagged_sents(categories=&#8221;c&#8221;)</p>
<p>Throws the error:</p>
<p>Traceback (most recent call last):<br />
  File &#8220;&#8221;, line 2, in ?<br />
  File &#8220;/usr/lib/python2.4/site-packages/nltk/corpus/reader/tagged.py&#8221;, line 211, in tagged_sents<br />
    return TaggedCorpusReader.tagged_sents(<br />
  File &#8220;/usr/lib/python2.4/site-packages/nltk/corpus/reader/tagged.py&#8221;, line 148, in tagged_sents<br />
    tag_mapping_function)<br />
  File &#8220;/usr/lib/python2.4/site-packages/nltk/corpus/reader/util.py&#8221;, line 409, in concat<br />
    raise ValueError(&#8216;concat() expects at least one object!&#8217;)<br />
ValueError: concat() expects at least one object!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

