Constructor
new EntitySentimentFilterBuilder()
Creates internal { @link EntityFilter } object
Methods
build() → {EntityFilter}
Returns:
- Type
- EntityFilter
location(l) → {this}
Filter by location name
Important: Don't confuse this with the country filter. If you want to search for sites from a specific country, use the thread.country parameter (explained above).
location:"germany"
Parameters:
Name | Type | Description |
---|---|---|
l |
Sentiment |
Returns:
- Type
- this
organization(o) → {this}
Filter by organization/company name. You should use this filter only for disambiguation, otherwise you should use a simple keyword search. organization:"apple"
Parameters:
Name | Type | Description |
---|---|---|
o |
Sentiment |
Returns:
- Type
- this
person(p) → {this}
Filter by person name. You should use this filter only for disambiguation, otherwise you should use a simple keyword search. person:"barack obama"
Parameters:
Name | Type | Description |
---|---|---|
p |
Sentiment |
Returns:
- Type
- this