A linguistically-motivated approach to grapheme-to