logo

HanLP documentation

Introduction

  • Tutorial
  • Install
  • Configuration
  • Data Format
  • Annotations
    • Part-of-Speech Tagging
      • ctb
      • pku
      • 863
      • Universal Dependencies
    • Named Entity Recognition
      • pku
      • msra
      • ontonotes
    • Dependency Parsing
      • Stanford Dependencies
      • Universal Dependencies
    • Semantic Dependency Parsing
      • The reduction of Minimal Recursion Semantics
      • Predicate-Argument Structures
      • Prague Czech-English Dependency Treebank
      • SemEval2016
    • Semantic Role Labeling
      • Chinese Proposition Bank
      • English PropBank
    • Constituency Parsing
      • Chinese Tree Bank
      • Penn Treebank
  • Contributing Guide
  • GitHub Repository

Python API

  • hanlp
    • hanlp
    • common
      • structure
      • vocab
      • transform
      • dataset
      • component
      • torch_component
    • components
      • mtl
        • MultiTaskLearning
        • tasks
          • Task
          • con
          • dep
          • sdp
          • ud
          • lem
          • pos
          • tok
          • ner
            • tag_ner
            • biaffine_ner
          • srl
            • bio_srl
            • rank_srl
      • classifiers
      • eos
      • tokenizers
        • transformer
        • multi_criteria
      • lemmatizer
      • taggers
        • transformer_tagger
        • rnn_tagger
      • ner
        • transformer_ner
        • rnn_ner
        • biaffine_ner
      • parsers
        • biaffine_dep
        • biaffine_sdp
        • ud_parser
        • crf_constituency_parser
      • srl
        • span_rank
        • span_bio
    • pretrained
      • mtl
      • eos
      • tok
      • pos
      • ner
      • dep
      • sdp
      • word2vec
      • glove
      • fasttext
    • datasets
      • eos
        • eos
        • resources
      • tok
        • txt
        • mcws_dataset
        • resources
      • pos
        • resources
      • ner
        • tsv
        • json
        • resources
      • dep
        • conll
        • resources
      • srl
        • conll2012_dataset
        • resources
      • con
        • constituency_dataset
        • resources
    • utils
      • io_util
    • layers
      • embeddings
        • embedding
        • word2vec
        • fasttext
        • char_cnn
        • char_rnn
        • transformer
      • transformers
        • encoder
        • tokenizer
      • decoders
        • linear_crf
        • biaffine_ner
  • hanlp_common
    • document
    • conll
    • configurable
    • constant
  • hanlp_restful
  • hanlp_trie
    • trie
    • dictionary

Java API

  • 1.x API
  • Java RESTful API

References

  • References
Theme by the Executable Book Project

hanlpΒΆ

Core API for hanlp.

  • hanlp
  • common
    • structure
    • vocab
    • transform
    • dataset
      • datasets
      • dataloaders
      • samplers
      • sampler builders
    • component
    • torch_component
  • components
    • mtl
      • MultiTaskLearning
      • tasks
        • Task
        • con
        • dep
        • sdp
        • ud
        • lem
        • pos
        • tok
        • ner
          • tag_ner
          • biaffine_ner
        • srl
          • bio_srl
          • rank_srl
    • classifiers
    • eos
    • tokenizers
      • transformer
      • multi_criteria
    • lemmatizer
    • taggers
      • transformer_tagger
      • rnn_tagger
    • ner
      • transformer_ner
      • rnn_ner
      • biaffine_ner
    • parsers
      • biaffine_dep
      • biaffine_sdp
      • ud_parser
      • crf_constituency_parser
    • srl
      • span_rank
      • span_bio
  • pretrained
    • mtl
    • eos
    • tok
    • pos
    • ner
    • dep
    • sdp
    • word2vec
    • glove
    • fasttext
  • datasets
    • eos
      • eos
      • resources
        • nn_eos
    • tok
      • txt
      • mcws_dataset
      • resources
        • sighan2005
          • pku
          • msr
          • as
          • cityu
        • CTB6
        • CTB8
        • CTB9
    • pos
      • resources
        • CTB5
        • CTB8
        • CTB9
    • ner
      • tsv
      • json
      • resources
        • CoNLL 2003
        • MSRA
        • OntoNotes5
        • Resume
        • Weibo
    • dep
      • conll
      • resources
        • Chinese Treebank
          • CTB5
          • CTB7
          • CTB8
          • CTB9
        • English Treebank
          • PTB
        • Universal Dependencies
          • Languages
          • Multilingual
    • srl
      • conll2012_dataset
      • resources
        • OntoNotes 5
          • Chinese
    • con
      • constituency_dataset
      • resources
        • Chinese Treebank
          • CTB8
          • CTB9
        • English Treebank
          • PTB
  • utils
    • io_util
  • layers
    • embeddings
      • embedding
      • word2vec
      • fasttext
      • char_cnn
      • char_rnn
      • transformer
    • transformers
      • encoder
      • tokenizer
    • decoders
      • linear_crf
      • biaffine_ner
Contributing Guide hanlp

By hankcs
© Copyright 2020, hankcs.