ok
Direktori : /lib/python3.6/site-packages/chardet/__pycache__/ |
Current File : //lib/python3.6/site-packages/chardet/__pycache__/jpcntx.cpython-36.pyc |
3 ��X�L � � @ s8 d`Z G dd� de�ZG dd � d e�ZG d d� de�ZdS )a� � � � � � c @ sP e Zd ZdZdZdZdZdZdd� Zdd � Z d d� Z dd � Zdd� Zdd� Z dS )�JapaneseContextAnalysis� r �d i� r c C s* d | _ d | _d | _d | _d | _| j� d S )N)� _total_rel�_rel_sample�_need_to_skip_char_num�_last_char_order�_done�reset)�self� r �/usr/lib/python3.6/jpcntx.py�__init__{ s z JapaneseContextAnalysis.__init__c C s* d| _ dg| j | _d| _d| _d| _d S )Nr r F���)r �NUM_OF_CATEGORYr r r r )r r r r r � s zJapaneseContextAnalysis.resetc C s� | j r d S | j}x�||k r�| j|||d � �\}}||7 }||krV|| | _d| _q|dkr�| jdkr�| jd7 _| j| jkr�d| _ P | jt| j | d7 <