To treat others as one would wish to be treated is a common formulation of the Golden Rule (GR). Yet, despite its prevalence as an axiom throughout history, no digitisation of the moral philosophy exists. In this paper we consider how to digitise it so that it may be used to measure sentences such as: the boy harmed the girl, and categorise them as fair or unfair. A review and reply to criticisms of the GR is made. We share the code for the digitisation of the GR, and test it with a list of sentences. Implementing two approaches, one using the USE, and a second using ALBERT. We find F1 scores of 78.0, 85.0, respectively. A suggestion of how the technology may be implemented to avoid unfair biases in word embeddings is made - given that individuals would typically not wish to be on the receiving end of an unfair act, such as racism, irrespective of whether the corpus being used deems such discrimination as praiseworthy.
翻译:将他人视为希望被对待的人,是《黄金规则》的一个共同表述。然而,尽管它在整个历史中普遍是一个轴心,但道德哲学并没有数字化。在本文件中,我们考虑如何将它数字化,以便用来衡量判决,例如:男孩伤害女孩,将他们归类为公平或不公平;对《黄金规则》的批评意见进行审查和答复;我们赞同《黄金规则》的数字化准则,并用一份判决清单来测试它。我们采用两种方法,一种是使用美国电子计算机,另一种是使用ALBERT。我们发现F1的分数分别为78.0、85.0;我们发现,为了避免在语言嵌入中出现不公平的偏差,提出了如何实施技术的建议----因为个人通常不希望接受种族主义等不公平行为,而不论使用的手段是否认为这种歧视是值得称道的。