<?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>Chaoticity &#187; Visualization</title>
	<atom:link href="http://chaoticity.com/tag/visualization/feed/" rel="self" type="application/rss+xml" />
	<link>http://chaoticity.com</link>
	<description>a state of things in which chance is supreme</description>
	<lastBuildDate>Mon, 23 Jan 2012 20:05:54 +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>DependenSee: A Dependency Parse Visualisation/Visualization Tool</title>
		<link>http://chaoticity.com/dependensee-a-dependency-parse-visualisation-tool/</link>
		<comments>http://chaoticity.com/dependensee-a-dependency-parse-visualisation-tool/#comments</comments>
		<pubDate>Sat, 28 Aug 2010 18:36:21 +0000</pubDate>
		<dc:creator>awais</dc:creator>
				<category><![CDATA[Language]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Dependency]]></category>
		<category><![CDATA[Graph]]></category>
		<category><![CDATA[Parser]]></category>
		<category><![CDATA[Stanford]]></category>
		<category><![CDATA[Tree]]></category>
		<category><![CDATA[Typed]]></category>
		<category><![CDATA[Visualisation]]></category>
		<category><![CDATA[Visualization]]></category>

		<guid isPermaLink="false">http://chaoticity.com/dependensee-a-dependency-parse-visualisation-tool/</guid>
		<description><![CDATA[&#160; There aren’t many tools which allow you to visualise sentences parsed with dependency grammars. Here’s a small tool which generates a PNG of the dependency graph of a given sentence using the Stanford Parser. You can generate the image for Einey’s quote below by following these steps. Click here to download DependenSee.jar. Download the [...]]]></description>
			<content:encoded><![CDATA[<div style="height:33px;" class="really_simple_share"><div style="width:100px;" class="really_simple_share_facebook_like"> 
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fchaoticity.com%2Fdependensee-a-dependency-parse-visualisation-tool%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;colorscheme=light&amp;send=false&amp;height=27" 
					scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:27px;" allowTransparency="true"></iframe>
			</div><div style="width:110px;" class="really_simple_share_twitter"> 
				<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
					data-text="DependenSee: A Dependency Parse Visualisation/Visualization Tool" data-url="http://chaoticity.com/dependensee-a-dependency-parse-visualisation-tool/"></a> 
			</div></div>
		<div style="clear:both;"></div><p>&nbsp;</p>
<p>There aren’t many tools which allow you to visualise sentences parsed with <a href="http://en.wikipedia.org/wiki/Dependency_grammar" target="_blank">dependency grammars</a>. Here’s a small tool which generates a PNG of the dependency graph of a given sentence using the <a href="http://nlp.stanford.edu/software/lex-parser.shtml" target="_blank">Stanford Parser</a>. You can generate the image for Einey’s quote below by following these steps.</p>
<p><a href="http://chaoticity.com/images/out.png"><img style="display: inline; border: 0px;" title="out" src="http://chaoticity.com/images/out_thumb.png" border="0" alt="out" width="596" height="212" /></a></p>
<ol>
<li>Click here to download <code><a href="http://chaoticity.com/software/DependenSee.jar" target="_blank">DependenSee.jar</a></code>.</li>
<li>Download the <a href="http://nlp.stanford.edu/software/lex-parser.shtml#Download" target="_blank">latest version of the Stanford Parser</a>.  I am using version 1.6.9. (For 1.6.7, use <code><a href="http://chaoticity.com/software/DependenSee.1.6.7.jar" target="_blank">DependenSee.1.6.7.jar</a></code> and for versions &lt;1.6.6, use <code><a href="http://chaoticity.com/software/DependenSeeOld.jar" target="_blank">DependenSeeOld.jar</a></code> everywhere. )</li>
<li>Extract <code>stanford-parser.jar</code> and <code>englishPCFG.ser.gz</code> in the same folder as <code>DependenSee.jar</code>.</li>
<li>On the command prompt, run <code>java -cp DependenSee.jar;stanford-parser.jar com.chaoticity.dependensee.Main "Example isn't another way to teach, it is the only way to teach." out.png</code> (If you are on *nix, replace the semicolon by a colon and make sure you have Arial installed. If you have an already parsed dependency output file, replace the sentence by <code>-t input.txt</code> .)</li>
<li>Open <code>out.png</code> and admire :)</li>
</ol>
<p>I have added Part-of-Speech tags and very basic edge overlap management and might add more eye candy later (curved/coloured edges ?). You can link the library in your code as well. An example is given below. Comments and queries are welcome.</p>
<p><code><br />
import edu.stanford.nlp.trees.*;<br />
import edu.stanford.nlp.parser.lexparser.*;<br />
import com.chaoticity.dependensee.*;<br />
import java.util.Collection;<br />
class Test {<br />
public static void main(String []args) throws Exception {<br />
String text = "A quick brown fox jumped over the lazy dog.";<br />
TreebankLanguagePack tlp = new PennTreebankLanguagePack();<br />
GrammaticalStructureFactory gsf = tlp.grammaticalStructureFactory();<br />
LexicalizedParser lp = new LexicalizedParser("englishPCFG.ser.gz");<br />
lp.setOptionFlags(new String[]{"-maxLength", "500", "-retainTmpSubcategories"});<br />
Tree tree = lp.apply(text);<br />
GrammaticalStructure gs = gsf.newGrammaticalStructure(tree);<br />
Collection tdl = gs.typedDependenciesCCprocessed(true);<br />
Main.writeImage(tree,tdl, "image.png",3);<br />
}<br />
}<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://chaoticity.com/dependensee-a-dependency-parse-visualisation-tool/feed/</wfw:commentRss>
		<slash:comments>73</slash:comments>
		</item>
		<item>
		<title>Visualizing Citation Networks</title>
		<link>http://chaoticity.com/visualizing-citation-networks/</link>
		<comments>http://chaoticity.com/visualizing-citation-networks/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 04:59:07 +0000</pubDate>
		<dc:creator>awais</dc:creator>
				<category><![CDATA[Art]]></category>
		<category><![CDATA[chaos]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[ACL]]></category>
		<category><![CDATA[Anthology]]></category>
		<category><![CDATA[Citation]]></category>
		<category><![CDATA[GraphViz]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Visualization]]></category>

		<guid isPermaLink="false">http://chaoticity.com/visualizing-citation-networks/</guid>
		<description><![CDATA[For techies: I’ve been working on citation networks lately. You can visualize such a network as a graph. In this graph, the nodes represent publications (papers,articles etc) and the edges represent citations between them. The graph above was produced using the GraphViz. The data is from the ACL Anthology Network which contains publications from the [...]]]></description>
			<content:encoded><![CDATA[<div style="height:33px;" class="really_simple_share"><div style="width:100px;" class="really_simple_share_facebook_like"> 
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fchaoticity.com%2Fvisualizing-citation-networks%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;colorscheme=light&amp;send=false&amp;height=27" 
					scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:27px;" allowTransparency="true"></iframe>
			</div><div style="width:110px;" class="really_simple_share_twitter"> 
				<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
					data-text="Visualizing Citation Networks" data-url="http://chaoticity.com/visualizing-citation-networks/"></a> 
			</div></div>
		<div style="clear:both;"></div><p><a href="http://chaoticity.com/images/aclnet.jpg"><img title="aclnet" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="500" alt="aclnet" src="http://chaoticity.com/images/aclnet_thumb.jpg" width="545" border="0" /></a> </p>
<p><strong>For techies: </strong>I’ve been working on citation networks lately. You can visualize such a network as a graph. In this graph, the nodes represent publications (papers,articles etc) and the edges represent citations between them. The graph above was produced using the <a href="http://www.graphviz.org/" target="_blank">GraphViz</a>. The data is from the <a href="http://clair.si.umich.edu/clair/anthology/" target="_blank">ACL Anthology Network</a> which contains publications from the publicly available <a href="http://aclweb.org/" target="_blank">ACL Anthology</a>. </p>
<p><strong>For non-techies: </strong>Oooooo! pretty picture!</p>
]]></content:encoded>
			<wfw:commentRss>http://chaoticity.com/visualizing-citation-networks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

