
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
hanlp-client
Advanced tools
npm install hanlp-client
hanlp-client connected with nlp.arrking.com.
var HanlpClient = require('hanlp-client')
var client = new HanlpClient(CLIENT_ID, CLIENT_SECRET);
Get CLIENT_ID, CLIENT_SECRET from Austack.
Login > Application > New Application > Settings
介绍 | 方法 |
---|---|
中文分词 | client.cutSentence(data) |
提取关键词 | client.getKeywords(data) |
实体命名标识:人名,地名,组织机构名称 | client.matchEntities(data) |
名词 | client.matchNoun(data) |
副词 | client.matchAdverbs(data) |
动词 | client.matchVerbs(data) |
形容词 | client.matchAdjectives(data) |
指示代词 | client.matchPronouns(data) |
人名 | client.matchNames(data) |
摘要 | client.getSummary(data) |
摘要和关键词 | client.getSummaryAndKeywords(data) |
短语提取 | client.getPhrase(data) |
繁体转简体 | client.convertJT(data) |
简体转繁体 | client.convertFT(data) |
转拼音 | client.convertPY(data) |
联合:同时获得keywords/nouns/entities/adverbs/verbs/adjectives/pronouns/names | client.combine(data) |
ava
This module uses async/await. So, use it with Node.js 7.1.6+.
MIT
FAQs
NLP Client Package with hanlp-api service
The npm package hanlp-client receives a total of 19 weekly downloads. As such, hanlp-client popularity was classified as not popular.
We found that hanlp-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.