I've looked in the whole parameters of my Nexus 5 (Lollipop 5.1) and I can't find the way to customize the auto-replace function.
What I want to do is simple, I want some abbreviation like
asap to be automatically changed for
as soon as possible, or
swag to be replaced by
NEVER USE THIS WORD MORON