Package adams.parser

Class Summary
TwitterFilter Evaluates Twitter filter expressions.

The expressions use the following grammar:

expr_list ::= expr_list expr | expr;
expr ::= ( expr )
| boolexpr
;

boolexpr ::= BOOLEAN
| ( boolexpr )
| not boolexpr
| boolexpr and boolexpr
| boolexpr or boolexpr
| boolexpr xor boolexpr

| langcode <match> pattern
| country <match> pattern
| countrycode <match> pattern
| place <match> pattern
| source <match> pattern
| text <match> pattern
| user <match> pattern

| ifelse ( boolexpr:test , boolexpr:test_true , boolexpr:test_false )
;

The '<match>' operator can be one of the following:
1.
 



Copyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.