Skip to content

Commit

Permalink
docs: update tokenizers sample code (#733)
Browse files Browse the repository at this point in the history
  • Loading branch information
0ahz authored Jun 12, 2024
1 parent b11262e commit 19df111
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Now you're ready to get started with Orama:

```js
import { create, insert, search } from '@orama/orama'
import { createTokenizer } from '@orama/tokenizers'
import { createTokenizer } from '@orama/tokenizers/mandarin'
import { stopwords as mandarinStopwords } from '@orama/stopwords/mandarin'

const db = await create({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Now you're ready to get started with Orama:

```js
import { create, insert, search } from '@orama/orama'
import { createTokenizer } from '@orama/tokenizers'
import { createTokenizer } from '@orama/tokenizers/japanese'
import { stopwords as japaneseStopwords } from '@orama/stopwords/japanese'

const db = await create({
Expand Down

0 comments on commit 19df111

Please sign in to comment.