improving output of BerkeleyParser