<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-3198935374994345981.post5219574591195394371..comments</id><updated>2009-11-04T15:39:52.812+01:00</updated><category term='Reviews'/><category term='AOP'/><category term='LINQ'/><category term='Microsoft'/><category term='MVC'/><category term='IoC'/><category term='Javascript'/><category term='MGrammar'/><category term='ALT.NET'/><category term='Logging'/><category term='Misc'/><category term='Design'/><category term='Castle'/><category term='Security'/><category term='MSBuild'/><category term='Science'/><category term='Presentations'/><category term='ASP.NET MVC'/><category term='ASP.NET'/><category term='C#'/><category term='M'/><category term='Design By Contract'/><category term='TDD'/><category term='MonoRail'/><category term='Boo'/><category term='Git'/><category term='Graphics'/><category term='CQRS'/><category term='WCF'/><category term='Oslo'/><category term='Agile'/><category term='PDC'/><category term='CMS'/><category term='CodeSaga'/><category term='NHibernate'/><category term='DDD'/><category term='Benchmarks'/><category term='HTML/CSS'/><category term='NAnt'/><category term='Slick Code Search'/><category term='WPF'/><category term='Silverlight'/><category term='WatiN'/><title type='text'>Comments on Coding Instinct: English defined in MGrammar</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.codinginstinct.com/feeds/5219574591195394371/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3198935374994345981/5219574591195394371/comments/default'/><link rel='alternate' type='text/html' href='http://www.codinginstinct.com/2008/12/english-defined-in-mgrammar.html'/><author><name>Torkel Ödegaard</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3198935374994345981.post-8060304484441598622</id><published>2009-11-04T15:39:52.812+01:00</published><updated>2009-11-04T15:39:52.812+01:00</updated><title type='text'>@Brian

Interesting, I wounder who Word implements...</title><content type='html'>@Brian&lt;br /&gt;&lt;br /&gt;Interesting, I wounder who Word implements it grammar checker. I would also suspect that they use more fuzzy logic approach.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3198935374994345981/5219574591195394371/comments/default/8060304484441598622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3198935374994345981/5219574591195394371/comments/default/8060304484441598622'/><link rel='alternate' type='text/html' href='http://www.codinginstinct.com/2008/12/english-defined-in-mgrammar.html?showComment=1257345592812#c8060304484441598622' title=''/><author><name>Torkel Ödegaard</name><uri>http://www.blogger.com/profile/08914354140151859277</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.codinginstinct.com/2008/12/english-defined-in-mgrammar.html' ref='tag:blogger.com,1999:blog-3198935374994345981.post-5219574591195394371' source='http://www.blogger.com/feeds/3198935374994345981/posts/default/5219574591195394371' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1471368035'/></entry><entry><id>tag:blogger.com,1999:blog-3198935374994345981.post-576711456551112715</id><published>2009-11-04T15:34:47.837+01:00</published><updated>2009-11-04T15:34:47.837+01:00</updated><title type='text'>If you would have continued, you would have also l...</title><content type='html'>If you would have continued, you would have also likely found that strict rule based systems are essentially useless in the modern day.  Many (dare I say most) English speakers no longer stick to the &amp;#39;rules&amp;#39; of the language and this throws a monkey wrench in the works.  Of course you can continue to add rule after rule to encompass all the exceptions, but this is error prone and can cause the system to become unwieldy.  A better approach would utilize example based or &amp;#39;fuzzy&amp;#39; systems that are more tolerant of (or at least better represent) such variations between formal language specification and actual usage.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3198935374994345981/5219574591195394371/comments/default/576711456551112715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3198935374994345981/5219574591195394371/comments/default/576711456551112715'/><link rel='alternate' type='text/html' href='http://www.codinginstinct.com/2008/12/english-defined-in-mgrammar.html?showComment=1257345287837#c576711456551112715' title=''/><author><name>Brian</name><uri>http://www.blogger.com/profile/11920689351364376265</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.codinginstinct.com/2008/12/english-defined-in-mgrammar.html' ref='tag:blogger.com,1999:blog-3198935374994345981.post-5219574591195394371' source='http://www.blogger.com/feeds/3198935374994345981/posts/default/5219574591195394371' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1156961127'/></entry><entry><id>tag:blogger.com,1999:blog-3198935374994345981.post-6262567599952395107</id><published>2009-09-20T20:36:02.607+02:00</published><updated>2009-09-20T20:36:02.607+02:00</updated><title type='text'>Ok, thanks.

