| Server IP : 54.37.205.81 / Your IP : 216.73.216.76 Web Server : nginx/1.22.1 System : Linux vps-249481fa 6.1.0-50-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1 (2026-07-02) x86_64 User : debian ( 1000) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/nltk/ccg/__pycache__/ |
Upload File : |
�
T�c � �* � d Z ddlT d� Zd� Zd� Zd� ZdS )z0
Helper functions for CCG semantics computation
� )�*c �x � | }d }t |t � � r|}|j }t |t � � �t d� � }||� � � v r&t |�� � }||� � � v �&t
t |� � |� � }|�||_ n|} t || � � S )N�F)�pattern)�
isinstance�LambdaExpression�term�Variable�free�unique_variable�ApplicationExpression�FunctionVariableExpression)� semantics�core�parent�vars �0/usr/lib/python3/dist-packages/nltk/ccg/logic.py�compute_type_raised_semanticsr s� � ��D�
�F�
�T�+�
,�
,� ����y�� �T�+�
,�
,� � �3�-�-�C�
������
�
��c�*�*�*�� ������
�
� �!;�C�!@�!@�$�G�G�D�
������� ��C��+�+�+� c �F � t | |� � � � � S )N)r
�simplify��function�arguments r �compute_function_semanticsr "