How to get the same results as the web demo

97 views
Skip to first unread message

Florent Lachapelle

unread,
Jun 12, 2014, 9:40:47 AM6/12/14
to clavin...@googlegroups.com
Hello,

First i want to say thank you for Clavin wich works very well.

We integrate it into a service that take one String as input and return a country code as respons. 
We use it mainly on small string containing most of the time location information. 
String like : "Montmartre Paris, France" The webApp responds FR

It has been some month now that we use Clavin, and we have encountered some cases that didnt work as expected.

Here are 4 examples of such cases:
Norfolk, VA
Baltimore & Scotland
Chelsea, Québec; CANADA
Greenwich, CT USA

Our integration of Clavin return GB or nothing for these cases.

I tried to update the version of Clavin we use to 1.0 but that didnt change the result.
After some investigation, the problem  seems to come from the LocationExtractor (we use the ApacheExtractor implementation) that didnt recognize some part of the string as location name.

The thing is that the web demo at http://clavin.berico.us/clavin-web/ handle these cases perfectly.
So i was wondering what is making the web demo working so well. 
Does it use another LocationExtractor ?
Does it do some work on the string before calling the GeoParser?

Florent


Charlie Greenbacker

unread,
Jun 13, 2014, 3:47:38 PM6/13/14
to Florent Lachapelle, clavin...@googlegroups.com
Hi Florent,

To get the same results as the web demo, you will want to use the CLAVIN-NERD distribution, which relies on Stanford NER as the entity extractor instead of Apache OpenNLP.



Cheers,
Charlie


--
You received this message because you are subscribed to the Google Groups "clavin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clavin-users...@googlegroups.com.
To post to this group, send email to clavin...@googlegroups.com.
Visit this group at http://groups.google.com/group/clavin-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/clavin-users/f0d2af05-b21b-42e8-96b5-163eab1c21bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Florent Lachapelle

unread,
Jun 16, 2014, 3:27:25 AM6/16/14
to clavin...@googlegroups.com
I tried CLAVIN-NERD and it works very well.
Thank you very much.
Reply all
Reply to author
Forward
0 new messages