The foreign government advisors in Meiji Japan , known in Japanese as oyatoi gaikokujin ( Kyūjitai : 御雇ひ外國人 , Shinjitai : 御雇い外国人 , `` hired foreigners '' ) , were those foreign advisors hired by the Japanese government for their specialized knowledge to assist in the modernization of Japan at the end of the Bakufu and during the Meiji period .
Foreign government advisors in Meiji Japan ( お雇い外国人 , oyatoi gaikokujin ?