A SpaCy extension for Spans to extract multilingual names out of documents trained on XLM-roberta backbone
from spacy.lang.xx import MultiLanguage from denomme.name import person_name_component nlp = MultiLanguage() nlp.add_pipe('denomme') doc = nlp('Hi my name is Meghana S.R Bhange and I want to talk Asha') print(doc._.person_name) # ['Meghana S.R Bhange', 'Asha']
Submit your project
If you have a project that you want the spaCy community to make use of, you can suggest it by submitting a pull request to the spaCy website repository. The Universe database is open-source and collected in a simple JSON file. For more details on the formats and available fields, see the documentation. Looking for inspiration your own spaCy plugin or extension? Check out the
project idea label on the issue tracker.