Skip to content

Commit

Permalink
Merge pull request #73 from michmech/master
Browse files Browse the repository at this point in the history
Implement decisions on issues 52, 54, 56
Solutions agreed on 12th December, merge agreed unanimously on 20th December
DavidFatDavidF authored Dec 20, 2023
2 parents 4ffe253 + 4437ab8 commit a4aea7c
Showing 5 changed files with 38 additions and 3 deletions.
10 changes: 10 additions & 0 deletions dmlex-v1.0/specification/core/objectTypes/entry.xml
Original file line number Diff line number Diff line change
@@ -80,6 +80,16 @@
the English words "colour" and "color". </para>
</note>

<note>
<para> DMLex allows entries to contain zero senses. An entry with zero senses is an entry which
declares the existence of its headword and, optionally, gives some information about the
headword's morphosyntactical properties (part of speech, inflected forms etc.) but does not
say anything about its semantics, about its meaning. Such entries can exist as entries which
are work in progress, or as entries whose only purpose is to serve as members in
entry-to-entry relations (defined in the <olink targetptr="linking">DMLex Linking
Module</olink>) such as spelling variants (example: <xref linkend="ex15"/>).</para>
</note>

<note>
<para>Entries in DMLex do not have an explicit listing order. An application can imply a listing
order from a combination of the headword and the homograph number, such that the headword is
Original file line number Diff line number Diff line change
@@ -64,6 +64,12 @@
detailed metadata about the lexicographic resource, implementers are advised to refer to
the properties in the <link linkend="DublinCore">Dublin Core <code>elements</code> namespace</link> as for basic metadata. </para>
</listitem>
<listitem>
<para>DMLex allows lexicographic resources to contain zero entries. This is to enable the
existence of lexicographic resources which are work in progress, and lexicographic resources
whose only purpose is to contain relations (defined in the <olink targetptr="linking">DMLex Linking Module</olink>)
that link entries from other lexicographic resources.</para>
</listitem>
</itemizedlist>

<example>
12 changes: 11 additions & 1 deletion dmlex-v1.0/specification/core/objectTypes/pronunciation.xml
Original file line number Diff line number Diff line change
@@ -30,7 +30,9 @@
<itemizedlist>
<listitem>
<para><literal>soundFile</literal>
<glossterm>optional</glossterm> (zero or one) and <glossterm>unique</glossterm>. A pointer to a file, such as a filename or a URI, containing a sound recording of the pronunciation</para>
<glossterm>optional</glossterm> (zero or one) and <glossterm>unique</glossterm>. An
<emphasis>Internationalized Resource Identifier</emphasis> (<link linkend="bib_rfc3987">IRI</link>)
pointing to a file which contains a sound recording of the pronunciation</para>
</listitem>
<listitem>
<para><literal><olink targetptr="core_transcription">transcription</olink></literal>
@@ -48,6 +50,14 @@
<glossterm>optional</glossterm> (zero or more).</para>
</listitem>
</itemizedlist>

<note>
<para>
The value of the <literal>soundFile</literal> property is an IRI.
This means, among other things, that it can be an internet URL or a relative file path,
and can contain non-ASCII characters.
</para>
</note>

<example>
<title>XML</title>
9 changes: 9 additions & 0 deletions dmlex-v1.0/specification/dmlex.xml
Original file line number Diff line number Diff line change
@@ -619,6 +619,15 @@
<title/>
<bibliomixed id="bcp14">
<abbrev>BCP 14</abbrev> is a concatenation of [RFC 2119] and [RFC 8174] </bibliomixed>
<bibliomixed id="bib_rfc3987">
<abbrev>RFC 3987</abbrev>
Martin J. Dürst, Michel Suignard,
<title>Internationalized Resource Identifiers (IRIs)</title>,
<citetitle>
<ulink url="https://datatracker.ietf.org/doc/rfc3987/">https://datatracker.ietf.org/doc/rfc3987/</ulink>
</citetitle>
IETF (Internet Engineering Task Force) RFC 3987, January 2005.
</bibliomixed>
<bibliomixed id="rfc2119"><abbrev>RFC 2119</abbrev> S. Bradner, <title>Key words for use in
RFCs to Indicate Requirement Levels</title>, <citetitle>
<ulink url="https://www.ietf.org/rfc/rfc2119.txt"
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@
<title>Properties</title>
<listitem>
<para><literal>type</literal>
<glossterm>required</glossterm> (exactly one) and <glossterm>unique</glossterm> (in combination with all <literal>member</literal>) properties. Non-empty string. Specifies what type of
<glossterm>required</glossterm> (exactly one). Non-empty string. Specifies what type of
relation it is, for example a relation between synonyms or a relation between a sense and a
subsense. Optionally, <code><olink targetptr="linking_relationType"
>relationType</olink></code> objects can be used to explain those types and to constrain
@@ -35,7 +35,7 @@
</listitem>
<listitem>
<para><literal><olink targetptr="linking_member">member</olink></literal>
<glossterm>required</glossterm> (two or more) and <glossterm>unique</glossterm> (in combination with <literal>type</literal>).</para>
<glossterm>required</glossterm> (two or more).</para>
</listitem>
</itemizedlist>

0 comments on commit a4aea7c

Please sign in to comment.