DictionaryLookup[patt]
文字列パターン patt にマッチする英語の辞書中の単語を探す.
DictionaryLookup[patt,n]
見付かった単語の最初の n 個だけを返す.
DictionaryLookup[{"lang",patt}]
lang で指定された言語中の単語を探す.
DictionaryLookup
DictionaryLookup[patt]
文字列パターン patt にマッチする英語の辞書中の単語を探す.
DictionaryLookup[patt,n]
見付かった単語の最初の n 個だけを返す.
DictionaryLookup[{"lang",patt}]
lang で指定された言語中の単語を探す.
詳細とオプション
- デフォルトでは単語の語尾変化は考慮されないので,"jump","jumps","jumping"は別々の語とされる.
- デフォルトで,単語は文中で使われるように表示される.オプション設定IgnoreCase->Trueとすると,大文字小文字が異なって用いられている単語も読み出される.
- DictionaryLookup[]は辞書中のすべての語のリストを返す.
- DictionaryLookup[All]は使用可能な辞書言語のリストを与える.
- DictionaryLookup[{"lang",All}]は,言語辞書 lang にあるすべての語を検索する.
- DictionaryLookup[{All,patt}]はすべての言語で patt にマッチする語を検索する.
例題
すべて開く すべて閉じる例 (3)
スコープ (3)
「jumps」と「jumping」のような派生語は別々に現れる:
DictionaryLookup["jump" ~~ ___]DictionaryLookupは文字列内のパターンをサポートする:
DictionaryLookup["jump*"]DictionaryLookup["z" ~~ ___, 10]一般化と拡張 (3)
DictionaryLookup[All]使用可能なすべての言語から「molecu」で始まる語を探す:
DictionaryLookup[{All, "molecu" ~~ ___}]オランダ語とスペイン語の中で「molecula」で始まる語をすべて求める:
DictionaryLookup[{{"Dutch", "Spanish"}, "molecula" ~~ ___}]DictionaryLookup[{All, "fiancée"}]オプション (1)
アプリケーション (5)
Length[DictionaryLookup[# ~~ ___]]& /@ CharacterRange["a", "z"]ListPlot[%, Filling -> Axis]DictionaryLookup[x__ /; x === StringReverse[x]]英語でもありフランス語でもある回文構造のすべての単語を求める:
Intersection[DictionaryLookup[{"English", x__ /; x === StringReverse[x]}], DictionaryLookup[{"French", x__ /; x === StringReverse[x]}]]いくつの言葉が,「a」,「b」,「c」の可能な各置換形を含んでいるかを求める:
StringJoin /@ Permutations[{"a", "b", "c"}]Length[DictionaryLookup[___ ~~ # ~~ ___]]& /@ %「a」から「e」までの文字を使って形成できる4文字の語をすべて求める:
Select[StringJoin /@ Tuples[{"a", "b", "c", "d", "e"}, 4], Length[DictionaryLookup[#]] ≠ 0&]nf = Nearest[DictionaryLookup[__]]nf["pickel"]nf["pickel", 10]おもしろい例題 (4)
DictionaryLookup[("a" | "g" | "c" | "t").., IgnoreCase -> True]RandomChoice[DictionaryLookup["a" ~~ ___], 10]randomWord[] := RandomChoice[DictionaryLookup[{RandomChoice[DictionaryLookup[All]], All}]];Graphics[Table[Rotate[Text[Style[randomWord[], Hue[RandomReal[]], Italic, RandomInteger[{10, 30}]], RandomReal[10, 2]], RandomReal[{0, 2Pi}]], {40}], AspectRatio -> 1 / GoldenRatio]Table[Histogram[StringLength /@ DictionaryLookup[{l, All}], {Range[25]}, ImageSize -> 150, PlotLabel -> l, PlotRange -> {{0, 25}, All}], {l, DictionaryLookup[All]}]テキスト
Wolfram Research (2007), DictionaryLookup, Wolfram言語関数, https://reference.wolfram.com/language/ref/DictionaryLookup.html (2008年に更新).
CMS
Wolfram Language. 2007. "DictionaryLookup." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2008. https://reference.wolfram.com/language/ref/DictionaryLookup.html.
APA
Wolfram Language. (2007). DictionaryLookup. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DictionaryLookup.html
BibTeX
@misc{reference.wolfram_2026_dictionarylookup, author="Wolfram Research", title="{DictionaryLookup}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/DictionaryLookup.html}", note=[Accessed: 13-September-2026]}
BibLaTeX
@online{reference.wolfram_2026_dictionarylookup, organization={Wolfram Research}, title={DictionaryLookup}, year={2008}, url={https://reference.wolfram.com/language/ref/DictionaryLookup.html}, note=[Accessed: 13-September-2026]}