concepts.language.ccg.grammar.compose_ccg_nodes#
- compose_ccg_nodes(lhs, rhs, composition_type=None)[source]#
- Compose two CCG nodes. If the composition type is not specified, it will be guessed. - Parameters:
- lhs (CCGNode) – the left node. 
- rhs (CCGNode) – the right node. 
- composition_type (CCGCompositionType | None) – the composition type. 
 
- Returns:
- The composition result. 
- Return type: