Skip to content

Commit

Permalink
remove all unnecessary IDs from pseudocode in examples
Browse files Browse the repository at this point in the history
Related to #87.
  • Loading branch information
michmech committed Jun 2, 2024
1 parent 2d1da46 commit 23c08e4
Show file tree
Hide file tree
Showing 15 changed files with 26 additions and 26 deletions.
6 changes: 3 additions & 3 deletions dmlex-v1.0/specification/examples/examples/00.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
<title>Pseudocode</title>
<programlisting>
- lexicographicResource (uri: http://example.com, langCode: en)
- entry (id: abandon-verb, headword: abandon)
- entry (headword: abandon)
- partOfSpeech (tag: verb)
- sense (id: abandon-verb-1)
- sense
- definition (text: to suddenly leave a place or a person)
- example (text: I'm sorry I abandoned you like that.)
- example (text: Abandon ship!)
- label (tag: idiom)
- sense (id: abandon-verb-2)
- sense
- label (tag: mostly-passive)
- definition (text: to stop supporting an idea)
- example (text: That theory has been abandoned.)
Expand Down
2 changes: 1 addition & 1 deletion dmlex-v1.0/specification/examples/examples/01.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<example>
<title>Pseudocode</title>
<programlisting>
- entry (id: folúsghlantóir-n, headword: folúsghlantóir)
- entry (headword: folúsghlantóir)
- partOfSpeech (tag: n-masc)
- inflectedForm (tag: sg-gen, text: folúsghlantóra)
- inflectedForm (tag: pl, text: folúsghlantóirí)
Expand Down
2 changes: 1 addition & 1 deletion dmlex-v1.0/specification/examples/examples/02.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<example>
<title>Pseudocode</title>
<programlisting>
- entry (id: aardvark-noun, headword: aardvark)
- entry (headword: aardvark)
- pronunciation
- transcription (text: a:rdva:rk)
- sense...
Expand Down
2 changes: 1 addition & 1 deletion dmlex-v1.0/specification/examples/examples/03.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<example>
<title>Pseudocode</title>
<programlisting>
- entry (id: aardvark-noun, headword: aardvark)
- entry (headword: aardvark)
- pronunciation (soundFile: aardvark.mp3)
- sense: ...
</programlisting>
Expand Down
2 changes: 1 addition & 1 deletion dmlex-v1.0/specification/examples/examples/04.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<example>
<title>Pseudocode</title>
<programlisting>
- entry (id: aardvark-noun, headword: aardvark)
- entry (headword: aardvark)
- pronunciation (soundFile: aardvark.mp3)
- transcription (text: a:rdva:rk)
- sense: ...
Expand Down
2 changes: 1 addition & 1 deletion dmlex-v1.0/specification/examples/examples/05.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<title>Pseudocode</title>
<programlisting>
- lexicographicResource (uri: http://example.com, langCode: ga)
- entry (id: folúsghlantóir-n, headword: folúsghlantóir)
- entry (headword: folúsghlantóir)
- partOfSpeech (tag: n-masc)
- inflectedForm (tag: sg-gen, text: folúsghlantóra)
- inflectedForm (tag: pl, text: folúsghlantóirí)
Expand Down
6 changes: 3 additions & 3 deletions dmlex-v1.0/specification/examples/examples/08.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
<example>
<title>Pseudocode</title>
<programlisting>
- entry (id: doctor-n, headword: doctor)
- sense (id: doctor-n-1, indicator: medical doctor)
- entry (headword: doctor)
- sense (indicator: medical doctor)
- headwordTranslation (text: Arzt)
- partOfSpeech (tag: n-masc)
- headwordTranslation (text: Ärztin)
- partOfSpeech (tag: n-fem)
- sense (id: doctor-n-2, indicator: academic title)
- sense (indicator: academic title)
- headwordTranslation (text: Doktor)
- partOfSpeech (tag: n-masc)
- headwordTranslation (text: Doktorin)
Expand Down
4 changes: 2 additions & 2 deletions dmlex-v1.0/specification/examples/examples/09.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
<example>
<title>Pseudocode</title>
<programlisting>
- entry (id: treppenwitz, headword: Treppenwitz)
- entry (headword: Treppenwitz)
- partOfSpeech (tag: n-masc)
- sense (id: treppenwitz-1)
- sense
- headwordExplanation (text: belated realisation of
what one could have said)
- headwordTranslation (text: staircase wit)
Expand Down
6 changes: 3 additions & 3 deletions dmlex-v1.0/specification/examples/examples/11.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
<example>
<title>Pseudocode</title>
<programlisting>
- entry (id: fómhar-n, headword: fómhar)
- sense (id: fómhar-n-1)
- entry (headword: fómhar)
- sense
- headwordTranslation (langCode: en, text: autumn)
- headwordTranslation (langCode: en, text: fall)
- headwordTranslation (langCode: de, text: Herbst)
- headwordTranslation (langCode: cs, text: podzim)
- sense (id: fómhar-n-2)
- sense
- headwordTranslation (langCode: en, text: harvest)
- headwordTranslation (langCode: de, text: Ernte)
- headwordTranslation (langCode: cs, text: sklizeň)
Expand Down
2 changes: 1 addition & 1 deletion dmlex-v1.0/specification/examples/examples/19.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<example>
<title>Pseudocode</title>
<programlisting>
- entry (id: continue-studies, headword: continue your studies,
- entry (headword: continue your studies,
placeholderMarker: "your")
- sense ...
</programlisting>
Expand Down
4 changes: 2 additions & 2 deletions dmlex-v1.0/specification/examples/examples/20.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<example>
<title>Pseudocode</title>
<programlisting>
- entry (id: beat-up, headword: beat sb. up, placeholderMarker: "sb.")
- sense (id: beat-up-1)
- entry (headword: beat sb. up, placeholderMarker: "sb.")
- sense
headwordTranslation (text: jemanden verprügeln,
placeholderMarker: "jemanden")
</programlisting>
Expand Down
4 changes: 2 additions & 2 deletions dmlex-v1.0/specification/examples/examples/21.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<example>
<title>Pseudocode</title>
<programlisting>
- entry (id: autopsy, headword: autopsy)
- sense (id: autopsy-1)
- entry (headword: autopsy)
- sense
- headwordTranslation (text: pitva)
- example (text: The coroner performed an autopsy.,
headwordMarker: "autopsy")
Expand Down
4 changes: 2 additions & 2 deletions dmlex-v1.0/specification/examples/examples/22.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<example>
<title>Pseudocode</title>
<programlisting>
- entry (id: autopsy, headword: autopsy)
- sense id: autopsy-1)
- entry (headword: autopsy)
- sense
- headwordTranslation (text: pitva)
- example (text: The coroner performed an autopsy.)
- headwordMarker: "autopsy"
Expand Down
2 changes: 1 addition & 1 deletion dmlex-v1.0/specification/examples/examples/23.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<example>
<title>Pseudocode</title>
<programlisting>
- entry (id: cat-n, headword: cat)
- entry (headword: cat)
- sense ...
- etymology
- etymon
Expand Down
4 changes: 2 additions & 2 deletions dmlex-v1.0/specification/examples/examples/24.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<title>Pseudocode</title>
<programlisting>
- lexicographicResource (langCode: en)
- entry (id: school-noun-2, headword: school)
- entry (headword: school)
- etymology (description: Middle Dutch scole ("multitude,
troop, crowd, school") from Proto-Germanic
*skulō; doublet of shoal)
Expand All @@ -28,7 +28,7 @@
- etymonLanguage (langCode: dum, displayName: Middle Dutch)
- etymonLanguage (langCode: gem-pro, displayName: Proto-Germanic)
- etymonType (name: derivation,
description: A historical form of the word)
description: A historical form of the word)
- etymonType (name: doublet,
description: Two words derived from the same etymological root)
</programlisting>
Expand Down

0 comments on commit 23c08e4

Please sign in to comment.