《资治通鉴·汉纪·汉纪十三》
当初箕子居住在朝鲜，用礼义教导他的百姓，掌握种田、养蚕、纺织的方法，并为他们制定八条法令。凡杀人的，当即以本人性命相抵；伤人的，用谷物赔偿对方的损失；盗窃的，男子给被盗者做奴，女子做婢；想要自赎其罪的，一人要交赎金五十万钱，虽被免罪为平民，但按风俗仍被人看不起，想结婚都找不到对象。
昔箕子居朝鲜，教其民以礼义，田蚕织作，为民设禁八条，相杀，以当时偿杀；相伤，以谷偿；相盗者，男没入为其家奴，女为婢；欲自赎者人五十万，虽免为民，俗犹羞之，嫁娶无所售。
When Jizi lived in Korea, he taught his people with propriety and righteousness, taught them how to cultivate land, raise silkworms, and weave, and made eight laws for them. Anyone who killed someone would be killed immediately; anyone who injured someone would be compensated with grain; anyone who stole would be enslaved, men as slaves and women as maidservants; anyone who wanted to redeem themselves would have to pay a ransom of 500,000 yuan, and although they would be acquitted of their crimes and become commoners, they would still be looked down upon by custom and would not be able to find a partner to marry.
<s>[INST] Translate the following Classical Chinese text into modern Chinese: 昔箕子居朝鲜，教其民以礼义，田蚕织作，为民设禁八条，相杀，以当时偿杀；相伤，以谷偿；相盗者，男没入为其家奴，女为婢；欲自赎者人五十万，虽免为民，俗犹羞之，嫁娶无所售。 [/INST] 当初箕子居住在朝鲜，用礼义教导他的百姓，掌握种田、养蚕、纺织的方法，并为他们制定八条法令。凡杀人的，当即以本人性命相抵；伤人的，用谷物赔偿对方的损失；盗窃的，男子给被盗者做奴，女子做婢；想要自赎其罪的，一人要交赎金五十万钱，虽被免罪为平民，但按风俗仍被人看不起，想结婚都找不到对象。</s>
Translate the following Classical Chinese text into modern Chinese: 昔箕子居朝鲜，教其民以礼义，田蚕织作，为民设禁八条，相杀，以当时偿杀；相伤，以谷偿；相盗者，男没入为其家奴，女为婢；欲自赎者人五十万，虽免为民，俗犹羞之，嫁娶无所售。
user
当初箕子居住在朝鲜，用礼义教导他的百姓，掌握种田、养蚕、纺织的方法，并为他们制定八条法令。凡杀人的，当即以本人性命相抵；伤人的，用谷物赔偿对方的损失；盗窃的，男子给被盗者做奴，女子做婢；想要自赎其罪的，一人要交赎金五十万钱，虽被免罪为平民，但按风俗仍被人看不起，想结婚都找不到对象。
assistant