It's a free dependencies Node.js package that provides a module for detecting user intentions while typing a string, comparing it against a list of possible intentions built by Sìntropia.
Key Features:
Intent Detection: Determines the likelihood that an input string matches each of the provided possible intentions.
String Permutations: Utilizes permutation algorithms to explore possible variants of strings, enhancing the robustness of intent detection.
Edit Distance: Calculates the edit distance between permutations of the input string and permutations of possible intentions.
s_intentions simplifies the process of intent detection, making it easier to understand and respond to user needs during interaction with an input string.