From 5ea40bb2f5de9c8bfc2be9094e56b8598706fde9 Mon Sep 17 00:00:00 2001 From: Adrian Tosca Date: Sat, 22 Aug 2020 09:40:27 +0300 Subject: [PATCH] added note about size --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 49bd50f..0ba729f 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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