<commit_before>#ifndef DOUBLEPRESSMODIFIER_HPP
#define DOUBLEPRESSMODIFIER_HPP

#include "RemapFuncBase.hpp"
#include "FromKeyChecker.hpp"
#include "IntervalChecker.hpp"
#include "KeyToKey.hpp"

namespace org_pqrs_KeyRemap4MacBook {
  namespace RemapFunc {
    // A modifier has DoublePressed key action.
    class DoublePressModifier {
    public:
      DoublePressModifier(void) : pressCount_(0) {}
      void initialize(void);
      void terminate(void);
      bool remap(RemapParams& remapParams);

      // ----------------------------------------
      // [0] => fromKey_<commit_msg>fix DoublePressModifier constructor<commit_after>#ifndef DOUBLEPRESSMODIFIER_HPP
#define DOUBLEPRESSMODIFIER_HPP

#include "RemapFuncBase.hpp"
#include "FromKeyChecker.hpp"
#include "IntervalChecker.hpp"
#include "KeyToKey.hpp"

namespace org_pqrs_KeyRemap4MacBook {
  namespace RemapFunc {
    // A modifier has DoublePressed key action.
    class DoublePressModifier {
    public:
      DoublePressModifier(void) : index_(0), pressCount_(0) {}
      void initialize(void);
      void terminate(void);
      bool remap(RemapParams& remapParams);

      // ----------------------------------------
      // [0] => fromKey_
{'fraction_non_alphanumeric': 0.15606936416184972, 'fraction_numerical': 0.005780346820809248, 'mean_word_length': 3.013245033112583, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4222011', 'n_tokens_mistral': 365, 'n_tokens_neox': 361, 'n_words': 74}