Repository navigation
Conversation
closes doclang-project#142) Write the classifier score range of the `topic` metadata element as the interval [0, 1] instead of "0<=Scores<=1", per ISO/IEC Directives, Part 2:2021, 9.4.1. No other prose occurrence needs a change: the prose contains no values with unit symbols, and the remaining ranges are either already in ISO notation, in generated Annex A, in code or examples, or not quantity values. Signed-off-by: Florent <florent.tariolle@gmail.com>
|
Thanks for this contribution. I agree with the way of representing the range, however I'm not sure about using the ∈ sign. It's not that it's incorrect, but it's not used anywhere else in the spec at this point. Currently the spec instead simply uses "in" or "within". I don't know whether @vagenas or @PeterStaar-IBM have a preference over this but I think we should be consistent. So, I would suggest sticking to the current way it's done for this PR and then submit another PR which addresses all the occurrences where the ∈ sign should be used if there is agreement that's the way we want to go. |
Write the range as "in [0, 1]" instead of "∈ [0, 1]", consistent with the `language` score and the rest of the spec, which use "in" or "within" rather than the ∈ sign. Also replace the undefined "Scores" with the `score` attribute (as used in the `topic` examples) and fix "preferrably". Signed-off-by: Florent <florent.tariolle@gmail.com>
Thanks, switched to "in [0, 1]" to match the |
Part of #146, closes #142.
Writes the
topicscore range0<=Scores<=1as an interval, "in [0, 1]", per ISO/IEC Directives, Part 2:2021, 9.4.1, consistent with thelanguagescore. Also replaces the undefinedScoreswith thescoreattribute (as used in thetopicexamples) and fixes "preferrably".This is the only prose occurrence that needed a change: the prose has no values with unit symbols, and the other ranges are already in ISO notation, generated (Annex A), in code or examples, or not quantity values. I left
X >= 1(versioning clause) and the field cardinalities0-1/0..1as they are, but can change them if wanted.