An introduction to transformational grammars