Adding NGram to language analyzer

I use the built-in Arabic analyzer to index my Arabic text.
I want to add auto complete feature to my search, so I thought about adding NGram filter.
Is it possible to extend existing analyzer?
If no, what is the configuration of the Arabic analyzer?