This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// By Simon Lydell 2015. | |
// This file is in the public domain. | |
var stdin = require("get-stdin") | |
var tools = require("text-frequencies-analysis") | |
var helpers = require("text-frequencies-analysis/lib/helpers") | |
stdin(function(text) { | |
process.stdout.write(tools.jsonStringifyRow(convert(JSON.parse(text)))) | |
}) |