# Path: dsenser/wang/wang.py
# class WangSenser(BaseSenser):
#     """Class using Wang classification for disambiguating connectives.
# 
#     Attributes:
#       explicit (:class:`dsenser.wang.explicit.WangExplicitSenser`):
#         classifier for explicit discourse relations
#       implicit (:class:`dsenser.wang.implicit.WangImplicitSenser`):
#         classifier for implicit discourse relations
#       n_y (int): number of distinct classes
# 
#     """
# 
#     def __init__(self, **kwargs):
#         """Class constructor.
# 
#         Args:
#           kwargs (dict): keyword arguments to be forwarded
# 
#         """
#         explicit_clf = LinearSVC(C=DFLT_EXP_C, **DFLT_PARAMS)
#         self.explicit = WangExplicitSenser(a_clf=explicit_clf, **kwargs)
#         implicit_clf = LinearSVC(C=DFLT_IMP_C, **DFLT_PARAMS)
#         self.implicit = WangImplicitSenser(a_clf=implicit_clf, **kwargs)
# 
# Path: dsenser/xgboost/explicit.py
# class XGBoostExplicitSenser(XGBoostBaseSenser, WangExplicitSenser):
#     """Subclass of explicit WangSenser using XGBoost.
# 
#     """
#     PARAM_GRID = BASE_PARAM_GRID
#     N_JOBS = BASE_N_JOBS
# 
#     @timeit("Training explicit XGBoost classifier...")
#     def train(self, *args, **kwargs):
#         super(WangExplicitSenser, self).train(*args, **kwargs)
# 
# Path: dsenser/xgboost/implicit.py
# class XGBoostImplicitSenser(XGBoostBaseSenser, WangImplicitSenser):
#     """Subclass of implicit WangSenser using XGBoost.
# 
#     """
#     PARAM_GRID = BASE_PARAM_GRID
#     N_JOBS = BASE_N_JOBS
# 
#     @timeit("Training implicit XGBoost classifier...")
#     def train(self, *args, **kwargs):
#         super(WangImplicitSenser, self).train(*args, **kwargs)


from dsenser.wang import WangSenser
from dsenser.xgboost.explicit import XGBoostExplicitSenser
from dsenser.xgboost.implicit import XGBoostImplicitSenser
#!/usr/bin/env python
# -*- coding: utf-8; mode: python; -*-

"""Module providing class for XGBoost sense disambiguation.

Attributes:
  XGBoostSenser (class):
    class for XGBoost sense classification of explicit and implicit relations

"""

##################################################################
# Imports
from __future__ import absolute_import, print_function, \
    unicode_literals


##################################################################
# Constants


##################################################################
# Class

# Path: dsenser/wang/wang.py
# class WangSenser(BaseSenser):
#     """Class using Wang classification for disambiguating connectives.
# 
#     Attributes:
#       explicit (:class:`dsenser.wang.explicit.WangExplicitSenser`):
#         classifier for explicit discourse relations
#       implicit (:class:`dsenser.wang.implicit.WangImplicitSenser`):
#         classifier for implicit discourse relations
#       n_y (int): number of distinct classes
# 
#     """
# 
#     def __init__(self, **kwargs):
#         """Class constructor.
# 
#         Args:
#           kwargs (dict): keyword arguments to be forwarded
# 
#         """
#         explicit_clf = LinearSVC(C=DFLT_EXP_C, **DFLT_PARAMS)
#         self.explicit = WangExplicitSenser(a_clf=explicit_clf, **kwargs)
#         implicit_clf = LinearSVC(C=DFLT_IMP_C, **DFLT_PARAMS)
#         self.implicit = WangImplicitSenser(a_clf=implicit_clf, **kwargs)
# 
# Path: dsenser/xgboost/explicit.py
# class XGBoostExplicitSenser(XGBoostBaseSenser, WangExplicitSenser):
#     """Subclass of explicit WangSenser using XGBoost.
# 
#     """
#     PARAM_GRID = BASE_PARAM_GRID
#     N_JOBS = BASE_N_JOBS
# 
#     @timeit("Training explicit XGBoost classifier...")
#     def train(self, *args, **kwargs):
#         super(WangExplicitSenser, self).train(*args, **kwargs)
# 
# Path: dsenser/xgboost/implicit.py
# class XGBoostImplicitSenser(XGBoostBaseSenser, WangImplicitSenser):
#     """Subclass of implicit WangSenser using XGBoost.
# 
#     """
#     PARAM_GRID = BASE_PARAM_GRID
#     N_JOBS = BASE_N_JOBS
# 
#     @timeit("Training implicit XGBoost classifier...")
#     def train(self, *args, **kwargs):
#         super(WangImplicitSenser, self).train(*args, **kwargs)


# Path: dsenser/xgboost/xgboost.py
from dsenser.wang import WangSenser
from dsenser.xgboost.explicit import XGBoostExplicitSenser
from dsenser.xgboost.implicit import XGBoostImplicitSenser

#!/usr/bin/env python
# -*- coding: utf-8; mode: python; -*-

"""Module providing class for XGBoost sense disambiguation.

Attributes:
  XGBoostSenser (class):
    class for XGBoost sense classification of explicit and implicit relations

"""

##################################################################
# Imports
from __future__ import absolute_import, print_function, \
    unicode_literals


##################################################################
# Constants


##################################################################
# Class

class XGBoostSenser(WangSenser):