These are the Atomic components of Analyzer.
Check if the current time is Equal, LessOrEqual, Less, Greater, GreaterOrEqual to the argument which is an integer between 1 and 31
Check if the current time is Equal, LessOrEqual, Less, Greater, GreaterOrEqual to the argument which is an integer between 1 and 31
first argument is the day of the month: a number between 1 and 31 second argument is the operator: any of Equal, LessOrEqual, Less, Greater, GreaterOrEqual third argument is the timezone: UTC, GMT, UT, CET, UTC+<N>, UTC-<N>, GMT+<N>, GMT-<N>, UT+<N> or UT-<N> where N is a number between -18 and +18. Default is CET
Check if the current time is Equal, LessOrEqual, Less, Greater, GreaterOrEqual to the argument which is an integer between 1 (MONDAY) and 7 (SUNDAY)
Check if the current time is Equal, LessOrEqual, Less, Greater, GreaterOrEqual to the argument which is an integer between 1 (MONDAY) and 7 (SUNDAY)
first argument is the day of the week: a number between 1 and 7 second argument is the operator: any of Equal, LessOrEqual, Less, Greater, GreaterOrEqual third argument is the timezone: UTC, GMT, UT, CET, UTC+<N>, UTC-<N>, GMT+<N>, GMT-<N>, UT+<N> or UT-<N> where N is a number between -18 and +18. Default is CET
Check if the current time is Equal, LessOrEqual, Less, Greater, GreaterOrEqual to the argument time in EPOC
Check if the current time is Equal, LessOrEqual, Less, Greater, GreaterOrEqual to the argument time in EPOC
first argument is the hour: a number between 0 and 23 second argument is the operator: any of Equal, LessOrEqual, Less, Greater, GreaterOrEqual third argument is the timezone: UTC, GMT, UT, CET, UTC+<N>, UTC-<N>, GMT+<N>, GMT-<N>, UT+<N> or UT-<N> where N is a number between -18 and +18. Default is CET
Check if the current minutes are Equal, LessOrEqual, Less, Greater, GreaterOrEqual to the first argument
Check if the current minutes are Equal, LessOrEqual, Less, Greater, GreaterOrEqual to the first argument
first argument is the minute: a number between 0 and 59 second argument is the operator: any of Equal, LessOrEqual, Less, Greater, GreaterOrEqual third argument is the timezone: UTC, GMT, UT, CET, UTC+<N>, UTC-<N>, GMT+<N>, GMT-<N>, UT+<N> or UT-<N> where N is a number between -18 and +18. Default is CET
Check if the current month is Equal, LessOrEqual, Less, Greater, GreaterOrEqual to the argument which is an integer between 1 (JANUARY) and 12 (DECEMBER)
Check if the current month is Equal, LessOrEqual, Less, Greater, GreaterOrEqual to the argument which is an integer between 1 (JANUARY) and 12 (DECEMBER)
first argument is the month's number: an integer between 1 and 12 second argument is the operator: any of Equal, LessOrEqual, Less, Greater, GreaterOrEqual third argument is the timezone: UTC, GMT, UT, CET, UTC+<N>, UTC-<N>, GMT+<N>, GMT-<N>, UT+<N> or UT-<N> where N is a number between -18 and +18. Default is CET
Check if the current time is Equal, LessOrEqual, Less, Greater, GreaterOrEqual to the argument time in EPOC
Check if the current time is Equal, LessOrEqual, Less, Greater, GreaterOrEqual to the argument time in EPOC
first argument is the timestamp: a timestamp in EPOC (in seconds) second argument is the operator: any of Equal, LessOrEqual, Less, Greater, GreaterOrEqual
calculate the cosine distance between vectors of keywords
Double Atomic
Double Atomic
argument is a double number
Created by Angelo Leto <[email protected]> on 03/03/17.
test if a variable exists on dictionary of variables
test if the list of traversed states contains a state, eg
test if the list of traversed states contains a state, eg
hasTravState("help")
Basically a word separated from the others.
Basically a word separated from the others. E.g.: "foo" matches "foo and bar" but not "fooish and bar" "foo.*" matches "pippo and pluto" and "fooish and bar"
test the value of the last traversed state
Analyzer for the extraction of dates from queries
A generic pattern extraction analyzer, it extract named patterns matching a given regex e.g.
A generic pattern extraction analyzer, it extract named patterns matching a given regex e.g. the following will match tree numbers separated by semicolumn: [first,second,third](?:([0-9]+:[0-9]:[0-9]+) if the regex matches it will create the entries into the dictionary e.g.: 10:11:12 will result in Map("first.0" -> "10", "second.0" -> "11", "third.0" -> "12") the number at the end of the name is an index incremented for multiple occurrences of the pattern in the query
test the value of the penultimate traversed state
Counts the occurrences of a pattern into a string
These are the Atomic components of Analyzer. Atomic can be for instance a Pattern (i.e. a Regex) or a Similarity. Atomics can be composed in Analyzers through Operators, like:
AND(regex > 0, similarity > 0.9)
NB New atomic must be registered in