You can do what ever you like :)</title><content type='html'>Ok, thanks.&lt;br /&gt;&lt;br /&gt;You can do what ever you like :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3198935374994345981/5219574591195394371/comments/default/6262567599952395107'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3198935374994345981/5219574591195394371/comments/default/6262567599952395107'/><link rel='alternate' type='text/html' href='http://www.codinginstinct.com/2008/12/english-defined-in-mgrammar.html?showComment=1253471762607#c6262567599952395107' title=''/><author><name>Torkel Ödegaard</name><uri>http://www.blogger.com/profile/08914354140151859277</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.codinginstinct.com/2008/12/english-defined-in-mgrammar.html' ref='tag:blogger.com,1999:blog-3198935374994345981.post-5219574591195394371' source='http://www.blogger.com/feeds/3198935374994345981/posts/default/5219574591195394371' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1471368035'/></entry><entry><id>tag:blogger.com,1999:blog-3198935374994345981.post-4157244908884343078</id><published>2009-09-20T09:19:52.352+02:00</published><updated>2009-09-20T09:19:52.352+02:00</updated><title type='text'>I&amp;#39;ve found some interesting reads here. thanks...</title><content type='html'>I&amp;#39;ve found some interesting reads here. thanks!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;looks like your final Sentence production rule isn&amp;#39;t defined as your final example requires it to be. &lt;br /&gt;&lt;br /&gt;using: (my own Language Workbench)&lt;br /&gt;http://www.robusthaven.com/products&lt;br /&gt;/Parsing+Expression+Grammar&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;here are my peg rules:&lt;br /&gt;Space: [ ]+;&lt;br /&gt;&lt;br /&gt;(?&amp;lt;Determiners&amp;gt;): &amp;#39;a&amp;#39;\i / &amp;#39;the&amp;#39;\i / &amp;#39;one&amp;#39;\i ;&lt;br /&gt;(?&amp;lt;Noun&amp;gt;): &amp;#39;boy&amp;#39;\i / &amp;#39;girl&amp;#39;\i / &amp;#39;dog&amp;#39;\i / &amp;#39;school&amp;#39;\i / &amp;#39;hair&amp;#39;\i ;&lt;br /&gt;(?&amp;lt;Verb&amp;gt;): &amp;#39;likes&amp;#39;\i / &amp;#39;bites&amp;#39;\i / &amp;#39;eats&amp;#39;\i / &amp;#39;discuss&amp;#39;\i ;&lt;br /&gt;(?&amp;lt;Preposition&amp;gt;): &amp;#39;on&amp;#39;\i / &amp;#39;in&amp;#39;\i / &amp;#39;from&amp;#39;\i / &amp;#39;with&amp;#39;\i ;&lt;br /&gt;(?&amp;lt;Adjectives&amp;gt;): &amp;#39;happy&amp;#39;\i  / &amp;#39;lucky&amp;#39;\i  / &amp;#39;tall&amp;#39;\i  / &amp;#39;red&amp;#39;\i  / &amp;#39;nerdy&amp;#39;\i ;&lt;br /&gt;&lt;br /&gt;(?&amp;lt;PrepositionalPhrase&amp;gt;): Preposition Space NounPhrase ;&lt;br /&gt;(?&amp;lt;NounPhrase&amp;gt;): (Determiners Space)? (Adjectives Space)* Noun  (Space PrepositionalPhrase)?;&lt;br /&gt;(?&amp;lt;VerbPhrase&amp;gt;): Verb Space NounPhrase ; &lt;br /&gt;(?&amp;lt;Sentence&amp;gt;): NounPhrase (Space VerbPhrase)?   &amp;#39;.&amp;#39; ;&lt;br /&gt;&lt;br /&gt;(?&amp;lt;Main&amp;gt;): Sentence* !.;&lt;br /&gt;my unit tests are:&lt;br /&gt;1) The boy likes the girl.&lt;br /&gt;2) The nerdy boy likes the girl.&lt;br /&gt;3) The nerdy boy likes the girl from school with red hair.&lt;br /&gt;4) The girl from school with red hair.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;currently 1-3 pass my tests.&lt;br /&gt;4 fails.  &lt;br /&gt;&lt;br /&gt;by changing &lt;br /&gt;VerbPhrase to be optional &lt;br /&gt;&lt;br /&gt;4 provides an ast also.&lt;br /&gt;&lt;br /&gt;is there an update missing to S?&lt;br /&gt;maybe it should be...&lt;br /&gt;syntax S = NP VP? &amp;quot;.&amp;quot;;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;by the way can i post this as a project .zip file with user contributed examples downloadable from my product page?&lt;br /&gt;&lt;br /&gt;thanks,&lt;br /&gt;&lt;br /&gt;lm</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3198935374994345981/5219574591195394371/comments/default/4157244908884343078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3198935374994345981/5219574591195394371/comments/default/4157244908884343078'/><link rel='alternate' type='text/html' href='http://www.codinginstinct.com/2008/12/english-defined-in-mgrammar.html?showComment=1253431192352#c4157244908884343078' title=''/><author><name>leblancmeneses</name><uri>http://www.blogger.com/profile/15082442788253920201</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.codinginstinct.com/2008/12/english-defined-in-mgrammar.html' ref='tag:blogger.com,1999:blog-3198935374994345981.post-5219574591195394371' source='http://www.blogger.com/feeds/3198935374994345981/posts/default/5219574591195394371' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1113103281'/></entry></feed>
