File size: 380 Bytes
5f1c16f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)