Skip to content

Instantly share code, notes, and snippets.

@caiolima
Created July 21, 2017 17:00
Show Gist options
  • Save caiolima/6978c2ca2bcbd71219ef88a53069a9f8 to your computer and use it in GitHub Desktop.
Save caiolima/6978c2ca2bcbd71219ef88a53069a9f8 to your computer and use it in GitHub Desktop.
for (let i = 0; i < wordList.length; i++) {
#specialize(0, 2, 3)
let findPos = searchInText(textTokenized, wordList[i], 1, 4);
print("Found \"" + wordList[i] + "\" in text in following positions:");
for (let pos of findPos)
print(findPos);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment