2
$\begingroup$

I am trying to implement a utility for my mobile application to perform some actions based on user questions. I need an algorithm to extract named entities from a text string (French grammar). I have used nltk's interface to Stanford's NER models but it works only for English (A subset of other languages is supported but i can't find French). I have also used Polyglot but it seems that it doesn't do the work very well (Maybe the models I am using are not very well trained). I don't know if there is any free REST API that can do NER for the French language or any other algorithm or even an already trained model for nltk/Stanford NER.

$\endgroup$
4
$\begingroup$

Yes, there is a french model free and ready to use via the spaCy package!

Here are the small amd medium sized models, that should be ready to go.

Here is the basic summary of the dataset, shown at the spaCy website:

french spacy model details

$\endgroup$
1
$\begingroup$

I'm also using Spacy models for french NER. You can re-train them to enhance the results.

On the other hand, Google offers an api but it may get pretty expensive depending on the amount of text you will send.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.