Knowledge-graphs / utils.py
khaerens's picture
add free text and code clean up
f3c6abd
raw
history blame
80 Bytes
def clip_text(t, lenght = 10):
return ".".join(t.split(".")[:lenght]) + "."