# Path: linguistica/util.py
# ENCODING = 'utf8'
# 
# PARAMETERS = {'max_word_tokens': 0,  # zero means all word tokens
#               'min_stem_length': 4,
#               'max_affix_length': 4,
#               'min_sig_count': 5,
#               # 'min_affix_length': 1,
#               # 'min_sf_pf_count': 3,
#               'n_neighbors': 9,
#               'n_eigenvectors': 11,
#               'min_context_count': 3,
#               'max_word_types': 1000,
#               'suffixing': 1,  # 1 means yes, 0 means no
#               'keep_case': 0,  # 1 means yes, 0 means no
#               }


import sys
import os
import linguistica as lxa
from pprint import pformat
from six.moves import input
from linguistica.util import (ENCODING, PARAMETERS)
# -*- encoding: utf8 -*-





try:
    FileNotFoundError
except NameError:
    FileNotFoundError = OSError  # no FileNotFoundError in Python 2

lxa_version = lxa.__version__


def determine_use_wordlist():
    use_wordlist_response = None
    while use_wordlist_response is None:
        use_wordlist_response = input(
            '\nAre you using a wordlist file? [N/y] ')

    if use_wordlist_response and use_wordlist_response[0].lower() == 'y':
        use_wordlist = True
    else:
        use_wordlist = False

    return use_wordlist



# Path: linguistica/util.py
# ENCODING = 'utf8'
# 
# PARAMETERS = {'max_word_tokens': 0,  # zero means all word tokens
#               'min_stem_length': 4,
#               'max_affix_length': 4,
#               'min_sig_count': 5,
#               # 'min_affix_length': 1,
#               # 'min_sf_pf_count': 3,
#               'n_neighbors': 9,
#               'n_eigenvectors': 11,
#               'min_context_count': 3,
#               'max_word_types': 1000,
#               'suffixing': 1,  # 1 means yes, 0 means no
#               'keep_case': 0,  # 1 means yes, 0 means no
#               }


# Path: linguistica/cli.py
import sys
import os
import linguistica as lxa
from pprint import pformat
from six.moves import input
from linguistica.util import (ENCODING, PARAMETERS)

# -*- encoding: utf8 -*-





try:
    FileNotFoundError
except NameError:
    FileNotFoundError = OSError  # no FileNotFoundError in Python 2

lxa_version = lxa.__version__


def determine_use_wordlist():
    use_wordlist_response = None
    while use_wordlist_response is None:
        use_wordlist_response = input(
            '\nAre you using a wordlist file? [N/y] ')

    if use_wordlist_response and use_wordlist_response[0].lower() == 'y':
        use_wordlist = True
    else:
        use_wordlist = False

    return use_wordlist



def get_file_abspath():