Help

Difference between revisions of "Create your own lists/ja"

(Created page with "ウィキデータ項目、語彙素([https://query.wikidata.org/ ウィキデータのクエリ・サービス]を使います)、Petscanなどから来るリストを作成...")
(Updating to match new version of source page)
 
(25 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<languages/>
 
<languages/>
:''このページは[[Help:Lists]]とオーバーラップしています。マージまたは区別を歓迎します。''
+
:''このページは[[Help:Lists]]とオーバーラップしています。マージまたは区別化を歓迎します。''
  
録音ウィザードを使うと、誰でも録音するワードを既存のワードリストからインポートできます。それらのリストは''List'' 名前空間内にストアされたウィキのページです。そのため、貢献者はログインすれば自分のリストを作成したり、既存のものを編集したりできます。
+
録音ウィザードを使うと、誰でも録音する単語を既存の単語リストからインポートできます。それらのリストは''List'' 名前空間内にストアされたウィキのページです。そのため、貢献者はログインすれば自分のリストを作成したり、既存のものを編集したりできます。
  
 
== 既存のリストを探す ==
 
== 既存のリストを探す ==
{{Colapse|1=言語コードでストアされたリスト|2={{Special:AllPages|namespace=142}}}}
+
{{Colapse|1=言語コードごとのストアされたリスト|2={{Special:AllPages|namespace=142}}}}
 +
 
 +
{{Clickable button 3|Consult the page listing all lists|url=https://lingualibre.org/wiki/Special:AllPages?from=&to=&namespace=142|class=mw-ui-progressive}}
  
 
== 新しいリストを作成する ==
 
== 新しいリストを作成する ==
  
リストはLingua Libre 上に標準ウィキページとしてストアされています。その名前は標準化されています; リストで使われている言語のISO 639-3コード ([https://iso639-3.sil.org/code_tables/639/data complete list available here])で始まり、"/" で区切られ、最後に自分のワードリストに付ける名前で終わります。例えば、英語のvegetables のリストは <code>Eng/Vegetables</code>のようになります。
+
リストはLingua Libre 上に標準ウィキページとしてストアされています。その名前は標準化されています; リストで使われている言語のISO 639-3コード ([https://iso639-3.sil.org/code_tables/639/data 全体のリストはこちら])で始まり、"/" で区切られ、最後に自分のワードリストに付ける名前で終わります。例えば、英語のvegetables のリストは <code>Eng/Vegetables</code>のようになります。
 
 
前段で説明したように、あなたのリストの名前を下記のテキストボックスに入力して、自分のリストを作成します。そこにワードを追加します。その際、次のような形式でなければなりません:
 
* 行あたりひとつのワード;
 
* 行の先頭には単一の<code>#</code> または <code>*</code>を付加できます;
 
* リスト内にコメントを残さないでください。録音すべきワードとみなされてしまいます。
 
  
 +
前段で説明したように、あなたのリストの名前を下記のテキストボックスに入力して、自分のリストを作成します。そこに単語を追加します。その際、次のような形式でなければなりません:
 +
* 行あたりひとつの単語;
 +
* 行の先頭には単一の<code>#</code> を付加できます;
 +
* リスト内にコメントを残さないでください。録音すべき単語とみなされてしまいます。
  
 
<inputbox>
 
<inputbox>
Line 23: Line 24:
 
namespaces=List
 
namespaces=List
 
prefix=List:
 
prefix=List:
placeholder= リストの Eng/Name
+
placeholder= Jpn/リスト名
 
</inputbox>
 
</inputbox>
  
Line 30: Line 31:
 
ウィキデータ項目、語彙素([https://query.wikidata.org/ ウィキデータのクエリ・サービス]を使います)、Petscanなどから来るリストを作成することができます。
 
ウィキデータ項目、語彙素([https://query.wikidata.org/ ウィキデータのクエリ・サービス]を使います)、Petscanなどから来るリストを作成することができます。
  
;To generate lists from Wikidata:
+
;ウィキデータからリストを作るには:
* go to the 3rd step of the [[Special:RecordWizard|Record Wizard]] ("Details")
+
* [[Special:RecordWizard|録音ウィザード]] の3番目のステップ("詳細")に行き
* 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]]
+
;クエリの要件:
 +
* クエリは"?id"という名前のカラム内にQ番号 (またはフォーム用のLid-Fid)を、"?label"というカラム内に対応するテキストを返さなければなりません
 +
* リンクはクエリインタフェースへのリンク(結果に直接ではない)で、短縮されていないものでなければなりません
  
;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:
+
* 項目用: [https://query.wikidata.org/#SELECT%20%3Fid%20%3Flabel%0A%7B%0A%20%20%3Fid%20wdt%3AP31%2Fwdt%3AP279%2a%20wd%3AQ484170%20%3B%0A%20%20%20%20%20%20%20%20wdt%3AP131%20wd%3AQ12589.%0A%20%20%3Fid%20rdfs%3Alabel%20%3Flabel.%0A%20%20FILTER%28lang%28%3Flabel%29%20%3D%20%22fr%22%29.%0A%7D マンシュ県にあるコミューンのリスト]
 
+
<syntaxhighlight lang="sparql">
* For items: [https://query.wikidata.org/#SELECT%20%3Fid%20%3Flabel%0A%7B%0A%20%20%3Fid%20wdt%3AP31%2Fwdt%3AP279%2a%20wd%3AQ484170%20%3B%0A%20%20%20%20%20%20%20%20wdt%3AP131%20wd%3AQ12589.%0A%20%20%3Fid%20rdfs%3Alabel%20%3Flabel.%0A%20%20FILTER%28lang%28%3Flabel%29%20%3D%20%22fr%22%29.%0A%7D List of communes located in the department of Manche]
+
SELECT ?id ?label
<nowiki>SELECT ?id ?label
 
 
{
 
{
 
   ?id wdt:P31/wdt:P279* wd:Q484170 ;
 
   ?id wdt:P31/wdt:P279* wd:Q484170 ;
Line 50: Line 50:
 
   ?id rdfs:label ?label.
 
   ?id rdfs:label ?label.
 
   FILTER(lang(?label) = "fr").
 
   FILTER(lang(?label) = "fr").
}</nowiki>
+
}
 +
</syntaxhighlight>
  
* 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]
+
* 語彙素用: [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 音声録音がまだ追加されていないフランス語の名詞のリスト]
<nowiki>SELECT ?id ?label WHERE {
+
 
 +
<syntaxhighlight lang="sparql">
 +
SELECT ?id ?label
 +
WHERE {
 
   ?l a ontolex:LexicalEntry ; dct:language wd:Q150 ; wikibase:lexicalCategory wd:Q1084 ; ontolex:lexicalForm ?id .
 
   ?l a ontolex:LexicalEntry ; dct:language wd:Q150 ; wikibase:lexicalCategory wd:Q1084 ; ontolex:lexicalForm ?id .
 
   ?id ontolex:representation ?label .
 
   ?id ontolex:representation ?label .
 
   FILTER NOT EXISTS { ?id wdt:P443 ?audio. }
 
   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]
+
</syntaxhighlight>
<nowiki>SELECT ?id ?label WHERE {
+
* [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 音声録音がまだ追加されていない英語の名詞のリスト]
 +
<syntaxhighlight lang="sparql">
 +
SELECT ?id ?label
 +
WHERE {
 
   ?l a ontolex:LexicalEntry ; dct:language wd:Q1860 ; wikibase:lexicalCategory wd:Q1084 ; ontolex:lexicalForm ?id .
 
   ?l a ontolex:LexicalEntry ; dct:language wd:Q1860 ; wikibase:lexicalCategory wd:Q1084 ; ontolex:lexicalForm ?id .
 
   ?id ontolex:representation ?label .
 
   ?id ontolex:representation ?label .
 
   FILTER NOT EXISTS { ?id wdt:P443 ?audio. }
 
   FILTER NOT EXISTS { ?id wdt:P443 ?audio. }
}</nowiki>
+
}
 +
</syntaxhighlight>
 +
 
  
 +
== 多言語の単語リスト ==
  
== Multi-lingual wordlist ==
+
多言語の単語リスト --対象となる単語の翻訳を含む単語リスト-- は現在サポートされていません。LinguaLibre の開発及びバグ追跡システム ([https://phabricator.wikimedia.org/T211086 T211086])にイシューがオープンされています。
  
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]).
+
== See also ==
 +
{{Helps}}

Latest revision as of 18:34, 20 November 2022

Other languages:
Deutsch • ‎English • ‎Igbo • ‎brezhoneg • ‎español • ‎français • ‎norsk bokmål • ‎occitan • ‎português do Brasil • ‎sicilianu • ‎svenska • ‎македонски • ‎தமிழ் • ‎日本語 • ‎ꯃꯤꯇꯩ ꯂꯣꯟ
このページはHelp:Listsとオーバーラップしています。マージまたは区別化を歓迎します。

録音ウィザードを使うと、誰でも録音する単語を既存の単語リストからインポートできます。それらのリストはList 名前空間内にストアされたウィキのページです。そのため、貢献者はログインすれば自分のリストを作成したり、既存のものを編集したりできます。

既存のリストを探す

言語コードごとのストアされたリスト

Consult the page listing all lists

新しいリストを作成する

リストはLingua Libre 上に標準ウィキページとしてストアされています。その名前は標準化されています; リストで使われている言語のISO 639-3コード (全体のリストはこちら)で始まり、"/" で区切られ、最後に自分のワードリストに付ける名前で終わります。例えば、英語のvegetables のリストは Eng/Vegetablesのようになります。

前段で説明したように、あなたのリストの名前を下記のテキストボックスに入力して、自分のリストを作成します。そこに単語を追加します。その際、次のような形式でなければなりません:

  • 行あたりひとつの単語;
  • 行の先頭には単一の# を付加できます;
  • リスト内にコメントを残さないでください。録音すべき単語とみなされてしまいます。

クエリでリストを生成する

ウィキデータ項目、語彙素(ウィキデータのクエリ・サービスを使います)、Petscanなどから来るリストを作成することができます。

ウィキデータからリストを作るには
  • 録音ウィザード の3番目のステップ("詳細")に行き
  • 画面右下にあるボタン"外部ツール" をクリックして
  • 現れたダイアログウィンドウで、ウィキデータのリンクを追加して取得したい単語の数を選ぶことができます
クエリの要件
  • クエリは"?id"という名前のカラム内にQ番号 (またはフォーム用のLid-Fid)を、"?label"というカラム内に対応するテキストを返さなければなりません
  • リンクはクエリインタフェースへのリンク(結果に直接ではない)で、短縮されていないものでなければなりません

利用または編集可能なクエリのサンプル

SELECT ?id ?label
{
  ?id wdt:P31/wdt:P279* wd:Q484170 ;
        wdt:P131 wd:Q12589.
  ?id rdfs:label ?label.
  FILTER(lang(?label) = "fr").
}
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. }
}


多言語の単語リスト

多言語の単語リスト --対象となる単語の翻訳を含む単語リスト-- は現在サポートされていません。LinguaLibre の開発及びバグ追跡システム (T211086)にイシューがオープンされています。

See also

Lingua Libre Help pages
General help pages Help:InterfaceHelp:Your first recordHelp:Choosing a microphoneHelp:Configure your microphoneHelp:TranslateHelp:LangtagsLinguaLibre:Language codes systems used across LinguaLibreLinguaLibre:List of languages
Linguistic help pages Help:Add a new languageHelp:HomographsHelp:List translationHelp:Ethics
Lists help pages Help:Create your own listsHelp:How to create a frequency list?Help:Why wordlists matter?Help:Swadesh listsHelp:ListsHelp:Create a new generator
Events, Outreach Lingualibre:EventsLingualibre:RolesLingualibre:WorkshopsLingualibre:HackathonLingualibre:Interested communitiesLingualibre:Events/2022 Public Relations CampaignLingualibre:MailingLingualibre:JargonLingualibre:AppsLingualibre:CitationsService civique 2022-2023
Strategy Lingualibre 2022 Review (including outreach)2022-2023 Lingualibre wishlist • {{Wikimedia Language Diversity/Projects}} • Speakers map • Voices gender • StatsLingua Libre SignIt/2022 report • {{Grants}}