Skip to content

asdfry/typo-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

Type Of Typo

  • Typing a key located nearby. (ex. 룬의 아이들 -> 훈의 아이들, The Hobbit -> The Hibbit)
  • Typing a key with or without the shift key. (ex. 100% 실전대비 -> 1005 실전대비, The Hobbit -> The hobbit)

How To Use

Code

from typo import Typo

typo = Typo()

print(typo.convert("누가 내 치즈를 옮겼을까? - Spencer Johnson", k=1))  # convert 1 character
print(typo.convert("누가 내 치즈를 옮겼을까? - Spencer Johnson", k=3))  # convert 3 character
print(typo.convert("누가 내 치즈를 옮겼을까? - Spencer Johnson", k=5))  # convert 5 character

Result

누가 내 치즈를 옮겼을까/ - Spencer Johnson  
누가 내 즈를 옮겼을까? - spencer Johnsom즈를 옮겼을까? _ SpencEr Johhdon  

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages