|
Hi James, thanks for the tips. Right now I use a separated Map to store attributes, that I build in the same time as the dictionary it works pretty well too. Loic Le 22.12.2011 01:27, James Kosin a écrit : Loic, First, the Span[] it returns is an array of Span that contain start and end markers for the names found in the text. It is a class that wraps the start and end markers to help easily use them. Each Span has a method to getStart(), and getEnd() that return these values. To get the name found for one of the Spans, you just have to get the list of tokens you provided as the input to find()... and use something like this: --
Kelkoo SAS Société par Actions Simplifiée Au capital de € 4.168.964,30 Siège social : 8, rue du Sentier 75002 Paris 425 093 069 RCS Paris Ce message et les pièces jointes sont confidentiels et établis à l'attention exclusive de leurs destinataires. Si vous n'êtes pas le destinataire de ce message, merci de le détruire et d'en avertir l'expéditeur. |
- Some questions about Dictionary and DictionaryNameFinder Loic Descotte
- Re: Some questions about Dictionary and DictionaryNameF... James Kosin
- Re: Some questions about Dictionary and DictionaryNameF... James Kosin
- Re: Some questions about Dictionary and DictionaryN... Loic Descotte
- Re: Some questions about Dictionary and Diction... Loic Descotte
- Re: Some questions about Dictionary and Dic... James Kosin
- Re: Some questions about Dictionary an... Loic Descotte
- Re: Some questions about Dictionar... James Kosin
- Re: Some questions about Dicti... Loic Descotte

