pub fn project_tag_set(&self, tag_set: &LabelSet) -> Vec<&str> {
        let indices = self.project_nt_indices(tag_set);
        indices
            .into_iter()
            .map(|nt_idx| {
                // safe to unwrap, we get the IDs from project_ids()
                // which checks if nt_idx is Node::Inner
                self.graph[nt_idx].nonterminal().unwrap().label()
            })
            .collect::<Vec<_>>()
    }
/// Project labels of `NonTerminal`s onto `Terminal`s.
///
/// This method projects the label for each node in `tag_set` onto the terminal nodes.
/// The hierarchically closest node's label will be assigned to each terminal.
Project labels of `NonTerminal`s onto `Terminal`s.
This method projects the label for each node in `tag_set` onto the terminal nodes.
The hierarchically closest node's label will be assigned to each terminal.
Project labels of ` NonTerminal ` s onto ` Terminal ` s . This method projects the label for each node in ` tag_set ` onto the terminal nodes . The hierarchically closest node ' s label will be assigned to each terminal .
pub fn project_tag_set(&self, tag_set: &LabelSet) -> Vec<&str> {
        let indices = self.project_nt_indices(tag_set);
        indices
            .into_iter()
            .map(|nt_idx| {
                // safe to unwrap, we get the IDs from project_ids()
                // which checks if nt_idx is Node::Inner
                self.graph[nt_idx].nonterminal().unwrap().label()
            })
            .collect::<Vec<_>>()
    }
pub fn project_tag_set ( & self , tag_set : & LabelSet ) -> Vec < & str > { let indices = self . project_nt_indices ( tag_set ) ; indices . into_iter ( ) . map ( | nt_idx | { // safe to unwrap, we get the IDs from project_ids() // which checks if nt_idx is Node::Inner self . graph [ nt_idx ] . nonterminal ( ) . unwrap ( ) . label ( ) } ) . collect :: < Vec < _ > > ( ) }
Project labels of `NonTerminal`s onto `Terminal`s.
Project labels of ` NonTerminal ` s onto ` Terminal ` s .
&self
tag_set
&LabelSet
&self
tag_set
&LabelSet