(m) means that a noun is masculine. Spanish nouns have a gender, which is either feminine (like la mujer or la luna) or masculine (like el hombre or el sol).
I did an apprenticeship learning the traditional Turkish method of making cymbals.Hice un aprendizaje para aprender el método tradicional turco de fabricar los platillos.