def final_state2_c(): state = State() state.can_be_one_symbol_word = False state.max_one_symbol_length = 0 state.max_one_symbol_prefix = 0 return state
def second_few_symbols_word_state(): state = State() state.can_be_one_symbol_word = False state.max_one_symbol_length = 0 state.max_one_symbol_prefix = 2 return state
def final_state2_a(): state = State() state.can_be_one_symbol_word = True state.max_one_symbol_length = 1 state.max_one_symbol_prefix = 1 return state
def one_symbol_word_zero_length_state(): state = State() state.can_be_one_symbol_word = False state.max_one_symbol_length = 0 state.max_one_symbol_prefix = 3 return state
def one_symbol_word_with_long_prefix_state(): state = State() state.can_be_one_symbol_word = True state.max_one_symbol_length = 1 state.max_one_symbol_prefix = 6 return state
def one_symbol_word_state(): state = State() state.can_be_one_symbol_word = True state.max_one_symbol_length = 1 state.max_one_symbol_prefix = 2 return state
def result1(): state = State() state.can_be_one_symbol_word = True state.max_one_symbol_length = 2 state.max_one_symbol_prefix = 3 return state
def result3(): state = State() state.can_be_one_symbol_word = False state.max_one_symbol_length = 0 state.max_one_symbol_prefix = 5 return state