What is Syntax Analysis?

4 phương ánCó giải thích

Các phương án trả lời

Chọn một phương án
Lời giảiChọn phương án để mở
Đáp án đúng: "It focuses about the proper ordering of words which can affect its meaning. This involves analysis of the words in a sentence by following the grammatical structure of the sentence. The words are transformed into the structure to show how the words are related to each other.". Syntax analysis (phân tích cú pháp, parsing) kiểm tra thứ tự từ theo ngữ pháp, vì đổi thứ tự có thể đổi nghĩa hoặc làm câu sai, rồi dựng cấu trúc như cây cú pháp cho thấy quan hệ giữa các từ. Cần nói thẳng chỗ tranh cãi: mô tả "transfers linear sequences of words into structures. It shows how the words are associated" cũng là một định nghĩa đúng một phần của phân tích cú pháp, vì nó nói việc chuyển chuỗi từ tuyến tính thành cấu trúc; nhưng mô tả được chọn đầy đủ hơn khi nêu cả thứ tự đúng của từ, ảnh hưởng tới nghĩa và việc theo cấu trúc ngữ pháp, nên vẫn là câu trả lời tốt nhất. "This only abstracts the dictionary meaning or the real meaning from the given context." là định nghĩa phân tích ngữ nghĩa. Mô tả "overall communicative and social content and its effect on interpretation" là phân tích ngữ dụng, xét ngữ cảnh giao tiếp.

Cùng phần 3

Xuất hiện trong 1 bộ đề