Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
ml6team
/
Knowledge-graphs
like
55
Build error
App
Files
Files
Community
1
4c871d1
Knowledge-graphs
/
utils.py
khaerens
limit
6b2498f
almost 3 years ago
raw
Copy download link
history
blame
Safe
79 Bytes
def
clip_text
(
t, lenght =
5
):
return
"."
.join(t.split(
"."
)[:lenght]) +
"."