From bd31c76882ed144ce118208bebb777e582c33ba4 Mon Sep 17 00:00:00 2001 From: Mehdi El Fadil Date: Tue, 5 Nov 2013 14:41:22 +0100 Subject: [PATCH] corrected typo in example: flaten --> flatten --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d21cc27..9f73cdd 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ Returns all occurrences of the ngram. Useful for passing data to Natural's TF-IDF function. Note: the original order is not maintained. Off by default. ```js -keyword.extract('beep beep and foo bar and beep beep and beep beep and foo bar', {flaten: true}) +keyword.extract('beep beep and foo bar and beep beep and beep beep and foo bar', {flatten: true}) ``` Returns `['beep beep', 'beep beep', 'beep beep', 'foo bar', 'foo bar']`.