如何使用 Watson NLP (p5.js) 进行关键字分析

问题描述

我正在尝试在 p5.js 上使用 IBM Watson NLP,但我无法使用其所有功能。 我试图从文本中显示 3 个关键字,但正如您所看到的,当我启动程序时它们没有显示出来。

有人可以帮我吗?

  // ==== KEYWORDS ANALYSIS ====
 
  var keywords=response.result.keywords;
  print(keywords);
  createElement("h2","Keywords");
  
  nbkeywords = 2;
  createP("Keywords in this speech are:");
  createP(keywords[i].text+"</b");

enter image description here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)