Sample Query Plan - Texera/texera GitHub Wiki
A table called twitter
is available to use. The main information (tweets) is in an attribute called text
.
Example of a simple keyword search
- Drag the
Source: Keyword
operator and edit properties with:
- keyword:
climate change
, - attribute:
text
, - table name:
twitter
, - a span list name:
climate change results
or whatever name you prefer; - Click save.
- Drag the
View Results
operator, click save on the sidebar. - Link
KeywordSource
withView Results
by clicking theOutput1
ofKeywordSource
first, then click the dashed-line onInput1
ofView Results
. - Click "Run", you'll see the results displayed on the webpage
Example of a simple sentiment analysis
- Reload the page;
- Drag the
Source: Scan
operator and edit properties with:tableName
=twitter
. Click save. - Drag the
Sentiment Analysis
operator and edit properties with:
- attribute:
text
, - result attribute:
sentiment
or whatever you prefer - click save.
- link
ScanSource
withNlpSentiment
.
- Drag the
View Results
operator, click save on the sidebar, then linkNlpSentiment
withView Results
.