0

在许多关于Wolfram 语言的视频中,他们谈到了它如何对“一切”了解很多,并展示了许多示例,例如:在这个视频中。

为了让语言做到这一点,它是否需要始终能够获得

  • 全球人口;
  • 国内生产总值;
  • 天气

仅举几例?

我知道可以包含常量(pi、e、日志、天/周/月等),但其他数据集肯定需要按需下载还是可以缓存?

4

3 回答 3

4

直接取自他们的文档:

Wolfram 系统通过访问互联网提供重要功能。大多数提供可计算数据的 Wolfram 语言函数通过在 Internet 上加载数据来运行. 有些功能需要实时上网;其他人在需要时通过访问 Internet 来更新本地数据存储库。当您明确使用 Import 读取 URL 或使用 Web 服务时,Wolfram 语言也需要 Internet 访问. Wolfram 语言文档系统还支持通过 Internet 自动更新。

参考: http ://reference.wolfram.com/language/tutorial/InternetConnectivity.html

于 2014-03-12T18:23:49.847 回答
3

You can always cache previous results, but they recommend against it since data is continually updated.

It's not omnipotent, so at some point you'll need an internet connection, and the data sets are too massive to be practically contained in the language itself.

Regarding caching recommendations:

From: http://products.wolframalpha.com/api/faqs.html

Can I cache the results from Wolfram|Alpha?

Caching is generally inadvisable with Wolfram|Alpha, both because data is continually updated and because a surprisingly large fraction of results depend on user location (not only directly through geography, but also through unit, currency, linguistic, and other conventions, as well as locally determined importance rankings of entities). The standard Wolfram|Alpha API contract does not allow caching.

于 2014-03-12T18:22:59.720 回答
1

是的,Wolfram 语言的功能与在 Mathematica 中使用 Wolfram API 调用的功能相同。对于数学/内置功能,不需要互联网访问,但数据请求显然需要互联网连接。

于 2014-03-12T18:21:40.793 回答