Release 1.8.4.3b
Added possibility to include multiple instances of Talismane in same thread (e.g. to handle multiple languages)
To this end, removed all ThreadLocal properties from TalismaneSession, and changed static methods to normal
TalismaneSession is now retrieved through TalismaneService
TalismaneServiceLocator is now instantiated with an arbitrary "sessionId" - e.g. "en" and "fr" to include one per language.
Fixed bug where the final unprocessed output is not written to the output file (e.g. closing XML tags)
Updated default French parser model to attach all punctuation systematicall to previous non-punct, and to coordinate as follows:
If conjuncts are separated by a comma, each conjunct is governed by the previous conjunct via the "coord" label
If conjuncts are separated by a conjunction, we use the "coord" from the prev conjunct to the conjunction, and "dep_coord" from the conjunction to the next conjunct
Added default French token_filters:
- to handle all numbers identically (except years)
- to handle all weekdays identically
- to handle all month names identically
- to recognise French phone numbers
This required us to changed PosTaggedTokenImpl.getLemmaForCoNLL to see if the original text has a lemma.