-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#62 - Bugfix for FlairTagger when using certain input formats
* The Whitespace fix was pretty hackish and was not working as intended with certain input formats. It would also limit the flair tagger to only tag around sentence boundaries. This commit replace the hack with a conversion from the CAS tokens to flair token objects which is much cleaner. Multiple whitespaces between two tokens can now also properly be processed.
- Loading branch information
Showing
1 changed file
with
36 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters