Logo elodees  elodees

A caring AI for a better world













Only alphabetic characters accented or not as well as the space are accepted

Logo IA




NLP Natural Language Processing





No account yet ?

Sign up to access all content










spaCy



Tested in Anaconda and Python 3.7

# pip install -U spacy
# python -m spacy download en_core_web_sm
import spacy
 
# Load English tokenizer, tagger, parser and NER
nlp = spacy.load("fr_core_news_sm")
 
# Process whole documents
text = ("Le roman est un genre littéraire caractérisé essentiellement par une narration fictionnelle et dont la première apparition peut être datée du XIIᵉ siècle. Initialement écrit en vers qui jouent sur les assonances, il est écrit en prose dès le XIIᵉ siècle et se distingue du conte ou de l'épopée par sa vocation à être lu individuellement et non écouté. Dynamique au XVIIIᵉ siècle, le roman devient le genre littéraire dominant à partir du xixᵉ siècle et présente aujourd'hui un grand nombre de sous-genres.")
doc = nlp(text)
 
# Analyze syntax
print("Noun phrases:", [chunk.text for chunk in doc.noun_chunks])
print("Verbs:", [token.lemma_ for token in doc if token.pos_ == "VERB"])
 
# Find named entities, phrases and concepts
for entity in doc.ents:
    print(entity.text, entity.label_)
 
 


Noun phrases: ['Le roman', 'une narration fictionnelle', 'dont', 'XIIᵉ siècle', 'qui', 'les assonances', 'il', 'prose', 'le XIIᵉ siècle', 'se distingue', 'conte', "de l'épopée", 'sa vocation', 'Dynamique', 'XVIIIᵉ siècle', 'le roman', 'le genre littéraire', 'un grand nombre', 'sous-genres']
Verbs: ['caractériser', 'pouvoir', 'dater', 'écrire', 'jouer', 'écrire', 'devenir', 'dominer', 'partir', 'présente']
XIIᵉ MISC
XIIᵉ MISC







Text mining

Text to Speech

Speech to Text

Recognition of the language spoken by a human


Deep learning

Machine learning










Welcome, my name is Eric Soupet and I am the administrator of the site elodees.com. elodees.com is a state of the art of Artificial Intelligence and aims to be collaborative, you can now offer content such as articles, events, tutorials, ... so don't hesitate !

Platform images credit : Pixabay - Pixabay License | Pexels - Pexels License