Skip to content

Latest commit

 

History

History
100 lines (81 loc) · 6.76 KB

enrichmig.md

File metadata and controls

100 lines (81 loc) · 6.76 KB
copyright lastupdated subcollection
years
2020
2020-01-21
discovery-data

{:shortdesc: .shortdesc} {:external: target="_blank" .external} {:tip: .tip} {:note: .note} {:pre: .pre} {:important: .important} {:deprecated: .deprecated} {:codeblock: .codeblock} {:screen: .screen} {:download: .download} {:hide-dashboard: .hide-dashboard} {:apikey: data-credential-placeholder='apikey'} {:url: data-credential-placeholder='url'} {:curl: .ph data-hd-programlang='curl'} {:javascript: .ph data-hd-programlang='javascript'} {:java: .ph data-hd-programlang='java'} {:python: .ph data-hd-programlang='python'} {:ruby: .ph data-hd-programlang='ruby'} {:swift: .ph data-hd-programlang='swift'} {:go: .ph data-hd-programlang='go'}

Migrating enrichments from Watson Explorer

{: #enrichmig}

If you have resources from IBM Watson Explorer, some of them can be migrated to {{site.data.keyword.discoveryfull}}. {: shortdesc}

Types of resources that can be migrated

{: #enrichty}

The following types of resources can be migrated from Watson Explorer to {{site.data.keyword.discoveryshort}}:

Importing dictionaries from Watson Explorer Analytical Components

{: #enrichdictca}

If you have user dictionaries{: external} from IBM Watson Explorer Analytical Components, you can import them by using the {{site.data.keyword.discoveryshort}} content mining application.

The default file location and name for dictionaries that are saved in Watson Explorer Analytical Components is ${master_server_node}/{master_configuration}/{collection_ID}/{dictionary_name}.fdic.xml. {: tip}

  1. Download your user dictionaries from Watson Explorer Analytical Components.
  2. Log in to the content mining application. The link for the content mining app is similar to the format, https://{installation domain}/discovery/{ID}/cm/miner.
  3. If the app opens within a collection, click the Collections link from the top of the page, which takes you to the main page of the content mining app.
  4. From the main page of the content mining app, select custom annotator from the menu, and then select the Create Custom Annotator button. Watson Discovery content mining main page{: caption="Figure 1. The content mining app main page showing the items in the creation menu" caption-side="bottom"}
  5. Enter a name and description for the enrichment.
  6. From the Annotator Type menu, select Dictionary, and click Next.
  7. Click the Import button and select the {name}.fdic.xml dictionary file that you want to import.
  8. Click Save.
  9. Log in to {{site.data.keyword.discoveryshort}} and open the project that contains the collection you want to enrich with this dictionary.
  10. From the Manage collections tab, open the collection you want to enrich.
  11. From the Enrichments tab, select the dictionary that you imported, and specify the field or fields that you want to enrich.
  12. Click Apply changes and reprocess.

Uploading dictionaries from Watson Explorer oneWEX

{: #enrichdictow}

If you have dictionaries{: external} from IBM Watson Explorer oneWEX, you can upload them to {{site.data.keyword.discoveryshort}}.

  1. From Watson Explorer oneWEX, Version 12.0.0 or later modifications or fix packs, download the dictionary CSV file.
    1. Log in to the oneWEX administrator console.
    2. Open the Resource tab.
    3. Select dictionary enrichments, open the dictionary tab, and click the download icon. The dictionary is downloaded as a CSV file.
  2. Log in to {{site.data.keyword.discoveryshort}} and open the project that contains the collection you want to enrich with this dictionary.
  3. From right side navigation, click Teach domain concepts > Dictionaries.
  4. Click Upload and enter the required information.
  5. Click Upload and select the CSV file of the dictionary that was downloaded from oneWEX.
  6. Click Create, and then select the collection and fields you want to apply the dictionary enrichment to.
  7. Click Apply. {{site.data.keyword.discoveryshort}} applies the changes and reprocesses the collection.

Importing character patterns from Watson Explorer oneWEX

{: #enrichcpow}

If you have character patterns{: external} from IBM Watson Explorer oneWEX, you can import them by using the {{site.data.keyword.discoveryshort}} content mining application.

  1. Log in to the content mining application and open the project that contains the collection you want to enrich with this character pattern. The link for the content mining app is similar to the format, https://{installation domain}/discovery/{ID}/cm/miner.
  2. If the app opens within a collection, click the Collections link from the top of the page, which takes you to the main page of the content mining app.
  3. From the main page of the content mining app, select custom annotator from the menu, and then select the Create Custom Annotator button. Watson Discovery content mining main page{: caption="Figure 2. The content mining app main page showing the items in the creation menu" caption-side="bottom"}
  4. Enter a name and description for the enrichment.
  5. From the Annotator Type menu, select Character Pattern, and click Next.
  6. Click the Import button.
  7. Select the JSON file that you want to import and click Save.
  8. Log in to {{site.data.keyword.discoveryshort}} and open the project that contains the collection you want to enrich with this character pattern.
  9. From the Manage collections tab, open the collection you want to enrich.
  10. From the Enrichments tab, select the character pattern that you imported, and specify the field or fields that you want to enrich.
  11. Click Apply changes and reprocess.