W3C home > Mailing lists > Public > www-math@w3.org > August 2018

The User Input of Mathematics with Recognition Hints

From: Adam Sobieski <adamsobieski@hotmail.com>
Date: Sat, 18 Aug 2018 07:21:03 +0000
To: "public-exercises-and-activities@w3.org" <public-exercises-and-activities@w3.org>, "www-math@w3.org" <www-math@w3.org>
Message-ID: <CY4PR0101MB30958131F76C27006A35E8DBC53D0@CY4PR0101MB3095.prod.exchangelabs.com>
Educational Exercises and Activities Community Group,
Math Working Group,

The user input of mathematics is an important topic. With respect to implementation, Web browsers could make use of operating system platform features (see also: touchscreen keyboards and handwriting recognition widgets) as well as third-party services. In addition to user interface widgets utilizable with a mouse and keyboard, mathematics input modalities include handwriting and speech recognition.

Contextual recognition hints could enhance the accuracy of both handwriting and speech recognition. Hints for mathematics recognition could include specifying the type of mathematics to be inputted, for instance arithmetic, algebra, geometry, trigonometry or calculus. Hints for mathematics recognition could include specifying expected variables or symbols. Hints for mathematics recognition could include specifying MathML alternatives for expected user inputs.

One approach to providing mathematics user input in hypertext documents is to extend the HTML5 <input> element. Form submission data from such <input> elements would be MathML. Mathematics recognition services could make use of the MathML annotation framework to provide recognition results in other formats as well (e.g. AMS-LaTeX).

In the approach of extending the HTML5 <input> element while providing hints for mathematics recognition, what might the ideal hypertext document markup resemble?

Markup for hints could be nested in <input> elements:

<input type="math">
  <hint  />
  <hint  />

<input type="text-and-math">
  <hint  />
  <hint  />

<textarea math="true">
  <hint  />
  <hint  />

  <hint  />
  <hint  />

Also possible is a technique for hints resembling the HTML5 <datalist> element:

<hintlist id="hints1">
  <hint  />
  <hint  />

<input type="math" hints="hints1" />

<input type="text-and-math" hints="hints1" />

<textarea math="true" hints="hints1" />

<matharea hints="hints1" />

What do you think about the approach of expanding the <input> element to include a mode for mathematics user input? What do you think about the indicated possibilities for providing contextual recognition hints in hypertext document markup? Are there any other approaches and possibilities to consider?

Thank you. I look forward to discussing approaches for providing the user input of mathematics with recognition hints.

Best regards,
Adam Sobieski
Received on Saturday, 18 August 2018 07:21:32 UTC

This archive was generated by hypermail 2.3.1 : Saturday, 18 August 2018 07:21:34 UTC