5.3k sao GitHub và vẫn tăng — HIT-SCIR/ltp là dự án Python mà TopGit đang theo dõi trên nền tảng. Language Technology Platform
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
@inproceedings{che-etal-2021-n,
title = "N-{LTP}: An Open-source Neural Language Technology Platform for {C}hinese",
author = "Che, Wanxiang and
Feng, Yunlong and
Qin, Libo and
Liu, Ting",
booktitle = "Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing: System Demonstrations",
month = nov,
year = "2021",
address = "Online and Punta Cana, Dominican Republic",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2021.emnlp-demo.6",
doi = "10.18653/v1/2021.emnlp-demo.6",
pages = "42--49",
abstract = "We introduce N-LTP, an open-source neural language technology platform supporting six fundamental Chinese NLP tasks: lexical analysis (Chinese word segmentation, part-of-speech tagging, and named entity recognition), syntactic parsing (dependency parsing), and semantic parsing (semantic dependency parsing and semantic role labeling). Unlike the existing state-of-the-art toolkits, such as Stanza, that adopt an independent model for each task, N-LTP adopts the multi-task framework by using a shared pre-trained model, which has the advantage of capturing the shared knowledge across relevant Chinese tasks. In addition, a knowledge distillation method (Clark et al., 2019) where the single-task model teaches the multi-task model is further introduced to encourage the multi-task model to surpass its single-task teacher. Finally, we provide a collection of easy-to-use APIs and a visualization tool to make users to use and view the processing results more easily and directly. To the best of our knowledge, this is the first toolkit to support six Chinese NLP fundamental tasks. Source code, documentation, and pre-trained models are available at https://github.com/HIT-SCIR/ltp.",
}
use std::fs::File;
use itertools::multizip;
use ltp::{CWSModel, POSModel, NERModel, ModelSerde, Format, Codec};
fn main() -> Result<(), Box<dyn std::error::Error>> {
let file = File::open("data/legacy-models/cws_model.bin")?;
let cws: CWSModel = ModelSerde::load(file, Format::AVRO(Codec::Deflate))?;
let file = File::open("data/legacy-models/pos_model.bin")?;
let pos: POSModel = ModelSerde::load(file, Format::AVRO(Codec::Deflate))?;
let file = File::open("data/legacy-models/ner_model.bin")?;
let ner: NERModel = ModelSerde::load(file, Format::AVRO(Codec::Deflate))?;
let words = cws.predict("他叫汤姆去拿外衣。")?;
let pos = pos.predict(&words)?;
let ner = ner.predict((&words, &pos))?;
for (w, p, n) in multizip((words, pos, ner)) {
println!("{}/{}/{}", w, p, n);
}
Ok(())
}
HIT-SCIR/ltp thuộc nhóm AI Tools trên TopGit, cùng 4 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về HIT-SCIR/ltp ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/HIT-SCIR/ltp là nguồn chính thức.
HIT-SCIR/ltp có phải mã nguồn mở không?
TopGit chưa ghi nhận license cho HIT-SCIR/ltp. Phần lớn repo public trên GitHub là mã nguồn mở, nhưng điều khoản khác nhau từng repo — mở file LICENSE để xác nhận.
HIT-SCIR/ltp có trang demo không?
Dự án có trang chủ ở http://ltp.ai. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
HIT-SCIR/ltp là gì?
HIT-SCIR/ltp (HIT-SCIR/ltp) là dự án Python trên GitHub. Theo mô tả gốc: Language Technology Platform
Vì sao HIT-SCIR/ltp được xếp vào nhóm AI Tools?
TopGit xếp HIT-SCIR/ltp vào nhóm AI Tools dựa trên GitHub topics và mô tả của repo (gắn thẻ: "chinese-nlp", "machine-learning", "natural-language-processing"). Việc phân loại dựa trên metadata thật của repo, không phải đoán theo cảm tính biên tập.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về ltp?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về ltp.