Auto-Tagging Assets

You can manually tag most assets, such as Message Boards, Blogs, Documents, Images, and Web Content Articles. You can tag certain assets, however, automatically when they are created. Tags applied automatically are in only English.

Auto-tagging is available for text-based documents, text-based web content, and blog entries, as well as images.

Text auto-tagging is disabled by default. To use it, enable auto-tagging in DXP, enable a text auto-tagging provider, and choose the assets to auto-tag. DXP offers two text auto-tagging providers:

  • Google Cloud Natural Language Text Auto-Tagging: Uses the Google Cloud Natural Language API to analyze and tag content automatically.

  • OpenNLP Text Auto-Tagging: Uses the open source Apache OpenNLP. It applies tags based on models for location names, organizations, and person names.

Tip

Use OpenNLP with caution due to potential accuracy limitations.

Configuring Google Cloud Natural Language Text Auto-Tagging

  1. Click the Global MenuControl Panel.

  2. Click System Settings.

    Navigate to the System Settings.

  3. Click Assets under Content and Data.

    Click on Assets.

  4. Under VIRTUAL INSTANCE SCOPE, click Google Cloud Natural Language Text Auto-Tagging.

  5. Fill out the form and click Save when finished.

The form asks for this information:

API Key: The API key for the Google Cloud Natural Language API. For more information, see Google’s documentation on API keys.

Classification Endpoint Enabled: Enables auto-tagging using the classification endpoint.

Confidence: Sets the classifier’s confidence level for assigning categories.

Entity Endpoint Enabled: Enables auto-tagging using the entity endpoint.

Salience: Defines the importance of an entity in the text.

Enable Google Cloud Natural Language Text Auto-Tagging For: Choose asset types such as Document, Blogs Entry, or Web Content Article. Use the Add icon (Add) to include multiple asset types or the Trash icon (Trash) to remove them.

Enter your settings.

For multiple virtual instances, override these settings under Control PanelInstance SettingsAssets.

Configuring OpenNLP Text Auto-Tagging

  1. Click the Global MenuControl Panel

  2. Click System Settings.

  3. Click Assets under Content and Data.

  4. Under VIRTUAL INSTANCE SCOPE, click OpenNLP Text Auto-Tagging.

  5. Fill out the form and click Save when finished.

The form asks for this information:

Confidence Threshold: Set the minimum confidence level (0 to 1, where 1 is the highest). Higher values result in fewer tags.

Enable OpenNLP Text Auto-Tagging For: Choose asset types such as Document, Blogs Entry, or Web Content Article. Use the Add icon (Add) to include multiple asset types or the Trash icon (Trash) to remove them.

Enter your settings.

For multiple virtual instances, override these settings under Control PanelInstance SettingsAssets.

Example: Blogs Auto-Tagging

Follow these steps to enable auto-tagging for blog entries using OpenNLP:

  1. Follow the steps in Configuring OpenNLP Text Auto Tagging.

  2. In the OpenNLP Text Auto-Tagging page under VIRTUAL INSTANCE SCOPE, set your Confidence Threshold value to 0.01.

  3. In Enable OpenNLP Text Auto-Tagging For, select Blogs Entry.

    Filling out the form for OpenNLP

  4. Click Update

  5. Go to your Home Page and open the Product MenuContent and DataBlogs.

  6. Click New and create a blog post. The more text you include in the content, the more tags may be generated.

  7. Click Publish when finished.

  8. Click Actions (Actions menu) and click Edit.

  9. Select the Categorization field. Tags appear under Other Metadata.

    Seeing auto-tagging on Blogs

Capabilities

Product

Education

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy