{'fraction_non_alphanumeric': 0.020380434782608696, 'fraction_numerical': 0.0, 'mean_word_length': 5.245762711864407, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Learning three-way affinity embeddings for knowledge base completion

Knowledge bases are an extremely important database for knowledge management, which is very useful for question answering, query expansion and other related tasks. However, it often suffers from incompleteness. In this paper, we propose a Three-Way Affinity Embeddings model (TWAE) to map both the entity and relationship into two vectors and consider any two of them direct interaction, and then predict the possible truth of additional facts. The basic idea is that the confidence of the additional predicted fact is determined by three-way affinities in the triplet using the latent representation of each item. Experiments show that our model performs excellent.