<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.aclweb.org/aclwiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Srush</id>
	<title>ACL Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.aclweb.org/aclwiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Srush"/>
	<link rel="alternate" type="text/html" href="https://www.aclweb.org/aclwiki/Special:Contributions/Srush"/>
	<updated>2026-07-04T01:32:54Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://www.aclweb.org/aclwiki/index.php?title=Hypergraph_Format&amp;diff=8372</id>
		<title>Hypergraph Format</title>
		<link rel="alternate" type="text/html" href="https://www.aclweb.org/aclwiki/index.php?title=Hypergraph_Format&amp;diff=8372"/>
		<updated>2010-11-07T01:49:42Z</updated>

		<summary type="html">&lt;p&gt;Srush: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== JSON ==&lt;br /&gt;
&lt;br /&gt;
[http://www.json.org/ JSON Description]&lt;br /&gt;
&lt;br /&gt;
Pro:&lt;br /&gt;
* Implementations in every language (often packaged with language).&lt;br /&gt;
* Human readable&lt;br /&gt;
* Already used in CDec for forest output&lt;br /&gt;
&lt;br /&gt;
Con: &lt;br /&gt;
* Space inefficiency&lt;br /&gt;
&lt;br /&gt;
== Protocol Buffers ==&lt;br /&gt;
&lt;br /&gt;
[http://code.google.com/p/protobuf/ Protocol Buffer Description]&lt;br /&gt;
&lt;br /&gt;
[http://github.com/srush/hypergraph Implementation Sketch]&lt;br /&gt;
&lt;br /&gt;
Pro:&lt;br /&gt;
* Conversion to and from JSON ([http://code.google.com/p/protobuf-json/ protobuf-json])&lt;br /&gt;
* Very fast to read (particularly in C++ and Java, hopefully soon in python)&lt;br /&gt;
* Very space efficient&lt;br /&gt;
* Implementations in every language (although requires a separate library)&lt;br /&gt;
* Automatically generates typed stubs &lt;br /&gt;
&lt;br /&gt;
Con:&lt;br /&gt;
* &amp;quot;It&#039;s really easy to get up to some of the data size&lt;br /&gt;
limits that are in place to prevent malicious data from having the PB&lt;br /&gt;
parser allocate too much memory&amp;quot; &lt;br /&gt;
* &amp;quot;You typically have to create a full hypergraph protocol buffer object before you can serialize it, so you either have to use the PB data structures internally in your code or you have to copy your data structure. While doing this copy, you can end up with two copies of the forest in memory, which is bad for memory usage.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Variation of SLF (Standard Lattice Format) ==&lt;br /&gt;
&lt;br /&gt;
[http://labrosa.ee.columbia.edu/doc/HTKBook21/node257.html SLF Specification]&lt;br /&gt;
&lt;br /&gt;
Pro: &lt;br /&gt;
* Blindingly fast. &lt;br /&gt;
* Could be implemented to work lazy/streaming.&lt;br /&gt;
&lt;br /&gt;
Con: &lt;br /&gt;
* Requires a custom format&lt;br /&gt;
* Probably need specialized language bindings.&lt;br /&gt;
&lt;br /&gt;
== Tiburon Format ==&lt;br /&gt;
&lt;br /&gt;
[http://www.isi.edu/licensed-sw/tiburon/ Tiburon Specification]&lt;/div&gt;</summary>
		<author><name>Srush</name></author>
	</entry>
	<entry>
		<id>https://www.aclweb.org/aclwiki/index.php?title=Hypergraph_Format&amp;diff=8371</id>
		<title>Hypergraph Format</title>
		<link rel="alternate" type="text/html" href="https://www.aclweb.org/aclwiki/index.php?title=Hypergraph_Format&amp;diff=8371"/>
		<updated>2010-11-07T01:43:52Z</updated>

		<summary type="html">&lt;p&gt;Srush: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== JSON ==&lt;br /&gt;
&lt;br /&gt;
[http://www.json.org/ JSON Description]&lt;br /&gt;
&lt;br /&gt;
Pro:&lt;br /&gt;
* Implementations in every language (often packaged with language).&lt;br /&gt;
* Human readable&lt;br /&gt;
&lt;br /&gt;
Con: &lt;br /&gt;
* Space inefficiency&lt;br /&gt;
&lt;br /&gt;
== Protocol Buffers ==&lt;br /&gt;
&lt;br /&gt;
[http://code.google.com/p/protobuf/ Protocol Buffer Description]&lt;br /&gt;
&lt;br /&gt;
[http://github.com/srush/hypergraph Implementation Sketch]&lt;br /&gt;
&lt;br /&gt;
Pro:&lt;br /&gt;
* Conversion to and from JSON ([http://code.google.com/p/protobuf-json/ protobuf-json])&lt;br /&gt;
* Very fast to read (particularly in C++ and Java, hopefully soon in python)&lt;br /&gt;
* Very space efficient&lt;br /&gt;
* Implementations in every language (although requires a separate library)&lt;br /&gt;
&lt;br /&gt;
Con:&lt;br /&gt;
* &amp;quot;It&#039;s really easy to get up to some of the data size&lt;br /&gt;
limits that are in place to prevent malicious data from having the PB&lt;br /&gt;
parser allocate too much memory&amp;quot; &lt;br /&gt;
* &amp;quot;You typically have to create a full hypergraph protocol buffer object before you can serialize it, so you either have to use the PB data structures internally in your code or you have to copy your data structure. While doing this copy, you can end up with two copies of the forest in memory, which is bad for memory usage.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== SLF (Standard Lattice Format) ==&lt;br /&gt;
&lt;br /&gt;
[http://labrosa.ee.columbia.edu/doc/HTKBook21/node257.html SLF Specification]&lt;/div&gt;</summary>
		<author><name>Srush</name></author>
	</entry>
	<entry>
		<id>https://www.aclweb.org/aclwiki/index.php?title=Hypergraph_Format&amp;diff=8370</id>
		<title>Hypergraph Format</title>
		<link rel="alternate" type="text/html" href="https://www.aclweb.org/aclwiki/index.php?title=Hypergraph_Format&amp;diff=8370"/>
		<updated>2010-11-07T01:43:20Z</updated>

		<summary type="html">&lt;p&gt;Srush: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== JSON ==&lt;br /&gt;
&lt;br /&gt;
[http://www.json.org/ JSON Description]&lt;br /&gt;
&lt;br /&gt;
Pro:&lt;br /&gt;
* Implementations in every language (often packaged with language).&lt;br /&gt;
* Human readable&lt;br /&gt;
&lt;br /&gt;
Con: &lt;br /&gt;
* Space inefficiency&lt;br /&gt;
&lt;br /&gt;
== Protocol Buffers ==&lt;br /&gt;
&lt;br /&gt;
[http://code.google.com/p/protobuf/ Protocol Buffer Description]&lt;br /&gt;
&lt;br /&gt;
[http://github.com/srush/hypergraph Implementation Sketch]&lt;br /&gt;
&lt;br /&gt;
Pro:&lt;br /&gt;
* Conversion to and from JSON ([http://code.google.com/p/protobuf-json/ protobuf-json])&lt;br /&gt;
* Very fast to read (particularly in C++ and Java, hopefully soon in python)&lt;br /&gt;
* Very space efficient&lt;br /&gt;
* Implementations in every language (although requires a separate library)&lt;br /&gt;
&lt;br /&gt;
Con:&lt;br /&gt;
* &amp;quot;It&#039;s really easy to get up to some of the data size&lt;br /&gt;
limits that are in place to prevent malicious data from having the PB&lt;br /&gt;
parser allocate too much memory&amp;quot; &lt;br /&gt;
* &amp;quot;You typically have to create a full hypergraph protocol buffer object before you can serialize it, so you either have to use the PB data structures&lt;br /&gt;
internally in your code or you have to copy your data structure. While&lt;br /&gt;
doing this copy, you can end up with two copies of the forest in&lt;br /&gt;
memory, which is bad for memory usage.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== SLF (Standard Lattice Format) ==&lt;br /&gt;
&lt;br /&gt;
[http://labrosa.ee.columbia.edu/doc/HTKBook21/node257.html SLF Specification]&lt;/div&gt;</summary>
		<author><name>Srush</name></author>
	</entry>
	<entry>
		<id>https://www.aclweb.org/aclwiki/index.php?title=Hypergraph_Format&amp;diff=8369</id>
		<title>Hypergraph Format</title>
		<link rel="alternate" type="text/html" href="https://www.aclweb.org/aclwiki/index.php?title=Hypergraph_Format&amp;diff=8369"/>
		<updated>2010-11-07T01:37:48Z</updated>

		<summary type="html">&lt;p&gt;Srush: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== JSON ==&lt;br /&gt;
&lt;br /&gt;
[http://www.json.org/ JSON Description]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Protocol Buffers ==&lt;br /&gt;
&lt;br /&gt;
[http://code.google.com/p/protobuf/ Protocol Buffer Description]&lt;br /&gt;
&lt;br /&gt;
[http://github.com/srush/hypergraph Implementation Sketch]&lt;br /&gt;
&lt;br /&gt;
== SLF (Standard Lattice Format) ==&lt;br /&gt;
&lt;br /&gt;
[http://labrosa.ee.columbia.edu/doc/HTKBook21/node257.html SLF Specification]&lt;/div&gt;</summary>
		<author><name>Srush</name></author>
	</entry>
	<entry>
		<id>https://www.aclweb.org/aclwiki/index.php?title=Hypergraph_Format&amp;diff=8368</id>
		<title>Hypergraph Format</title>
		<link rel="alternate" type="text/html" href="https://www.aclweb.org/aclwiki/index.php?title=Hypergraph_Format&amp;diff=8368"/>
		<updated>2010-11-07T01:34:29Z</updated>

		<summary type="html">&lt;p&gt;Srush: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* JSON &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Protocol Buffers&lt;br /&gt;
&lt;br /&gt;
[http://github.com/srush/hypergraph Implementation Sketch]&lt;br /&gt;
&lt;br /&gt;
* SLF&lt;/div&gt;</summary>
		<author><name>Srush</name></author>
	</entry>
	<entry>
		<id>https://www.aclweb.org/aclwiki/index.php?title=Hypergraph_Format&amp;diff=8367</id>
		<title>Hypergraph Format</title>
		<link rel="alternate" type="text/html" href="https://www.aclweb.org/aclwiki/index.php?title=Hypergraph_Format&amp;diff=8367"/>
		<updated>2010-11-07T01:34:12Z</updated>

		<summary type="html">&lt;p&gt;Srush: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* JSON &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Protocol Buffers&lt;br /&gt;
&lt;br /&gt;
 [http://github.com/srush/hypergraph Implementation Sketch]&lt;br /&gt;
&lt;br /&gt;
* SLF&lt;/div&gt;</summary>
		<author><name>Srush</name></author>
	</entry>
	<entry>
		<id>https://www.aclweb.org/aclwiki/index.php?title=Hypergraph_Format&amp;diff=8366</id>
		<title>Hypergraph Format</title>
		<link rel="alternate" type="text/html" href="https://www.aclweb.org/aclwiki/index.php?title=Hypergraph_Format&amp;diff=8366"/>
		<updated>2010-11-07T01:33:24Z</updated>

		<summary type="html">&lt;p&gt;Srush: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* JSON &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Protocol Buffers&lt;br /&gt;
&lt;br /&gt;
 [[Implementation Sketch | http://github.com/srush/hypergraph]]&lt;br /&gt;
&lt;br /&gt;
* SLF&lt;/div&gt;</summary>
		<author><name>Srush</name></author>
	</entry>
	<entry>
		<id>https://www.aclweb.org/aclwiki/index.php?title=Hypergraph_Format&amp;diff=8365</id>
		<title>Hypergraph Format</title>
		<link rel="alternate" type="text/html" href="https://www.aclweb.org/aclwiki/index.php?title=Hypergraph_Format&amp;diff=8365"/>
		<updated>2010-11-07T01:32:54Z</updated>

		<summary type="html">&lt;p&gt;Srush: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* JSON &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Protocol Buffers&lt;br /&gt;
&lt;br /&gt;
Implementation Sketch: [[http://github.com/srush/hypergraph]]&lt;br /&gt;
&lt;br /&gt;
* SLF&lt;/div&gt;</summary>
		<author><name>Srush</name></author>
	</entry>
	<entry>
		<id>https://www.aclweb.org/aclwiki/index.php?title=Hypergraph_Format&amp;diff=8364</id>
		<title>Hypergraph Format</title>
		<link rel="alternate" type="text/html" href="https://www.aclweb.org/aclwiki/index.php?title=Hypergraph_Format&amp;diff=8364"/>
		<updated>2010-11-07T01:32:10Z</updated>

		<summary type="html">&lt;p&gt;Srush: New page: * JSON   * Protocol Buffers  * SLF&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* JSON &lt;br /&gt;
&lt;br /&gt;
* Protocol Buffers&lt;br /&gt;
&lt;br /&gt;
* SLF&lt;/div&gt;</summary>
		<author><name>Srush</name></author>
	</entry>
</feed>