import sys | |
import fire | |
from aspram.utils import clean_characters | |
def exec(lower: bool = False, only_mesropatar: bool = False): | |
for line in sys.stdin: | |
line = line.strip() | |
line = clean_characters(dict(sentence=line), lower=lower, only_mesropatar=only_mesropatar)['sentence'] | |
sys.stdout.write(line + "\n") | |
if __name__ == '__main__': | |
fire.Fire(exec) |