<commit_before>{ lib, stdenv
, fetchFromGitHub
, openfst
, pkg-config
, python3
}:

stdenv.mkDerivation rec {
  pname = "phonetisaurus";
  version = "2020-07-31";

  src = fetchFromGitHub {
    owner = "AdolfVonKleist";
    repo = pname;
    rev = "2831870697de5b4fbcb56a6e1b975e0e1ea10deb";
    sha256 = "1b18s5zz0l0fhqh9n9jnmgjz2hzprwzf6hx5a12zibmmam3qyriv";
  };

  enableParallelBuilding = true;

  nativeBuildInputs = [ pkg-config ];

  buildInputs = [ python3 openfst ];

  meta = with lib; {
    description = "Framework for Grapheme-to-phoneme models for speech recognition using the OpenFst framework";
    inherit (src.meta) homepage;
    license = licenses.bsd3;
    maintainers = with maintainers; [ mic92 ];
    platforms = platforms.unix;
  };
}
<commit_msg>phonetisaurus: 2020-07-31 -> 0.9.1<commit_after>{ lib, stdenv
, fetchFromGitHub
, openfst
, pkg-config
, python3
}:

stdenv.mkDerivation rec {
  pname = "phonetisaurus";
  version = "0.9.1";

  src = fetchFromGitHub {
    owner = "AdolfVonKleist";
    repo = pname;
    rev = version;
    sha256 = "1b18s5zz0l0fhqh9n9jnmgjz2hzprwzf6hx5a12zibmmam3qyriv";
  };

  enableParallelBuilding = true;

  nativeBuildInputs = [ pkg-config ];

  buildInputs = [ python3 openfst ];

  meta = with lib; {
    description = "Framework for Grapheme-to-phoneme models for speech recognition using the OpenFst framework";
    inherit (src.meta) homepage;
    license = licenses.bsd3;
    maintainers = with maintainers; [ mic92 ];
    platforms = platforms.unix;
  };
}

{'fraction_non_alphanumeric': 0.10819672131147541, 'fraction_numerical': 0.058360655737704915, 'mean_word_length': 3.6953846153846155, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '3309551', 'n_tokens_mistral': 640, 'n_tokens_neox': 580, 'n_words': 114}