Coder Social home page Coder Social logo

例子运行不了 about bosonnlp HOT 9 CLOSED

wuchuguang avatar wuchuguang commented on June 5, 2024
例子运行不了

from bosonnlp.

Comments (9)

wuchuguang avatar wuchuguang commented on June 5, 2024

ping api.bosonnlp.com 通。
telnet api.bosonnlp.com 80 不通。

from bosonnlp.

liwenzhu avatar liwenzhu commented on June 5, 2024

你运行的是哪一个例子? 我试了一下是没有问题的

from bosonnlp.

wuchuguang avatar wuchuguang commented on June 5, 2024

var bosonnlp = require('bosonnlp');
var nlp = new bosonnlp.BosonNLP('YOUR_API_KEY');
nlp.ner('成都商报记者 姚永忠', function (result) {
console.log(result);
});

from bosonnlp.

liwenzhu avatar liwenzhu commented on June 5, 2024

提示的错误是格式错误,这个是你填写的api_key格式不对, 应该是 abc.def.hij这样的格式,如果去掉一个中间的点,就会返回{"status":403,"message":"malformed token format"}, 你再看看你的api_key是不是填错了。

from bosonnlp.

wuchuguang avatar wuchuguang commented on June 5, 2024

我填上我的key后再运行的。报那个错。你那边试一下。

在 2016-06-14 18:10:07,"Vincent" [email protected] 写道:

提示的错误是格式错误,这个是你填写的api_key格式不对, 应该是 abc.def.hij这样的格式,如果去掉一个中间的点,就会返回{"status":403,"message":"malformed token format"}, 你再看看你的api_key是不是填错了。


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

from bosonnlp.

liwenzhu avatar liwenzhu commented on June 5, 2024

我这用我的key运行没错误,把key改成一个错误的格式才报的你的那个错误,应该还是key的问题,要不你新申请一个key再看看

from bosonnlp.

wuchuguang avatar wuchuguang commented on June 5, 2024

正常了,谢谢。

在 2016-06-14 18:46:17,"Vincent" [email protected] 写道:

我这用我的key运行没错误,把key改成一个错误的格式才报的你的那个错误,应该还是key的问题,要不你新申请一个key再看看


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

from bosonnlp.

wuchuguang avatar wuchuguang commented on June 5, 2024

今日剩余500000 试用。
这是每天会刷新吗?还是试用500000次后,就只能付费了?

from bosonnlp.

liwenzhu avatar liwenzhu commented on June 5, 2024

这个每天都刷新。

from bosonnlp.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.