concepts.language.ccg.syntax.parse_syntax_type#

parse_syntax_type(string, syntax_system=None)[source]#

Parse a string to a syntax type.

Parameters:
  • string (str) – The string to be parsed.

  • syntax_system (CCGSyntaxSystem | None) – The syntax system to be used. Defaults to None.

Returns:

The parsed syntax type.

Return type:

CCGSyntaxType