-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
include (or not) a sample-set of default conversion from plain-MathML to MathML-with-intent #433
Comments
My position on the call was focused on the claim:
Such examples will create an unrealistic (and underspecified) expectation of what may or may not be possible with simple defaulting rules. In reality, very little is inferred reliably with simple rules, and even for K12 materials one needs to consider the full presentation tree, matching on both XML structure and text content of each node. Since we do not have the resources to develop this kind of mechanism in full, my preference is to defer further work to MathML 5. For the current iteration, I would be more interested in investigating domain-specific rule-sets anchored around the "isa" ( #426 ) capability. It may be possible that simple defaulting examples may be realistic within very concrete "isa" values, such as For a specific illustration of my point, consider the intuition:
If one applies such a rule over a larger text, it is bound to mispronounce a wide variety of different scripted constructs. Here is an excerpt from my survey of Khan Academy's K12 materials - 15 notations relying on a simple
|
I think the issue is not whether the charter says we should have a sample set of mappings of defaults to
BackgroundI tried to answer that as part of a position paper a few months back. See that paper for more details. Here I will just list the defaults so they can be discussed individually or as a group via comments. First off though, note that I strongly feel there needs to be a
Note: in all cases, if intent is given, it should be used (if appropriate). Even for legacy, it is possible remediation may have added an intent value. Proposed defaults:AT should have a specified default interpretation for every MathML Element. That doesn't mean that the exact words are specified, only that AT chooses words that convey the default meaning. For example: msup is spoken as "super" or "superscript" if intent-default = "structure" and is spoken as a power ("x squared", "x raised to the n minus 1 power", etc) if intent-default = "common". The exact words may depend upon both the audience and the arguments. "structure"The goal of the default is to avoid any inference of semantics. The meanings and special cases for all the MathML elements are (expand to see details):
"common"The goal is to use common 'K-14" meanings so the need to use
SummaryAs stated at the start, we need to answer the questions of whether there should be defaults (given my long post, it should be clear what my position is). If other agree, then we need to come to an agreement on what the defaults should be. The above list is a first cut. There is a trade-off that should be considered. If the rules/special cases become too numerous, then AT is less likely to implement them. On the other hand, if special cases aren't listed, then authors/authoring software needs to go to extra work to generate them which makes them less likely to use If you feel a default/special case is missing or if some default is wrong/has too many special cases, that's what comments are for... |
Responding to @dginev's comment... While I completely agree that simple rules will fail to capture a significant number of special cases, I disagree that they are not useful. I would love to gather some data, but my guess based on looking at a lot of math textbooks and tutorials over the years is that they will capture over 95% of the cases, maybe even over 99%. These numbers don't reflect "good" speech, just "not wrong" speech. I know that is pretty bold, but simply put, there are a lot of Moving on to The least accurate rule is the one for Based on your examples, I updated the I'll be the first to admit that I don't have statistics to back up my claims. It would be great to go through a dozen textbooks and do counts, but I don't think that anyone has the time/stamina to do that. At best, we could find the number of |
My first comment regards the "default default", ie. what defaulting rule set (if any) applies when there is no |
My second comment is that I believe we should express the defaulting rule sets in terms of
And the fact that it would force us to put some non-semantic items (eg |
I think we agreed that this is likely a too big entreprise: Any default set we can recommend will be frustrating. Leave this in the field of brave experimenting implementors.
I agree. Let us not promise such a set of rules. I strongly suggest to start with a vocabulary clarification first:
The easy bits in there are the function-names at the bottom of David F's list (map word to intents then to pronunciation) and the unicode characters (map character codes to intents and pronunciation possibly differing from Unicode). Both imply translation as well. |
@NSoiffer the original reason to open this issue, the way I remember it, was more specific than the general topic of "default rule sets for intent", which may fit better in a new dedicated issue (especially if we are closer to consensus to add some recommended markup). To summarize my comments from the discussion in today's meeting:
So a first suggestion would be: <math intent=":default-common">...</math>
<math intent=":default-structure">...</math>
<math intent=":default-legacy">...</math> <!-- identical to <math>...</math> --> Separately, @davidfarmer expressed his hope that we won't have a prolonged discussion on what exact behaviors go into the "common" defaults. I certainly understand the sentiment. However, unless we specify a clear and fixed set of rules, it is reasonable to expect that different AT systems will implement different behaviors. Maybe that is an acceptable outcome, but we should be aware that we are making that choice. Moreover, it is good if we can now bundle this discussion together with discussing properties, as I can make this "AT alignment" point in general: Unless we clearly enumerate the exact effects each "behavioral property" is expected to enrich, we will have differences in behavior/coverage between AT systems. As an example, To bring this example back to defaults, if Neil's "proposed defaults" are a start, but they are incomplete from a Western K12/K14 education standpoint. Should we try to make them complete? |
I'd be tempted to drop Commiting forever to an "undefined default behaviour" and forcing opt-in to get an defined behaviour seems a high price to pay to get unchanged behaviour for a possibly non existing set of documents. |
Adding a couple of my comments from the meeting on May 25th:
|
We should discuss if the charter of the next WG will deliver a sample-set explicitting a default conversion from MathML (without intent) to MathML (with intent) so that legacy MathML expressions can be enriched (at least partially).
In the group's last call:
@dginev indicated that we should not make this a visible deliverable as we shall not have it in any way complete.
@polx suggested that we should promise it as such a promise has no indications of completion and it will be helpful for hinting a first intent-enrichment process.
Let's discuss this on this isse.
The text was updated successfully, but these errors were encountered: