<commit_before>/*
 * liblager_recognize.h
 *
 *  Created on: Mar 2, 2015
 *      Author: andres
 */

#ifndef LIBLAGER_RECOGNIZE_H_
#define LIBLAGER_RECOGNIZE_H_

#include <string>
using std::string;
#include <vector>
using std::vector;
#include <chrono>
using std::chrono::system_clock;
using std::chrono::time_point;

#define RECOGNIZER_ERROR -1
#define RECOGNIZER_NO_ERROR 0

class LagerRecognizer {
 public:
  static LagerRecognizer* Instance(
      vector<struct SubscribedGesture>* subscribed_gestures);

  ~LagerRecognizer() {
  }

  //void Start() {
  //}

  struct SubscribedGesture RecognizeGesture(bool draw_gestures,<commit_msg>Liblager_recognize: Rearrange includes, remove commented code<commit_after>/*
 * liblager_recognize.h
 *
 *  Created on: Mar 2, 2015
 *      Author: andres
 */

#ifndef LIBLAGER_RECOGNIZE_H_
#define LIBLAGER_RECOGNIZE_H_

#include <chrono>
using std::chrono::system_clock;
using std::chrono::time_point;
#include <string>
using std::string;
#include <vector>
using std::vector;

#define RECOGNIZER_ERROR -1
#define RECOGNIZER_NO_ERROR 0

class LagerRecognizer {
 public:
  static LagerRecognizer* Instance(
      vector<struct SubscribedGesture>* subscribed_gestures);

  ~LagerRecognizer() {
  }

  struct SubscribedGesture RecognizeGesture(bool draw_gestures,
{'fraction_non_alphanumeric': 0.10153846153846154, 'fraction_numerical': 0.010769230769230769, 'mean_word_length': 5.5376884422110555, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3298513', 'n_tokens_mistral': 503, 'n_tokens_neox': 471, 'n_words': 100}