Skip to main content

parse_topic_comment

Function parse_topic_comment 

Source
pub fn parse_topic_comment(
    tokens: &[TokenSpan],
    norm_text: &str,
) -> Vec<Finding>
Expand description

Shallow Parser phân tích cấu trúc Đề - Thuyết (Topic-Comment Engine) dựa trên Ngữ pháp chức năng tiếng Việt của GS. Cao Xuân Hạo.

Phân tách câu thành Khung Đề (Prepositional/Circumstantial Frame) và Thuyết (Comment), kiểm tra tính toàn vẹn của vị từ nòng cốt mà không bị giới hạn số lượng token.