Skip to content

Commit

Permalink
added note about size
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Tosca committed Aug 22, 2020
1 parent 901ddfb commit 5ea40bb
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ The generator uses a size optimized model which can be obtained like this:
const optimizedModel = ModelSizeOptimizer.optimize(model)
```

*Note*: the generated model is typescript code like `export const cities500Names3 = {...}`, however the javascript
part can be easily extracted. Obviously if this is later used in a build pipeline (transpiled, etc.) the size will be
affected accordingly.

## Generate

Generate names from a model
Expand All @@ -57,9 +61,9 @@ Examples of generated names:
- Pyrrhia

But also, (albeit for lower n-grams):
- Fureraywauiu 😵
- Acaskagnyeserwer 🤔
- Kanggemervadebikaynieza 🥺
- Fureraywauiu 🤔
- Acaskagnyeserwer 🥺
- Kanggemervadebikaynieza 😵

## How to use it

Expand Down

0 comments on commit 5ea40bb

Please sign in to comment.