RelationTokenizer
- class RelationTokenizer[source]
Bases:
pykeen.nn.node_piece.tokenization.TokenizerTokenize entities by representing them as a bag of relations.
Methods Summary
__call__(mapped_triples, num_tokens, ...)Tokenize the entities contained given the triples.
Methods Documentation