Hi Tutors,<br>How can I extract a specific sublist (??) from a nested list, for example, if I want to extract the sublist ["ADJ", "good"], or the bigger sublist ["NP",["DET", "The"],["ADJ", "good"],["NOUN", "man"]] from the following nested list?<br>
<br>nested_list = ["S",["NP",["DET", "The"],["ADJ", "good"],["NOUN", "man"]], ["VP", ["V", "came"]]]<br clear="all">
<br>-- <br>لا أعرف مظلوما تواطأ الناس علي هضمه ولا زهدوا في إنصافه كالحقيقة.....محمد الغزالي<br>"No victim has ever been more repressed and alienated than the truth"<br><br>Emad Soliman Nawfal<br>Indiana University, Bloomington<br>
<br>--------------------------------------------------------<br>