注意: 此页面尚未翻译成中文。以下内容为英文原版。An OWL-A format Wordlist extends the OWL format to add an overlay onto an OWL format Wordlist to support diacritic marks. This class is generally not useful to most developers as it is used mainly internally to keep Wordlists for languages based on latin-1 small. If necessary, there are tools within the
generation/ folder to create the necessary data.
Extends
Extended by
Constructors
new WordlistOwlA()
locale using the OWLA data and accent data and validated against the checksum.
Parameters
| Parameter | Type |
|---|---|
locale | string |
data | string |
accent | string |
checksum | string |
Returns
WordlistOwlA
Overrides
WordlistOwl.constructor
Source
wordlists/wordlist-owla.ts:21Methods
join()
words into a phrase.
By default, words are joined by a single space.
Parameters
| Parameter | Type | Description |
|---|---|---|
words | string[] | The words to join. |
Returns
string
The joined phrase.
Inherited from
WordlistOwl.join
Source
wordlists/wordlist.ts:45split()
phrase into individual words.
By default, phrase is split using any sequences of white-space as defined by regular expressions (i.e.
/\s+/).
Parameters
| Parameter | Type | Description |
|---|---|---|
phrase | string | The phrase to split. |
Returns
string[]
The split words in the phrase.
Inherited from
WordlistOwl.split
