<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>A World About to Change... &#187; hacking</title>
	<atom:link href="http://www.vinaysethmohta.com/blog/category/hacking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vinaysethmohta.com/blog</link>
	<description></description>
	<lastBuildDate>Mon, 14 Nov 2011 17:15:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Hacking natural language processing (NLP) components</title>
		<link>http://www.vinaysethmohta.com/blog/2007/09/26/hacking-natural-language-processing-nlp-components/</link>
		<comments>http://www.vinaysethmohta.com/blog/2007/09/26/hacking-natural-language-processing-nlp-components/#comments</comments>
		<pubDate>Wed, 26 Sep 2007 14:40:20 +0000</pubDate>
		<dc:creator>vinaysethmohta</dc:creator>
				<category><![CDATA[GATE]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[NLP]]></category>

		<guid isPermaLink="false">http://www.vinaysethmohta.com/blog/?p=6</guid>
		<description><![CDATA[I have been diving deeper into NLP-related code than I have before. I have been using GATE as a platform for doing experiments. I chose GATE as opposed to some of the other platforms out there (e.g. UIMA, RapidMiner) since it is fairly actively developed, has a good set of built-in modules, and has a [...]]]></description>
			<content:encoded><![CDATA[<p>I have been diving deeper into <a title="NLP" href="http://en.wikipedia.org/wiki/Natural_language_processing">NLP</a>-related code than I have before.  I have been using <a title="GATE" href="http://gate.ac.uk/">GATE</a> as a platform for doing experiments.  I chose GATE as opposed to some of the other platforms out there (e.g. <a title="UIMA" href="http://incubator.apache.org/uima/">UIMA</a>, <a title="RapidMiner" href="http://rapid-i.com/content/blogcategory/10/69/lang,en/">RapidMiner</a>) since it is fairly actively developed, has a good set of built-in modules, and has a clean / simple API and plug-in architecture.  The latter has meant that plug-in wrappers for many of the other NLP packages already exist.</p>
<p>I built a couple of simple annotators that are useful building blocks for traditional heuristics used for NLP on some classes of documents. For example, with news stories, the first paragraph or two is more important than following text in the document and the first sentence or two of a paragraph is more important than the following text in the paragraph.  The first annotator assigns sentence and paragraph indexes to each sentence (relative to the paragraph and the document) or paragraph (relative to the document).  One could, for example, use these indexes in a downstream annotator to assign higher scores to entities or noun phrases that occur earlier in the text.  None of this is rocket science and has been explored in the academic literature with many more complicated variations.<br />
The second annotator annotates each document with frequency tables for noun and verb phrases.  Again a simple heuristic like taking the top N noun phrases or entities in a document gets you quite a ways along to interesting topic data.  I ended up modifying the noun phrase chunker and the verb phrase chunkers in the process as well.  All in all, these small projects have been a good quick introduction to the guts of GATE.</p>
<p>My next project is to wrap some other NLP packages in the GATE plugin API, so that I can try out some other chunkers and POS taggers.</p>
<p>A plug for the book <a title="Foundations of Statistical NLP" href="http://nlp.stanford.edu/fsnlp/">Foundations of Statistical NLP</a>: it&#8217;s a great text for anyone starting out. Written in 1999, it&#8217;s still quite useful and relevant and covers most of the techniques in use now.  Highly recommended.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vinaysethmohta.com/blog/2007/09/26/hacking-natural-language-processing-nlp-components/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

