What are villagers type in Minecraft PE?

I want to know how to differentiate them. Usually I put the purple one in library and stone and the white one as the farmer.


There are many types of villagers. Here are some of them:

Farmers A Farmer Villager
(source: cursecdn.com)

These villagers wear the usual brown robe and will occasionally farm the crops in the village. They have an inventory and can collect the crops they harvest.

LibrariansA Librarian Villager

These villagers wear white robes and live in houses will bookshelves and are wiling to trade books.

Priests A Priest Villager

The Priest villager lives in the tall cobblestone tower, and wears a nice purple robe.

BlacksmithA Blacksmith Villager

Oh! These are the ones people always hope for! If you see one in a village, there will be a Smithy in the village. There is lava, furnaces and a bonus chest in there that contains nice stuff. He wears a black apron.

Butcher A Butcher Villager

Wearing a white apron, these butchers can sell leather at times.

Other Stuff

Lastly, there are baby villagers, which can be obtained by breeding villagers, zombie villagers, which can be turned back into a normal villager. When a villager is struck by lightning, it becomes a Witch, similar to the Charged Creeper.