Live Demo
Linguistics
Dep Tree ────────── ┌─► ┌─►├── │ └─► │ ┌─► ┌┬┬─┴──┴── │││ ┌───► │││ │┌──► │││ ││┌─► ││└─►└┴┴── ││ ┌──► ││ │┌─► │└───►└┴── └────────►
Token ──────────────── In 2021 , HanLPv2.1 delivers state-of-the-art multilingual NLP techniques to production environments .
Relation ──────── case obl punct nsubj root amod amod compound obj case compound obl punct
Lemma ──────────────── in 2021 , HANlpv2.1 deliver state-of-the-art multilingual NLP technique to production environment .
PoS ───── ADP NUM PUNCT PROPN VERB ADJ ADJ PROPN NOUN ADP NOUN NOUN PUNCT
Tok ──────────────── In 2021 , HanLPv2.1 delivers state-of-the-art multilingual NLP techniques to production environments .
NER Type ─────────────── ───►DATE ───►WORK_OF_ART
Tok ──────────────── In 2021 , HanLPv2.1 delivers state-of-the-art multilingual NLP techniques to production environments .
SRL PA1 ──────────── ◄─┐ ◄─┴►ARGM-TMP ───►ARG0 ╟──►PRED ◄─┐ ├►ARG2 ◄─┘
Tok ──────────────── In 2021 , HanLPv2.1 delivers state-of-the-art multilingual NLP techniques to production environments .
PoS 3 4 5 6 ────────────────────────────────── ADP ───────────┐ NUM ────►NP ───┴────────►PP ───┐ PUNCT──────────────────────────┤ PROPN───────────────────►NP────┤ VERB ──────────────────┐ │ ADJ ───┐ │ │ ADJ │ │ │ PROPN ├────────►NP────┼►VP────┼►S NOUN ──┘ │ │ ADP ───────────┐ │ │ NOUN ──┐ ├►PP ───┘ │ NOUN ──┴►NP ───┘ │ PUNCT──────────────────────────┘
Lexical
Syntactics
Semantics
Introduction
The multilingual NLP library for researchers and companies, built on PyTorch and TensorFlow 2.x, for advancing state-of-the-art deep learning techniques in both academia and industry. HanLP was designed from day one to be efficient, user friendly and extendable.
Thanks to open-access corpora like Universal Dependencies and OntoNotes, HanLP 2.1 now offers 10 joint tasks on 104 languages: tokenization, lemmatization, part-of-speech tagging, token feature extraction, dependency parsing, constituency parsing, semantic role labeling, semantic dependency parsing, abstract meaning representation (AMR) parsing. See also GitHub。