<?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: Context-sensitive constructions in English</title>
	<atom:link href="http://www.yes-no-cancel.co.uk/2008/08/26/context-sensitive-constructions-in-english/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yes-no-cancel.co.uk/2008/08/26/context-sensitive-constructions-in-english/</link>
	<description>Entrepreneurship, web technology and the user experience</description>
	<pubDate>Wed, 07 Jan 2009 10:24:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Martin Kleppmann</title>
		<link>http://www.yes-no-cancel.co.uk/2008/08/26/context-sensitive-constructions-in-english/comment-page-1/#comment-634</link>
		<dc:creator>Martin Kleppmann</dc:creator>
		<pubDate>Tue, 02 Sep 2008 18:17:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.yes-no-cancel.co.uk/?p=104#comment-634</guid>
		<description>Andrew,

I agree that if the program can recognise the patterns which indicate one of these parallel constructions (e.g. 'respectively'), it would be easy to write a piece of code which matches them up. The curious thing I found here is just that it can't be done from within the context-free grammar; it has got to happen in a second post-processing step based on the syntax tree and additional rules.

The parsing library I am using here is pyparsing (http://pyparsing.wikispaces.com/), a remarkably elegant library, but most libraries use something which is more or less context-free.</description>
		<content:encoded><![CDATA[<p>Andrew,</p>
<p>I agree that if the program can recognise the patterns which indicate one of these parallel constructions (e.g. &#8216;respectively&#8217;), it would be easy to write a piece of code which matches them up. The curious thing I found here is just that it can&#8217;t be done from within the context-free grammar; it has got to happen in a second post-processing step based on the syntax tree and additional rules.</p>
<p>The parsing library I am using here is pyparsing (http://pyparsing.wikispaces.com/), a remarkably elegant library, but most libraries use something which is more or less context-free.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Bruce</title>
		<link>http://www.yes-no-cancel.co.uk/2008/08/26/context-sensitive-constructions-in-english/comment-page-1/#comment-587</link>
		<dc:creator>Andrew Bruce</dc:creator>
		<pubDate>Fri, 29 Aug 2008 11:12:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.yes-no-cancel.co.uk/?p=104#comment-587</guid>
		<description>Interesting. At first this got to the philosopher in me, but then I realised it could just a pattern matching problem.

It looks like the first is different to the second in parsing terms. The first is recognisable as two sets of collerated data simply because in English 'respectively' is rarely used except to flag the construct. You could then fairly easily recognise the separators of ',' and 'and'.

The second is possibly easier to parse once you understand that it's two sets of collerated data, but getting there could be tricky - and way too often people assume the reader can guess the measurement units from the context.

What are these typical parsing libraries?</description>
		<content:encoded><![CDATA[<p>Interesting. At first this got to the philosopher in me, but then I realised it could just a pattern matching problem.</p>
<p>It looks like the first is different to the second in parsing terms. The first is recognisable as two sets of collerated data simply because in English &#8216;respectively&#8217; is rarely used except to flag the construct. You could then fairly easily recognise the separators of &#8216;,&#8217; and &#8216;and&#8217;.</p>
<p>The second is possibly easier to parse once you understand that it&#8217;s two sets of collerated data, but getting there could be tricky - and way too often people assume the reader can guess the measurement units from the context.</p>
<p>What are these typical parsing libraries?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
