Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Google 的 Natural Language API 来分析一些句子的情绪,但似乎只能逐句发送。
是否可以大量调用 API?是否可以在一个电话中发送许多句子,或者我必须为每个句子打一个电话?
谢谢!
如果您使用一堆句子进行一次调用,我们将自动将文档拆分为句子,计算每个句子的情绪,并为您提供整个文档的整体加权平均值。
文档的大小有限制,但几百 k 应该没问题。