> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qu.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# LangEs

The [Spanish wordlist](https://github.com/bitcoin/bips/blob/master/bip-0039/spanish.txt) for [mnemonic
phrases](https://en.bitcoin.it/wiki/BIP_0039).

## Extends

* [`WordlistOwlA`](/sdk/content/classes/WordlistOwlA)

## Methods

### join()

```ts theme={null}
join(words): string
```

Sub-classes may override this to provider a language-specific method for joining `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

[`WordlistOwlA`](/sdk/content/classes/WordlistOwlA).[`join`](/sdk/content/classes/WordlistOwlA#join)

#### Source

[wordlists/wordlist.ts:45](https://github.com/dominant-strategies/quais.js/blob/c1c12d43f9d34c6baad2b0542bd6d0acd6fefcbf/src/wordlists/wordlist.ts#L45)

***

### split()

```ts theme={null}
split(phrase): string[]
```

Sub-classes may override this to provide a language-specific method for spliting `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

[`WordlistOwlA`](/sdk/content/classes/WordlistOwlA).[`split`](/sdk/content/classes/WordlistOwlA#split)

#### Source

[wordlists/wordlist.ts:33](https://github.com/dominant-strategies/quais.js/blob/c1c12d43f9d34c6baad2b0542bd6d0acd6fefcbf/src/wordlists/wordlist.ts#L33)

***

### wordlist()

```ts theme={null}
static wordlist(): LangEs
```

Returns a singleton instance of a `LangEs`, creating it if this is the first time being called.

#### Returns

[`LangEs`](/sdk/content/classes/LangEs)

#### Source

[wordlists/lang-es.ts:32](https://github.com/dominant-strategies/quais.js/blob/c1c12d43f9d34c6baad2b0542bd6d0acd6fefcbf/src/wordlists/lang-es.ts#L32)
