Skip to content

A java program to convert a new language to plain english language. (A exercise for String in advanced programming)

License

Notifications You must be signed in to change notification settings

BaseMax/ToyLanguageTranslator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Toy-Language-Translator

A java program to convert a new language to plain english language. (A exercise for String in advanced programming)

Toy Language Translator

Question - Roami Language Interpreter

Repeat vowels english character and put 'o' between that.

English vowels:

A E O U I

Input

HoHeyoy alollol, hohelollolo hohowow arore yoyou koknonowowloledodgoge!

Output

Hey all, hello how are you knowledge!

Structure

Method Goal Return Type
toRomani Convert English text to Romani language String
toEnglish Convert Romani text to English language String
isValid Check a Romani text is valid or not Boolean
checkCharType Check one char, it's English vowels or other symbols int
public static int checkType(char input);
public static Boolean isValid(String input);
public static String toEnglish(String input) throws Exception;
public static String toRomani(String input);

Question - Zari Language Interpreter

English vowels:

A E O U I

Input

strength
alpha
strong
frzzl

Output

engthstray
alphaway
ongstray
frzzlay

Structure

Method Goal Return Type
toZari Convert English text to Zari language String
indexOfChar Find the position of the first English vowel letter int
minimum Find the smallest value of a array int
checkCharType Check one char, it's English vowels or other symbols int
public static String toZari(String input);
public static int indexOfChar(String input);
public static int minimum(int []array);
public static int checkCharType(char input);

Max Base

My nickname is Max, Programming language developer, Full-stack programmer. I love computer scientists, researchers, and compilers.

Asrez Team

A team includes some programmer, developer, designer, researcher(s) especially Max Base.

Asrez Team