<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments for webwords</title>
	<link>http://webwords.txhawkins.net</link>
	<description>it's words on the web, it's all just words.</description>
	<pubDate>Thu, 11 Mar 2010 01:04:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>Comment on Stalled and Distracted by Bill Hensley</title>
		<link>http://webwords.txhawkins.net/2009/06/27/stalled-and-distracted/#comment-1480</link>
		<author>Bill Hensley</author>
		<pubDate>Mon, 29 Jun 2009 22:53:36 +0000</pubDate>
		<guid>http://webwords.txhawkins.net/2009/06/27/stalled-and-distracted/#comment-1480</guid>
		<description>The pattern you're thinking of is "serialization", as implemented in many class libraries. These libraries handle object references by building a dictionary of objectIDs and object references (or pointers). When you serializing to disk, as you process each object you look it up in the dictionary. If it's not there you assign it a unique ID and add it to the dictionary. Then you right the object's ID with it to disk. Whenever you need to serialize an object reference (pointer) you write its ID to disk instead.

When you deserialize you reverse the process. Each time you read an object into memory you add it to the dictionary. Each time you read an object ID you replace it with the corresponding object reference (pointer).

This works because you the order you serialize an object is by following a depth first traverse of its web of references. If you encounter an object you haven't seen before (its not in the dictionary) you recurse and serialize it before going on to the next member in the current object.

