add helpers

This commit is contained in:
Pawel Felcyn 2023-11-13 15:02:07 +01:00
parent d04a124987
commit 060ba0d890
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
import os
alphabet = 'abcdefghijklmnopqrstuvwxyz '
with open(os.path.join(os.path.dirname(__file__), 'fsa_description.arg'), 'w') as file:
for c in alphabet:
for i in range(0, 6):
file.write(f'{i}\t0\t{c}\n')
file.write(f'6\t6\t{c}\n')
file.write('6')