#!/usr/bin/perl use Lingua::PT::PLN; while(<>){ print accent($_); }