| 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 : /lib/python3/dist-packages/nltk/__pycache__/ |
Upload File : |
�
T�c�� � � � d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dlZd dl Z d dl
mZ dag a
d'd�Zd(d�Z G d� de� � Z ej d � � Zd
� Z ej d� � Zd� Z ej d
� � Zd� Zd� Zd� Zd� Zd� Z G d� d� � Z G d� d� � Z d)d�Z d*d�Z d*d�Z! d+d�Z" d+d�Z# d,d�Z$ d,d�Z%d� Z&d � Z'd!� Z( G d"� d#� � Z)d-d$�Z*d%� Z+d&� Z,dS ).� N)�ElementTreeFc � � t d| ddg|dg�� � a|�:t |t � � r|� � � }t |� � adS dS )a�
Configure nltk's java interface, by letting nltk know where it can
find the Java binary, and what extra options (if any) should be
passed to Java when it is run.
:param bin: The full path to the Java binary. If not specified,
then nltk will search the system for a Java binary; and if
one is not found, it will raise a ``LookupError`` exception.
:type bin: str
:param options: A list of options that should be passed to the
Java binary when it is called. A common value is
``'-Xmx512m'``, which tells Java binary to increase
the maximum heap size to 512 megabytes. If no options are
specified, then do not modify the options list.
:type options: list(str)
�java�JAVAHOME� JAVA_HOMEzjava.exe)�env_vars�verbose�binary_namesN)�find_binary� _java_bin�
isinstance�str�split�list�
_java_options)�bin�optionsr s �0/usr/lib/python3/dist-packages/nltk/internals.py�config_javar sl � �$ ����k�*�� �\�� � �I� ���g�s�#�#� &��m�m�o�o�G��W�
�
�
�
�
� �� Tc �$ � t j t j t j d�}|� ||� � }|� ||� � }|� ||� � }t | t � � rt d� � �t �t � � t |t � � r|g}nt |� � }t j j
� |� � }t | � � } d|g| z } t gt z | z } t j | |||�� � }|s|S |� � � \ }}|j dk r;t'