From 4520e1c962a8d1e277c0aaa295b833dde12f8657 Mon Sep 17 00:00:00 2001 From: "John P. McCrae" Date: Tue, 28 Nov 2023 14:37:57 +0000 Subject: [PATCH 1/2] Fix minor typo --- .../modules/values/extensions/lexicographicResource.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmlex-v1.0/specification/modules/values/extensions/lexicographicResource.xml b/dmlex-v1.0/specification/modules/values/extensions/lexicographicResource.xml index 6d97245..585e080 100644 --- a/dmlex-v1.0/specification/modules/values/extensions/lexicographicResource.xml +++ b/dmlex-v1.0/specification/modules/values/extensions/lexicographicResource.xml @@ -72,7 +72,7 @@ "labelTypeTags": [...], "partOfSpeechTags": [...], "sourceIdentityTags": [...] - "transcriptionSchemeTag": [...] + "transcriptionSchemeTags": [...] } From 26bebd420005e8e43d360dadc4329032697522b2 Mon Sep 17 00:00:00 2001 From: "John P. McCrae" Date: Wed, 6 Dec 2023 12:08:06 +0000 Subject: [PATCH 2/2] Add properties for `startIndex` and `endIndex` --- .../annotation/objectTypes/collocateMarker.xml | 9 +++++++++ .../annotation/objectTypes/headwordMarker.xml | 15 ++++++++++++++- .../annotation/objectTypes/placeholderMarker.xml | 15 ++++++++++++++- 3 files changed, 37 insertions(+), 2 deletions(-) diff --git a/dmlex-v1.0/specification/modules/annotation/objectTypes/collocateMarker.xml b/dmlex-v1.0/specification/modules/annotation/objectTypes/collocateMarker.xml index f2db139..cc2d478 100644 --- a/dmlex-v1.0/specification/modules/annotation/objectTypes/collocateMarker.xml +++ b/dmlex-v1.0/specification/modules/annotation/objectTypes/collocateMarker.xml @@ -28,6 +28,15 @@ Properties + + startIndex (required). Non-negative integer. The index of the first character of the substring + according to the number of Unicode code points. The first character of the string has index + 0. This property may be implicit if using in-line markup. + + + endIndex (required). Non-negative integer. The index of the last character after the substring + according to the number of Unicode code points. This property may be implicit if using in-line markup + lemma optional (zero or one) and unique. Non-empty string. The lemmatized form of the diff --git a/dmlex-v1.0/specification/modules/annotation/objectTypes/headwordMarker.xml b/dmlex-v1.0/specification/modules/annotation/objectTypes/headwordMarker.xml index 4712f3c..7b35e8f 100644 --- a/dmlex-v1.0/specification/modules/annotation/objectTypes/headwordMarker.xml +++ b/dmlex-v1.0/specification/modules/annotation/objectTypes/headwordMarker.xml @@ -25,7 +25,20 @@ exampleTranslation - + + + Properties + + startIndex (required). Non-negative integer. The index of the first character of the substring + according to the number of Unicode code points. The first character of the string has index + 0. This property may be implicit if using in-line markup. + + + endIndex (required). Non-negative integer. The index of the last character after the substring + according to the number of Unicode code points. This property may be implicit if using in-line markup + + + XML diff --git a/dmlex-v1.0/specification/modules/annotation/objectTypes/placeholderMarker.xml b/dmlex-v1.0/specification/modules/annotation/objectTypes/placeholderMarker.xml index 9b9fd34..14db258 100644 --- a/dmlex-v1.0/specification/modules/annotation/objectTypes/placeholderMarker.xml +++ b/dmlex-v1.0/specification/modules/annotation/objectTypes/placeholderMarker.xml @@ -23,7 +23,20 @@ headwordTranslation - + + + Properties + + startIndex (required). Non-negative integer. The index of the first character of the substring + according to the number of Unicode code points. The first character of the string has index + 0. This property may be implicit if using in-line markup. + + + endIndex (required). Non-negative integer. The index of the last character after the substring + according to the number of Unicode code points. This property may be implicit if using in-line markup + + + XML