Perhaps you were asking a different question. Did I just explain something you already knew?</description>
		<content:encoded><![CDATA[<p>The pattern you&#8217;re thinking of is &#8220;serialization&#8221;, as implemented in many class libraries. These libraries handle object references by building a dictionary of objectIDs and object references (or pointers). When you serializing to disk, as you process each object you look it up in the dictionary. If it&#8217;s not there you assign it a unique ID and add it to the dictionary. Then you right the object&#8217;s ID with it to disk. Whenever you need to serialize an object reference (pointer) you write its ID to disk instead.</p>
<p>When you deserialize you reverse the process. Each time you read an object into memory you add it to the dictionary. Each time you read an object ID you replace it with the corresponding object reference (pointer).</p>
<p>This works because you the order you serialize an object is by following a depth first traverse of its web of references. If you encounter an object you haven&#8217;t seen before (its not in the dictionary) you recurse and serialize it before going on to the next member in the current object.</p>
<p>Perhaps you were asking a different question. Did I just explain something you already knew?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Scope control&#8230; by Bill Hensley</title>
		<link>http://webwords.txhawkins.net/2009/04/14/scope-control/#comment-32</link>
		<author>Bill Hensley</author>
		<pubDate>Tue, 28 Apr 2009 01:44:43 +0000</pubDate>
		<guid>http://webwords.txhawkins.net/2009/04/14/scope-control/#comment-32</guid>
		<description>Here's your next challenge:

http://www.nytimes.com/2009/04/27/technology/27jeopardy.html?_r=1</description>
		<content:encoded><![CDATA[<p>Here&#8217;s your next challenge:</p>
<p><a href="http://www.nytimes.com/2009/04/27/technology/27jeopardy.html?_r=1" rel="nofollow">http://www.nytimes.com/2009/04/27/technology/27jeopardy.html?_r=1</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Parsing Language by Rob</title>
		<link>http://webwords.txhawkins.net/2009/02/15/parsing-language/#comment-10</link>
		<author>Rob</author>
		<pubDate>Thu, 19 Feb 2009 03:53:51 +0000</pubDate>
		<guid>http://webwords.txhawkins.net/2009/02/15/parsing-language/#comment-10</guid>
		<description>That's one of the reasons people want to do this "understanding" thing. Once you have converted English into some internal format that captures the meaning of the sentence, it should be possible to convert it back to natural language again. The specific language would not matter much. You would have a machine translation device, and be one step towards a "Universal Translator".

Remember how the translator on Enterprise had to have enough of a new language to start translating? It was doing statistical semantic parsing!

I'm teaching my boy to speak English. You can do the Spanish later.</description>
		<content:encoded><![CDATA[<p>That&#8217;s one of the reasons people want to do this &#8220;understanding&#8221; thing. Once you have converted English into some internal format that captures the meaning of the sentence, it should be possible to convert it back to natural language again. The specific language would not matter much. You would have a machine translation device, and be one step towards a &#8220;Universal Translator&#8221;.</p>
<p>Remember how the translator on Enterprise had to have enough of a new language to start translating? It was doing statistical semantic parsing!</p>
<p>I&#8217;m teaching my boy to speak English. You can do the Spanish later.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Parsing Language by Clinton Balmain</title>
		<link>http://webwords.txhawkins.net/2009/02/15/parsing-language/#comment-9</link>
		<author>Clinton Balmain</author>
		<pubDate>Tue, 17 Feb 2009 14:23:01 +0000</pubDate>
		<guid>http://webwords.txhawkins.net/2009/02/15/parsing-language/#comment-9</guid>
		<description>Okay, so you go build this thing that understands English - how hard would it be to make it understand, say, Spanish?  Assuming you put in a new database of word definitions (replacing "man" with "hombre," for example) would that be adequate?  Presumably the grammar would have to be tweaked.  

How far could you stray from English before the entire thing came apart?  How hard would it be to do German, and then French, and then Japanese, and then Mandarin?  

I guess my question is: are you teaching your computer to understand LANGUAGE, or just ENGLISH?</description>
		<content:encoded><![CDATA[<p>Okay, so you go build this thing that understands English - how hard would it be to make it understand, say, Spanish?  Assuming you put in a new database of word definitions (replacing &#8220;man&#8221; with &#8220;hombre,&#8221; for example) would that be adequate?  Presumably the grammar would have to be tweaked.  </p>
<p>How far could you stray from English before the entire thing came apart?  How hard would it be to do German, and then French, and then Japanese, and then Mandarin?  </p>
<p>I guess my question is: are you teaching your computer to understand LANGUAGE, or just ENGLISH?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Parsing Language by Bill Hensley</title>
		<link>http://webwords.txhawkins.net/2009/02/15/parsing-language/#comment-8</link>
		<author>Bill Hensley</author>
		<pubDate>Mon, 16 Feb 2009 14:35:26 +0000</pubDate>
		<guid>http://webwords.txhawkins.net/2009/02/15/parsing-language/#comment-8</guid>
		<description>Actually, it was Isaac Newton who said, "If I have seen so far, it is only because I stand on the shoulders of giants." At least, that's how history records it. Such a towering intellect as Newton could equally well have said, "If I have seen so far, it is only because I am surrounded by midgets." :-)</description>
		<content:encoded><![CDATA[<p>Actually, it was Isaac Newton who said, &#8220;If I have seen so far, it is only because I stand on the shoulders of giants.&#8221; At least, that&#8217;s how history records it. Such a towering intellect as Newton could equally well have said, &#8220;If I have seen so far, it is only because I am surrounded by midgets.&#8221; <img src='http://webwords.txhawkins.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A swamp of details by Rob</title>
		<link>http://webwords.txhawkins.net/2009/02/02/a-swamp-of-details/#comment-7</link>
		<author>Rob</author>
		<pubDate>Tue, 10 Feb 2009 12:48:40 +0000</pubDate>
		<guid>http://webwords.txhawkins.net/2009/02/02/a-swamp-of-details/#comment-7</guid>
		<description>Bruce apparently doesn't read my other blog, or he'd know how this one is likely to turn out!

This blog is actually not running on my hardware. The web hosting service I'm using (also the source for the domain name) offers Wordpress as one of the applications they support with the account. That makes it a lot easier because I don't need dynamic DNS and all that stuff.

I do run my own web server in the orange zone on my Smoothwall box, but there are no "public" pages served from there (I hope). I use dyndns.com to keep tabs on the constantly changing IP address.

I eventually hope to host the results of my current project from my web server. I don't think I can get all the code to run on the web-hosting machine.</description>
		<content:encoded><![CDATA[<p>Bruce apparently doesn&#8217;t read my other blog, or he&#8217;d know how this one is likely to turn out!</p>
<p>This blog is actually not running on my hardware. The web hosting service I&#8217;m using (also the source for the domain name) offers Wordpress as one of the applications they support with the account. That makes it a lot easier because I don&#8217;t need dynamic DNS and all that stuff.</p>
<p>I do run my own web server in the orange zone on my Smoothwall box, but there are no &#8220;public&#8221; pages served from there (I hope). I use dyndns.com to keep tabs on the constantly changing IP address.</p>
<p>I eventually hope to host the results of my current project from my web server. I don&#8217;t think I can get all the code to run on the web-hosting machine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A swamp of details by Bill Hensley</title>
		<link>http://webwords.txhawkins.net/2009/02/02/a-swamp-of-details/#comment-6</link>
		<author>Bill Hensley</author>
		<pubDate>Thu, 05 Feb 2009 23:12:08 +0000</pubDate>
		<guid>http://webwords.txhawkins.net/2009/02/02/a-swamp-of-details/#comment-6</guid>
		<description>Wow. Just discovered your new blog, Rob. (Thanks for the heads up.)

You have a way of over-reaching with style, my friend. Bruce's comment was predictable: "He has WAY too much time on his hands." So now you're going to solve the natural language problem in your spare time? Let's hope Bruce is right. You better have LOTS of spare time!!

On a (slightly) related topic, I'd like to see a post about how you've set up your server. I take it you are running it on your own  hardware. Is it set up in a DMZ? Are you using a dynamic DNS service?   Did you lease the domain name from the same company? What's involved in setting up a Wordpress blog on your own box, and are you planning to have any non-blog web pages on your site?</description>
		<content:encoded><![CDATA[<p>Wow. Just discovered your new blog, Rob. (Thanks for the heads up.)</p>
<p>You have a way of over-reaching with style, my friend. Bruce&#8217;s comment was predictable: &#8220;He has WAY too much time on his hands.&#8221; So now you&#8217;re going to solve the natural language problem in your spare time? Let&#8217;s hope Bruce is right. You better have LOTS of spare time!!</p>
<p>On a (slightly) related topic, I&#8217;d like to see a post about how you&#8217;ve set up your server. I take it you are running it on your own  hardware. Is it set up in a DMZ? Are you using a dynamic DNS service?   Did you lease the domain name from the same company? What&#8217;s involved in setting up a Wordpress blog on your own box, and are you planning to have any non-blog web pages on your site?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A swamp of details by Rob</title>
		<link>http://webwords.txhawkins.net/2009/02/02/a-swamp-of-details/#comment-5</link>
		<author>Rob</author>
		<pubDate>Wed, 04 Feb 2009 02:51:37 +0000</pubDate>
		<guid>http://webwords.txhawkins.net/2009/02/02/a-swamp-of-details/#comment-5</guid>
		<description>Yes, there is a way to do this that is in common use! Programming languages like C++, C#, Visual Basic, Fortran, etc. have absolutely no ambiguity in their syntax and semantics. Every statement in these languages has exactly one meaning. Everything is crystal clear.
The problem with these languages is that they are very narrow in terms of what can be expressed. There is less room for creative expression, and they do not extend well to uses beyond their original design. They evolve very slowly if at all.
The other possibility is the Conceptual Dependency framework I mentioned in an earlier post. That was an effort to take every sentence and express its meaning in a unique and unambiguous way. I  have started into the code to convert English sentences into CD language. Here's a taste:
The sentences:
"John owned a house. John gave the house to his son."
Translate into:
&lt;code&gt;(POSSESS (OBJECT house)(VALUE John)(TIME past))
(ATRANS
(ACTOR John)
  (OBJECT house)
  (DIRECTION (FROM John)(TO John's son))
  (TIME past))&lt;/code&gt;

</description>
		<content:encoded><![CDATA[<p>Yes, there is a way to do this that is in common use! Programming languages like C++, C#, Visual Basic, Fortran, etc. have absolutely no ambiguity in their syntax and semantics. Every statement in these languages has exactly one meaning. Everything is crystal clear.<br />
The problem with these languages is that they are very narrow in terms of what can be expressed. There is less room for creative expression, and they do not extend well to uses beyond their original design. They evolve very slowly if at all.<br />
The other possibility is the Conceptual Dependency framework I mentioned in an earlier post. That was an effort to take every sentence and express its meaning in a unique and unambiguous way. I  have started into the code to convert English sentences into CD language. Here&#8217;s a taste:<br />
The sentences:<br />
&#8220;John owned a house. John gave the house to his son.&#8221;<br />
Translate into:<br />
<code>(POSSESS (OBJECT house)(VALUE John)(TIME past))<br />
(ATRANS<br />
(ACTOR John)<br />
  (OBJECT house)<br />
  (DIRECTION (FROM John)(TO John's son))<br />
  (TIME past))</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A swamp of details by Clinton Balmain</title>
		<link>http://webwords.txhawkins.net/2009/02/02/a-swamp-of-details/#comment-4</link>
		<author>Clinton Balmain</author>
		<pubDate>Tue, 03 Feb 2009 14:52:38 +0000</pubDate>
		<guid>http://webwords.txhawkins.net/2009/02/02/a-swamp-of-details/#comment-4</guid>
		<description>Going back to your "I saw her duck..." example.  Would there be a way to use a language, even an artificial one, without the semantic ambiguity?  For example, define a language where "saw" ONLY means the past tense of "see."  "Saw", meaning "to cut," would be "saw*" or "saww".  Likewise, "duck" would only mean a web-footed bird.  Any other definition, like "move down quickly" would require a modifier.

Obviously this would require an enormous amount of work (how many modifiers would you need for the word "lie"?), but at least it would cut out the semantics issue.</description>
		<content:encoded><![CDATA[<p>Going back to your &#8220;I saw her duck&#8230;&#8221; example.  Would there be a way to use a language, even an artificial one, without the semantic ambiguity?  For example, define a language where &#8220;saw&#8221; ONLY means the past tense of &#8220;see.&#8221;  &#8220;Saw&#8221;, meaning &#8220;to cut,&#8221; would be &#8220;saw*&#8221; or &#8220;saww&#8221;.  Likewise, &#8220;duck&#8221; would only mean a web-footed bird.  Any other definition, like &#8220;move down quickly&#8221; would require a modifier.</p>
<p>Obviously this would require an enormous amount of work (how many modifiers would you need for the word &#8220;lie&#8221;?), but at least it would cut out the semantics issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to become intelligent by Clinton Balmain</title>
		<link>http://webwords.txhawkins.net/2009/01/20/how-to-become-intelligent/#comment-3</link>
		<author>Clinton Balmain</author>
		<pubDate>Tue, 03 Feb 2009 14:43:47 +0000</pubDate>
		<guid>http://webwords.txhawkins.net/2009/01/20/how-to-become-intelligent/#comment-3</guid>
		<description>I don't think you need to worry about Sarah Connor.  If she were coming for you, you'd already be dead.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think you need to worry about Sarah Connor.  If she were coming for you, you&#8217;d already be dead.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
