Crates.io | albhed |
lib.rs | albhed |
version | 0.1.0 |
source | src |
created_at | 2020-08-23 20:03:13.096017 |
updated_at | 2020-08-23 20:03:13.096017 |
description | A translator for the Al Bhed language. |
homepage | https://github.com/fosskers/albhed |
repository | https://github.com/fosskers/albhed |
max_upload_size | |
id | 279921 |
size | 6,310 |
A translator for the Al Bhed language.
Al Bhed is the language spoken by the Al Bhed people in the land of Spira, the main setting of the game Final Fantasy X.
This library doesn't attempt to detect English loanwords that are present in Al Bhed at the time of the game, as in airship/fiend/etc.
Converting Al Bhed into English:
let al_bhed = "Oui yvnyet uv dra cay?";
let english = al_bhed.chars().filter_map(albhed::from_al_bhed).collect::<String>();
assert_eq!("You afraid of the sea?", english);
Converting English into Al Bhed:
let english = "Beware of Sandstorms!";
let al_bhed = english.chars().filter_map(albhed::to_al_bhed).collect::<String>();
assert_eq!("Pafyna uv Cyhtcdunsc!", al_bhed);
License: MIT