注意: このページはまだ日本語に翻訳されていません。以下は英語の原文です。An OWL format Wordlist is an encoding method that exploits the general locality of alphabetically sorted words to achieve a simple but effective means of compression. This class is generally not useful to most developers as it is used mainly internally to keep Wordlists for languages based on ASCII-7 small. If necessary, there are tools within the
generation/
folder to create the necessary data.
locale
using the OWL data
and validated against the checksum
.
Parameter | Type |
---|---|
locale | string |
data | string |
checksum | string |
WordlistOwl
Wordlist
.constructor
string
[]
words
into a phrase.
By default, words
are joined by a single space.
Parameter | Type | Description |
---|---|---|
words | string [] | The words to join. |
string
The joined phrase.
Wordlist
.join
phrase
into individual words.
By default, phrase
is split using any sequences of white-space as defined by regular expressions (i.e.
/\s+/
).
Parameter | Type | Description |
---|---|---|
phrase | string | The phrase to split. |
string
[]
The split words in the phrase.
Wordlist
.split