[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: English sentences, was: Re: Announce: XMLSchema,


good english sentences
Eric van der Vlist wrote:
> On Thu, 2002-06-27 at 13:30, Jonathan Borden wrote:
>
> > Recognizing and processing natural language is something that's been
done
> > for a couple of decades -- albeit imperfectly -- and as I am sure you
are
> > aware, the grammar(s) are complicted -- what is generally needed is some
> > notion of the intended semantics of the sentences. In any case, this
example
> > isn't a good use case for XML schema languages and 'validity'.
>
> No, but it is a good use case for extensibility in XML schema languages.
>
> If you are happy with the result of the unix "file" command to determine
> the type of a text and see if it's more likely a Java source code, a
> snippet of Python or an English text, you may want to validate the
> document using its result instead of the code.

I presume that both Java and Python can be unambiguously determined via EBNF
or perhaps plain 'ol regular expressions, and that sort of endevour is a
good use case for schema extensibility -- err, though I was brought to
believe that the _whole point_ of XML is that such structural information
would be explicitly labelled. It's just that _reliable_ detection and
classification of human languages is a bit more difficult. It has been done
for a long long time (certain government agencies tend to spend unlimited
amounts of funds on such projects) and its problems are relatively well
characterized. As a _start_ in that direction take a look at _ontologies_
etc.

Jonathan




PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.