From 617155fe562652c859a380d85cc5710783d79448 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Mon, 1 Feb 2016 09:30:04 -0500 Subject: Added emoji freevar Strings of emojis are tokenized separately from anything else, and added to an emoticon freevar, which is mixed in with regular emoticons like :P. This breaks old-style freevars like $name$ and $noun$ so some legacy support for compatibility is left in but eventually $name$ should be made into an actual new freevar. Emoji data is from gemoji (https://github.com/github/gemoji). --- histogram.h | 1 + 1 file changed, 1 insertion(+) (limited to 'histogram.h') diff --git a/histogram.h b/histogram.h index 5aa2560..76d8f1b 100644 --- a/histogram.h +++ b/histogram.h @@ -10,6 +10,7 @@ class histogram { void add(const T& inst); void compile(); const T& next() const; + void print() const; private: std::map freqtable; -- cgit 1.4.1