Demos


Welcome to the tutorial of HanLP! To demonstrate each NLP task, we provide two types of demonstrations: GUI and codes.

GUI

Click the button at the bottom right to submit your testcases.

184/800
loading

Codes

Each code block is connected to a Jupyter kernel, so you can edit it and click the RUN button to execute it on the fly.

      from hanlp_restful import HanLPClient
HanLP = HanLPClient('https://www.hanlp.com/api', auth=None, language='mul') # Fill in your auth
HanLP('''In 2021, HanLPv2.1 delivers state-of-the-art multilingual NLP techniques to production environments. 
2021年、HanLPv2.1は次世代の最先端多言語NLP技術を本番環境に導入します。
2021年 HanLPv2.1为生产环境带来次世代最先进的多语种NLP技术。''').pretty_print()

    

Tips

Follow the sidebar for interesting tasks!

Last update: 7/10/2022, 9:59:22 PM
Contributors: hankcs