3. PCFG in NLP: Tuesday, August 12, 2025 BVRIT 5 PCFGs are used in NLP for tasks like parsing, where the goal is to determine the grammatical structure of a sentence. Because natural language is often ambiguous (a sentence can have multiple possible grammatical structures), CFGs alone are not sufficient. PCFGs overcome this by assigning probabilities to different parse trees, allowing the most likely parse to be selected.