Skip to content

Turing machine implementation for spelling Turkish words

Notifications You must be signed in to change notification settings

sevvalmehder/Tur2Spell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tur2Spell

This project is a Turing Machine simulator for spelling Turkish words.The detailed information about spelling and turing machine is here.

Examples

According to 3 rules for spelling:

  1. If there is consonant between two vowels in word, this consonant has a syllable with the next vowel. For example: ara –> a-ra
  2. If there are two repeated consonant in word, the first one has a syllable with the previous vowel and the second one has a syllable with the next vowel.
    For example: sevmek –> sev-mek
  3. If there are three repeated consonant in word, the last one has a syllable with the next vowel.
    For example: altlık -> alt-lık

Usage

Linux

For run with GUI: python3 gui.py
For run without GUI: python3 main.py

Windows

You can run Tur2Spell.exe directly.

Resources

For spelling rules: TDK
For Turing Machine details: Introduction to the Theory of Computation by Michael Sipser

Releases

No releases published

Packages

No packages published

Languages