-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #124 from jmccrae/example-sources
Example sources
- Loading branch information
Showing
152 changed files
with
2,263 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"uri": "http://example.com", | ||
"langCode": "en", | ||
"title": "Example Dictionary", | ||
"entries": [{ | ||
"id": "abandon-verb", | ||
"headword": "abandon", | ||
"partsOfSpeech": ["verb"], | ||
"senses": [{ | ||
"id": "abandon-verb-1", | ||
"definitions": [{ | ||
"text": "to suddenly leave a place or a person" | ||
}], | ||
"examples": [{ | ||
"text": "I'm sorry I abandoned you like that." | ||
}, { | ||
"text": "Abandon ship!", | ||
"labels": ["idiom"] | ||
}] | ||
}, { | ||
"id": "abandon-verb-2", | ||
"labels": ["mostly-passive"], | ||
"definitions": [{"text":"to stop supporting an idea"}], | ||
"examples": [{ | ||
"text": "That theory has been abandoned." | ||
}] | ||
}] | ||
}] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<!-- This example is automatically generated. DO NOT EDIT --> | ||
<programlisting> | ||
{ | ||
"uri": "http://example.com", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
PREFIX dmlex: <http://www.oasis-open.org/to-be-confirmed/dmlex#> | ||
PREFIX ex: <http://www.example.com/#> | ||
|
||
ex:lexicon a dmlex:LexicographicResource; | ||
dmlex:title "Example Dictionary"; | ||
dmlex:uri "http://example.com"; | ||
dmlex:langCode "en"; | ||
dmlex:entry ex:abandon-verb. | ||
|
||
ex:abandon-verb a dmlex:Entry; | ||
dmlex:sense ex:abandon-verb-1, | ||
ex:abandon-verb-2; | ||
dmlex:partOfSpeech [ | ||
dmlex:tag "verb"; | ||
dmlex:listingOrder "1"^^xsd:unsignedInt ]; | ||
dmlex:headword "abandon". | ||
|
||
ex:abandon-verb-1 a dmlex:Sense; | ||
dmlex:definition [ a dmlex:Definition; | ||
dmlex:text "to suddenly leave a place or a person"; | ||
dmlex:listingOrder "1"^^xsd:unsignedInt ]; | ||
dmlex:example [ a dmlex:Example; | ||
dmlex:text "I'm sorry I abandoned you like that."; | ||
dmlex:listingOrder "1"^^xsd:unsignedInt ], | ||
[ a dmlex:Example; | ||
dmlex:text "Abandon ship!"; | ||
dmlex:label [ | ||
dmlex:listingOrder "1"^^xsd:unsignedInt; | ||
dmlex:tag "idiom" ]; | ||
dmlex:listingOrder "2"^^xsd:unsignedInt ]; | ||
dmlex:listingOrder "1"^^xsd:unsignedInt. | ||
|
||
ex:abandon-verb-2 a dmlex:Sense; | ||
dmlex:listingOrder "2"^^xsd:unsignedInt; | ||
dmlex:label [ | ||
dmlex:tag "mostly-passive"; | ||
dmlex:listingOrder "1"^^xsd:unsignedInt ]; | ||
dmlex:example [ a dmlex:Example; | ||
dmlex:listingOrder "1"^^xsd:unsignedInt; | ||
dmlex:text "That theory has been abandoned." ]; | ||
dmlex:definition [ a dmlex:Definition; | ||
dmlex:listingOrder "1"^^xsd:unsignedInt; | ||
dmlex:text "to stop supporting an idea" ]. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<lexicographicResource title="Example Dictionary" | ||
uri="http://example.com" langCode="en"> | ||
<entry id="abandon-verb"> | ||
<headword>abandon</headword> | ||
<partOfSpeech tag="verb"/> | ||
<sense id="abandon-verb-1"> | ||
<definition> | ||
<text>to suddenly leave a place or a person</text> | ||
</definition> | ||
<example> | ||
<text>I'm sorry I abandoned you like that.</text> | ||
</example> | ||
<example> | ||
<text>Abandon ship!</text> | ||
<label tag="idiom"/> | ||
</example> | ||
</sense> | ||
<sense id="abandon-verb-2"> | ||
<label tag="mostly-passive"/> | ||
<definition> | ||
<text>to stop supporting an idea</text> | ||
</definition> | ||
<example> | ||
<text>That theory has been abandoned.</text> | ||
</example> | ||
</sense> | ||
</entry> | ||
</lexicographicResource> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"id": "folúsghlantóir-n", | ||
"headword": "folúsghlantóir", | ||
"partsOfSpeech": ["n-masc"], | ||
"inflectedForms": [{ | ||
"tag": "sg-gen", | ||
"text": "folúsghlantóra" | ||
}, { | ||
"tag": "pl", | ||
"text": "folúsghlantóirí" | ||
}], | ||
"senses": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<!-- This example is automatically generated. DO NOT EDIT --> | ||
<programlisting> | ||
{ | ||
"id": "folúsghlantóir-n", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
PREFIX dmlex: <http://www.oasis-open.org/to-be-confirmed/dmlex#> | ||
PREFIX ex: <http://www.example.com/#> | ||
|
||
ex:folúsghlantóir-n a dmlex:Entry; | ||
dmlex:headword "folúsghlantóir"; | ||
dmlex:partOfSpeech [ | ||
dmlex:listingOrder "1"^^xsd:unsignedInt; | ||
dmlex:tag "n-masc" ]. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<entry id="folúsghlantóir-n"> | ||
<headword>folúsghlantóir</headword> | ||
<partOfSpeech tag="n-masc"/> | ||
<inflectedForm tag="sg-gen"> | ||
<text>folúsghlantóra</text> | ||
</inflectedForm> | ||
<inflectedForm tag="pl"> | ||
<text>folúsghlantóirí</text> | ||
</inflectedForm> | ||
</entry> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"title": "My Irish-Multilingual Dictionary", | ||
"uri": "http://example.com", | ||
"langCode": "ga", | ||
"translationLanguages": ["en", "de", "cs"] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
PREFIX dmlex: <http://www.oasis-open.org/to-be-confirmed/dmlex#> | ||
PREFIX ex: <http://www.example.com/#> | ||
|
||
ex:lexicon a dmlex:LexicographicResource; | ||
dmlex:title "My Irish-Multilingual Dictionary"; | ||
dmlex:uri "http://example.com"; | ||
dmlex:translationLanguage [ | ||
dmlex:langCode "cs" ; | ||
dmlex:listingOrder 1 | ||
] , [ | ||
dmlex:langCode "en" ; | ||
dmlex:listingOrder 2 | ||
] , [ | ||
dmlex:langCode "de" ; | ||
dmlex:listingOrder 3 ] ; | ||
dmlex:langCode "ga". | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<lexicographicResource title="My Irish-Multilingual Dictionary" | ||
uri="http://example.com" langCode="ga"> | ||
<translationLanguage langCode="en"/> | ||
<translationLanguage langCode="de"/> | ||
<translationLanguage langCode="cs"/> | ||
</lexicographicResource> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.