1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Discovery Premiumやってみた 〜タイトルにリンクをつける編〜

1
Last updated at Posted at 2021-07-06

Watson DiscoveryのPremiumプランで提供されているコンテンツ・マイニングに関する記事です。
今回はタイトルにリンクをつける方法の話です。

やりたいこと

タイトルをクリックして
image.png

このページに飛びたい
image.png

設定の仕方

前提

DiscoveryのContent Miningというタイプのプロジェクトを作り、ここからダウンロードできるlivedoorニュースコーパスのデータを投入済みです。

入れたデータはこんな感じです。
タイトルにリンクをつけたいURLがフィールドとして入っている事がポイントです。
image.png

初期状態

データをそのままContent Miningに入れるとこんな感じになります。
image.png

Titleとして表示されている「【Sports Watch】宮里藍…」にリンクをつけたい。

鉛筆マークをクリック

image.png

設定画面で設置

「URL:」のプルダウンメニューからURLが含まれているフィールドを選び「Apply」をクリックします。
image.png

結果

こうなります。タイトルをクリックすると、、、
image.png

該当のページに飛びました!
image.png

補足

ちなみに、リンクをつける前もタイトルをクリックできるのですが、クリックすると詳細な分析結果が見えます。
image.png

まとめ

今回はURLを設定しましたが、設定画面にはImageもあったので、画像も表示できそうな雰囲気ですね。

お断り

このサイトの掲載内容は私自身の見解であり、必ずしも所属会社の立場、戦略、意見を代表するものではありません。 記事は執筆時点の情報を元に書いているため、必ずしも最新情報であるとはかぎりません。 記事の内容の正確性には責任を負いません。自己責任で実行してください。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?