pyknp_eventgraph.pas

class pyknp_eventgraph.pas.PAS(event, pas=None)[source]

Bases: pyknp_eventgraph.component.Component

A PAS is the core of an event.

event: Event

An event that this PAS belongs.

sid: str

An original sentence ID.

ssid: int

A serial sentence ID.

pas: :class:`pyknp.knp.pas.Pas`, optional

A PAS object in pyknp.

predicate: Predicate

A predicate.

arguments: Dict[str, List[Argument]]

A mapping of a case to arguments.

to_dict()[source]

Convert this object into a dictionary.

Return type

dict

to_string()[source]

Convert this object into a string.

Return type

str