<commit_before>/*
 * Alphabet storage
 */

export type AlphabetsData = {
  [name: string]: AlphabetData
}

export type AlphabetData = {
  priority: number
  action: string
  letters: LetterData[]
}

export type LetterData = {
  value: string
  block: string
  action?: string
}

export type ShermanLetterData = LetterData & {
  dots?: number
  vert?: number
  lines: number
}<commit_msg>Add a type for block names<commit_after>/*
 * Alphabet storage
 */

export type Block = "s" | "p" | "d" | "f" | "v"

export type AlphabetsData = {
  [name: string]: AlphabetData
}

export type AlphabetData = {
  priority: number
  action: string
  letters: LetterData[]
}

export type LetterData = {
  value: string
  block: string
  action?: string
}

export type ShermanLetterData = LetterData & {
  dots?: number
  vert?: number
  lines: number
}
{'fraction_non_alphanumeric': 0.11124401913875598, 'fraction_numerical': 0.0, 'mean_word_length': 3.702247191011236, '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': '4190357', 'n_tokens_mistral': 279, 'n_tokens_neox': 269, 'n_words': 87}