Warning: session_start(): open(/var/lib/php/sessions/sess_6fgqfqesnfdhu6fm75sf90pq2a, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
svoid test_positionalTokenIndex2_filter() {
PositionalTokenIndex2 idx = positionalTokenIndex2_wordTok(tlft([[
you are here
what is this
hello world
hello you
hello my friend
]]));
assertEqualsVerbose(ll("you are here"),
positionalTokenIndex2_filter_wordTok(idx, "you * *"));
assertEqualsVerbose(ll("hello world"),
positionalTokenIndex2_filter_wordTok(idx, "* world"));
assertEqualsVerbose(ll("hello world", "hello you"),
positionalTokenIndex2_filter_wordTok(idx, "hello *"));
assertEqualsVerbose(ll("what is this"),
positionalTokenIndex2_filter_wordTok(idx, "* is this"));
assertEqualsVerbose(ll(),
positionalTokenIndex2_filter_wordTok(idx, "* * is"));
}