Help

Difference between revisions of "Create your own lists"

m
(→‎Generate lists from queries: added English nouns without an audio recording)
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<languages/>
 
<languages/>
 
<translate>
 
<translate>
 +
:''This page is overlaping with [[Help:Lists]]. Merging or differentiation welcome.''
 
<!--T:1-->
 
<!--T:1-->
 
The RecordWizard allow anyone to import words to record from already existing word lists. Those lists are wiki pages stored in the ''List'' namespace. Thus, any logged contributor can create its own lists or edit existing one.
 
The RecordWizard allow anyone to import words to record from already existing word lists. Those lists are wiki pages stored in the ''List'' namespace. Thus, any logged contributor can create its own lists or edit existing one.
Line 28: Line 29:
 
placeholder= <translate><!--T:8--> Eng/Name of the list</translate>
 
placeholder= <translate><!--T:8--> Eng/Name of the list</translate>
 
</inputbox>
 
</inputbox>
 +
 +
== Generate lists from queries ==
 +
It is possible to generate lists coming from Wikidata Items or Lexemes (using [https://query.wikidata.org/ Wikidata's Query Service]) or Petscan.
 +
 +
;To generate lists from Wikidata:
 +
* go to the 3rd step of the [[Special:RecordWizard|Record Wizard]] ("Details")
 +
* click on the button "External tools" on the bottom right corner
 +
* in the dialog window that appears, you can add the link of a Wikidata query and choose the number of words you want to get from it
 +
 +
 +
[[File:Screenshot generate list from Wikidata.png|600px|center]]
 +
 +
 +
;Requirements for the query:
 +
* The query must return the Qid (or the Lid-Fid for Forms) in a column named "?id", and the corresponding text in a column named "?label"
 +
* The link must be a link to the query interface (not the direct result) and should not be shortened
 +
 +
;Examples of queries that you can use or edit:
 +
 +
* For items: ...todo
 +
 +
* For Lexemes: [https://query.wikidata.org/#SELECT%20%3Fid%20%3Flabel%20WHERE%20%7B%0A%20%20%3Fl%20a%20ontolex%3ALexicalEntry%20%3B%20dct%3Alanguage%20wd%3AQ150%20%3B%20wikibase%3AlexicalCategory%20wd%3AQ1084%20%3B%20ontolex%3AlexicalForm%20%3Fid%20.%0A%20%20%3Fid%20ontolex%3Arepresentation%20%3Flabel%20.%0A%20%20FILTER%20NOT%20EXISTS%20%7B%20%3Fid%20wdt%3AP443%20%3Faudio.%20%7D%0A%7D List of French nouns that have no audio recording added]
 +
<nowiki>SELECT ?id ?label WHERE {
 +
  ?l a ontolex:LexicalEntry ; dct:language wd:Q150 ; wikibase:lexicalCategory wd:Q1084 ; ontolex:lexicalForm ?id .
 +
  ?id ontolex:representation ?label .
 +
  FILTER NOT EXISTS { ?id wdt:P443 ?audio. }
 +
}</nowiki>
 +
* [https://query.wikidata.org/#SELECT%20%3Fid%20%3Flabel%20WHERE%20%7B%0A%20%20%3Fl%20a%20ontolex%3ALexicalEntry%20%3B%20dct%3Alanguage%20wd%3AQ1860%20%3B%20wikibase%3AlexicalCategory%20wd%3AQ1084%20%3B%20ontolex%3AlexicalForm%20%3Fid%20.%0A%20%20%3Fid%20ontolex%3Arepresentation%20%3Flabel%20.%0A%20%20FILTER%20NOT%20EXISTS%20%7B%20%3Fid%20wdt%3AP443%20%3Faudio.%20%7D%0A%7D List of English nouns that have no audio recording added]
 +
<nowiki>SELECT ?id ?label WHERE {
 +
  ?l a ontolex:LexicalEntry ; dct:language wd:Q1860 ; wikibase:lexicalCategory wd:Q1084 ; ontolex:lexicalForm ?id .
 +
  ?id ontolex:representation ?label .
 +
  FILTER NOT EXISTS { ?id wdt:P443 ?audio. }
 +
}</nowiki>
 +
 +
== Multi-lingual wordlist ==
 +
Multi-lingual wordlist --wordlist including the translation of target words-- are not supported at the moment. An issue have been opened on LinguaLibre developments and bugs tracking system ([https://phabricator.wikimedia.org/T211086 T211086]).

Revision as of 13:06, 17 February 2019

Other languages:
Deutsch • ‎English • ‎Igbo • ‎brezhoneg • ‎español • ‎français • ‎norsk bokmål • ‎occitan • ‎português do Brasil • ‎sicilianu • ‎svenska • ‎македонски • ‎தமிழ் • ‎日本語 • ‎ꯃꯤꯇꯩ ꯂꯣꯟ
This page is overlaping with Help:Lists. Merging or differentiation welcome.

The RecordWizard allow anyone to import words to record from already existing word lists. Those lists are wiki pages stored in the List namespace. Thus, any logged contributor can create its own lists or edit existing one.

Explore existing lists

Lists sorted by language code

Create a new list

Lists are stored on Lingua Libre as standard wikipages. Their names are standardized; it starts with the code ISO 639-3 (complete list available here) of the language used in the list, the slash "/" punctuation mark, and at last the name you want to give to your word list. For example, for a list of vegetables in English: Eng/Vegetables.

Enter the name of your list (as explained in the previous paragraph) in the textbox below to create your list. You will then be able to add words to it. It should be formated as follow:

  • One word per line;
  • Words can be preceded by a single # or *;
  • Do not leave any comments inside your list, otherwise they will be treated as words to record.


Generate lists from queries

It is possible to generate lists coming from Wikidata Items or Lexemes (using Wikidata's Query Service) or Petscan.

To generate lists from Wikidata
  • go to the 3rd step of the Record Wizard ("Details")
  • click on the button "External tools" on the bottom right corner
  • in the dialog window that appears, you can add the link of a Wikidata query and choose the number of words you want to get from it



Requirements for the query
  • The query must return the Qid (or the Lid-Fid for Forms) in a column named "?id", and the corresponding text in a column named "?label"
  • The link must be a link to the query interface (not the direct result) and should not be shortened
Examples of queries that you can use or edit
  • For items: ...todo
SELECT ?id ?label WHERE {
  ?l a ontolex:LexicalEntry ; dct:language wd:Q150 ; wikibase:lexicalCategory wd:Q1084 ; ontolex:lexicalForm ?id .
  ?id ontolex:representation ?label .
  FILTER NOT EXISTS { ?id wdt:P443 ?audio. }
}
SELECT ?id ?label WHERE {
  ?l a ontolex:LexicalEntry ; dct:language wd:Q1860 ; wikibase:lexicalCategory wd:Q1084 ; ontolex:lexicalForm ?id .
  ?id ontolex:representation ?label .
  FILTER NOT EXISTS { ?id wdt:P443 ?audio. }
}

Multi-lingual wordlist

Multi-lingual wordlist --wordlist including the translation of target words-- are not supported at the moment. An issue have been opened on LinguaLibre developments and bugs tracking system (T211086).