# tflite_support.metadata_schema_py_generated.RegexTokenizerOptions

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L1556-L1607) |

## Methods

### `DelimRegexPattern`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L1579-L1583)

```python
DelimRegexPattern()
```

### `GetRootAs`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L1559-L1564)

```python
@classmethod
GetRootAs(
    buf, offset=0
)
```

### `GetRootAsRegexTokenizerOptions`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L1566-L1569)

```python
@classmethod
GetRootAsRegexTokenizerOptions(
    buf, offset=0
)
```

This method is deprecated. Please switch to GetRootAs.

### `Init`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L1575-L1576)

```python
Init(
    buf, pos
)
```

### `RegexTokenizerOptionsBufferHasIdentifier`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L1570-L1572)

```python
@classmethod
RegexTokenizerOptionsBufferHasIdentifier(
    buf, offset, size_prefixed=False
)
```

### `VocabFile`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L1586-L1595)

```python
VocabFile(
    j
)
```

### `VocabFileIsNone`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L1605-L1607)

```python
VocabFileIsNone()
```

### `VocabFileLength`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L1598-L1602)

```python
VocabFileLength()
```