What is the “Aylien Text Analysis” NLP API?
Aylien Text Analysis is one of the NLP APIs that are integrated with WPSOLR’s NLP API extension.
According to Aylien Text Analysis documentation:
“Documents often contain mentions of entities such as people, places, products and organizations, which we collectively call Named Entities. Additionally they may also contain specific values or items such as links, telephone numbers, email addresses, currency amounts and percentages. To extract these entities and values from a piece of text, as well as the keywords, you can use the Entity Extraction endpoint.”
Get your Aylien Text Analysis credentials
- Copy your App ID
- Copy your API Key
Active the WPSOLR NLP API extension
- Select the extension menu
- Click the “Activate” checkbox
- Save to activate the extension
Configure the Aylien Text Analysis NLP API
- Click to create an Aylien Text Analysis NLP API configuration
- Enter a name for your Aylien Text Analysis NLP API configuration
- Activate this Aylien Text Analysis NLP API configuration
- Activate the cache for this Aylien Text Analysis NLP API configuration
- Select the provider “Aylien Text Analysis”
- Select the service “Entity Extraction”
- Enter your Aylien Text Analysis App ID
- Enter your Aylien Text Analysis API key
- Select each index you want to process with this Aylien Text Analysis NLP API configuration
- Select each post types you want to process with this Aylien Text Analysis NLP API configuration (only the post types selected in WPSOLR screen 2.2 previously will show up here)
- Save
Configure the WPSOLR search
- Select the search menu
- Select the presentation menu
- Activate the search with WPSOLR
Configure the Aylien Text Analysis fields to index
- Select the search menu
- Select the index menu
- Select the post types you want to index (containing the texts to extract)
- Select the Aylien Text Analysis fields fields you want to index
Configure the Aylien Text Analysis fields to use as filters
- Select the filters menu
- Select the Aylien Text Analysis fields fields you want to use as filters
Add WPSOLR facets widget to your search sidebar
- Add the WPSOLR facets widget
Create a post with some interesting text to extract
Make a search and use extracted fields as filters
- Filter by persons
- Filter by location