Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
riccorl
/
relik-entity-linking
like
1
Sleeping
App
Files
Files
Community
626eca0
relik-entity-linking
/
relik
/
inference
/
preprocessing.py
riccorl
first commit
626eca0
11 months ago
raw
Copy download link
history
blame
No virus
175 Bytes
def
wikipedia_title_and_openings_preprocessing
(
wikipedia_title_and_openings:
str
, sepator:
str
=
" <def>"
):
return
wikipedia_title_and_openings.split(sepator,
1
)[
0
]