Comments (2)
Cause:
- The KeywordTrie is used to find which keywords appear in the text. In the example above, Cycling is encountered first.
- Then a regex is used to find the position of the match, which finds the second instance of "Cycling".
- keyword processing is continued from there, so "wither" is skipped.
from magicseteditor2.
Possible solution:
- re-start the keyword trie from every word boundary, matching only keywords that start there
- Similarly, make the regexes also match only at the start.
from magicseteditor2.
Related Issues (20)
- Inconsistent value for `card_style.field.content_height` HOT 1
- Add Unicode Escape `\uXXXX` for `<font:Wingdings>` Support HOT 2
- Unicode Rendering Error on Wingding Enclosed Alphanumerics and Bullet (U+2022)
- Saved my file into an unplugged directory by mistake
- Set Symbol Inverted in Linux Compilation
- [2.1.2][Linux] Text Selection is Invisible
- Internal Error issue: An internal error occured
- Invalid Vector Subscript HOT 1
- View all attributes an object has
- Non-Existant File error?
- Dark mode
- Can not save an existing file.
- CLI new_card() does not support image type
- Incorrect kerning on italic fonts when text is justified.
- Add Cards button scripts delayed population
- Just got this error when attempting to delete a token in MSE
- Linux: Build instructions outdated
- Referencing non-existent file Internal error
- in an exporter script, card.styling has invalid data
- Can't build in Linux using cmake as there is no build directory HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magicseteditor2.