<commit_before>CREATE TABLE vufind_translations (
  token VARCHAR(255) NOT NULL,
  language_code CHAR(3) NOT NULL,
  translation VARCHAR(1024) NOT NULL,
  UNIQUE KEY token_language_code (token,language_code),
  KEY vufind_translations_idx_token (token),
  KEY vufind_translations_idx_language_code (language_code)
) DEFAULT CHARSET=utf8;


CREATE TABLE keyword_translations (
  ppn CHAR(9) NOT NULL,
  gnd_code CHAR(10) NOT NULL,
  language_code CHAR(3) NOT NULL,
  translation VARCHAR(1024) NOT NULL,
  preexists BOOLEAN NOT NULL DEFAULT FALSE,
  KEY keyword_translations_idx_ppn (ppn),
  KEY keyword_translations_idx_language_code (language_code)
) DEFAULT CHARSET=utf8;
<commit_msg>Expanded the state space for existing keyword translations.<commit_after>CREATE TABLE vufind_translations (
  token VARCHAR(255) NOT NULL,
  language_code CHAR(3) NOT NULL,
  translation VARCHAR(1024) NOT NULL,
  UNIQUE KEY token_language_code (token,language_code),
  KEY vufind_translations_idx_token (token),
  KEY vufind_translations_idx_language_code (language_code)
) DEFAULT CHARSET=utf8;


CREATE TABLE keyword_translations (
  ppn CHAR(9) NOT NULL,
  gnd_code CHAR(10) NOT NULL,
  language_code CHAR(3) NOT NULL,
  translation VARCHAR(1024) NOT NULL,
  status ENUM('reliable', 'unreliable', 'new') NOT NULL,
  KEY keyword_translations_idx_ppn (ppn),
  KEY keyword_translations_idx_language_code (language_code)
) DEFAULT CHARSET=utf8;

{'fraction_non_alphanumeric': 0.0734779566130161, 'fraction_numerical': 0.025192442267319804, 'mean_word_length': 6.409326424870466, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3505340', 'n_tokens_mistral': 506, 'n_tokens_neox': 463, 'n_words': 127}