Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* feat(#950): using record search_keywords for highlighting * feat(highlight): keywords for text-classification * feat(highlight): keywords for text2text * test: update snapshots * fix: compute search keywords for old datasets, based on 'words' field (cherry picked from commit 9e11933) fix(#950): improve highlight for multi terms searches (#1278) * fix(hightlight): merge adjacent terms * refactor: apply multi-keyword search in text * feat: merge highlighted phrases * feat: parse keywords as entire words * fix(highlight): include hightlight info at visual token level * chore: lint * fix: escape html before apply highligh span * fix calc whitespace for highlighted entities * fix: parse middle highlighted tokens * refactor: highligh on inputs * test: update tests Co-authored-by: LeireA <leire@recogn.ai> (cherry picked from commit 3a32334) chore(#1235): fix highlight function name in explain (#1316) Closes #1315 (cherry picked from commit 41b3321)
- Loading branch information
1 parent
bb7d93e
commit 47616bf
Showing
20 changed files
with
244 additions
and
155 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
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
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
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
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
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
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
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
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
Oops, something went wrong.