- From: Kurt Cagle <cagle@olywa.net>
- Date: Fri, 10 Nov 2000 12:49:29 -0800
- To: "Aaron Swartz" <aswartz@swartzfam.com>, "Sean B. Palmer" <sean@mysterylights.com>
- Cc: <www-rdf-interest@w3.org>, <www-talk@w3.org>, "Ken Levy" <klevy@xmlfund.com>
I don't think you have to go quite that far. I think the key here is in building a rules editor that would let readers define specific patterns using something like regular expressions, then associate these patterns with specific tags: <rule name="temperature"> <pattern>([+|-]?\d{1,3})\w?[degrees|Degrees|™]\w?([C|F])</pattern> <map><temperature scale="$2">$1</temperature></map> </rule> Obviously, each discipline would likely require its own set of rules, and would consequently either require that the user knows regexes or that a knowledgeable regex writer puts together a set of such rules -- the latter of which is much more likely to be the case. A weather report is easy to encode, because there is a fairly limited vocabulary, but such a semantic editor could also work in the opposite direction -- a user can add an item to the set of rules simply by selecting the text in question, assigning it to a specific encoding tag (or defining a new tag if the editor is in schema generation mode), and storing it (or editing it as a regex). In this manner, you could add semantic content very easily. -- Kurt ----- Original Message ----- From: "Aaron Swartz" <aswartz@swartzfam.com> To: "Sean B. Palmer" <sean@mysterylights.com> Cc: <www-rdf-interest@w3.org>; <www-talk@w3.org> Sent: Thursday, November 09, 2000 12:13 PM Subject: Re: Semantic Document Framework(s) > Sean B. Palmer <sean@mysterylights.com> wrote: > > > 1. Type in your text. > > 2. Tell the editor it's a weather statement. > > 3. The editor puts in the correct namespace, and marks up the text > > accordingly. > > 4. Publish your document. > > 5. Document in viewable in HTML browsers, and serves a purpoe on the SW. > > > > Could somebody please write me an editor like that? I'd pay good money! > > I bet -- looks like an AI-complete problem to me, at least for the general > case. Specific cases could be done with really complex heuristics, but > that'd be rather hairy. I'd love for this to work, but all I see you doing > is offloading the English parsing to the writer, rather than the reader. You > still need the software to parse the English. That's going to be really hard > to do, except in perhaps really specific cases. Certainly, it'll be a lot > harder to write than your average HTML editor! > > -- > [ Aaron Swartz | me@aaronsw.com | http://www.aaronsw.com ] > >
Received on Thursday, 9 November 2000 15:49:39 UTC