Path: csiph.com!xmission!news.glorb.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED!nerds-end From: George Neuner Newsgroups: comp.compilers Subject: Re: unnatural natural language, was Natural Language Parser Date: Thu, 01 Oct 2015 12:41:34 -0400 Organization: A noiseless patient Spider Lines: 39 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <15-10-001@comp.compilers> References: <15-09-025@comp.compilers> <15-09-028@comp.compilers> <15-09-032@comp.compilers> NNTP-Posting-Host: news.iecc.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: miucha.iecc.com 1443751053 59913 2001:470:1f07:1126:0:676f:7373:6970 (2 Oct 2015 01:57:33 GMT) X-Complaints-To: abuse@iecc.com NNTP-Posting-Date: Fri, 2 Oct 2015 01:57:33 +0000 (UTC) Keywords: parse, administrivia, comment Posted-Date: 01 Oct 2015 21:57:33 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com X-Received-Bytes: 2629 X-Received-Body-CRC: 4199060537 Xref: csiph.com comp.compilers:1628 >| > I am looking for a C++ API based English Language Parser. .... >| >| You need to be aware that natural languages *can't* be parsed >| without semantics - i.e. without considering "parts of speech". >Exactly. Consider the classical "Buffalo" example: > > https://en.wikipedia.org/wiki/Buffalo_buffalo_Buffalo_buffalo_buffalo_buffalo_Buffalo_buffalo > "Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo" My family is from Buffalo. That particular example actually gets even more perverse than the article indicates. The staff at the Buffalo Zoo claim that their animals have a unique method of harassing each other which they call the "Buffalo buffalo". If the animals really do "Buffalo buffalo" each other, then it follows that "Buffalo buffalo Buffalo buffalo Buffalo buffalo Buffalo buffalo Buffalo buffalo". [That's 10 "buffalos" if you are counting.] FWIW: 1) The animals in the Buffalo Zoo actually are bison. 2) Bison are related to buffalo, but are a different species. 3) Natives pronounce the city's name as "buf4 lo", accent on the 1st syllable and without any 'a' sound. There are competing theories regarding the evolution of this pronunciation: one claim that it is a mangled Seneca Indian name, and two different claims that it is mangled French. YMMV, George [I think it's time to get back to computer languages, perhaps after we discuss the derivation of beef on weck. -John]