FYI, you can get started with some general background in the /r/linguistics FAQ
and more explanation and examples in our FAQ