Created
October 19, 2021 13:15
-
-
Save Hkazanci93/e97237728475e1db3a960409e8cfab59 to your computer and use it in GitHub Desktop.
Turn Sentences into Edges using Aho-Corasick algorithm
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
bg = GearsBuilder('KeysReader') | |
bg.foreach(process_item) | |
bg.count() | |
bg.register('sentence:*', mode="async_local",onRegistered=OnRegisteredAutomata) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment