Re: [xml-dev] Taking a cue from Microsoft Word

From
Ihe Onwuka <>
To
"Costello, Roger L." <>
Date
2013-12-07T13:26:08Z
ID
<>
Thread
Re: [xml-dev] Taking a cue from Microsoft Word
OK this is a lazy response but here goes anyway.

MS Word's "intelligent" capability probably emanates from a probabilistic analysis performed on a large corpus of data from which it computes the most likely thing that was intended.

Do you have such a corpus and such a model for your schema?




On Sat, Dec 7, 2013 at 1:14 PM, Costello, Roger L. <[email protected]> wrote:
Hi Folks,

Today I opened Microsoft Word and typed a document.

In the course of typing the document I used a word that MS Word did not understand. Word put a red squiggly line under it. I right-mouse clicked on the word and selected "Add to Dictionary." From that point on Word recognized that new word. Also in the course of typing my document I misspelled a word. I right-mouse clicked on the misspelled word and MS Word presented to me a list of possible words from which I selected the correctly spelled word.

Wow!

MS Word is an intelligent system: through my interaction it continually expands its knowledge.

That is a fantastic thing.

Imagine a similar capability in an XML editor. The editor understands my XML vocabulary: it has an XML Schema. I type my XML document. When I use an element that the editor does not understand it puts a red squiggly line under it. I right-mouse click on it and select "Add to XML Schema" which results in modifying the XML Schema with the new element. When I err, the editor underlines the incorrect element with a red squiggly line. I right-mouse click on the erroneous element and the editor shows me a list of possible correct elements from which I select one.

That would be neat.

/Roger

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: [email protected]
subscribe: [email protected]
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php