from __future__ import unicode_literals

from .cli.info import info as cli_info
from .glossary import explain
from .deprecated import resolve_load_name
from .about import __version__
from . import util


def load(name, **overrides):
    name = resolve_load_name(name, **overrides)
    return util.load_model(name, **overrides)


def blank(name, **kwargs):
    LangClass = util.get_lang_class(name)
    return LangClass(**kwargs)


def info(model=None, markdown=False):
    return cli_info(None, model, markdown)

from __future__ import unicode_literals

from .cli.info import info as cli_info
from .glossary import explain
from .about import __version__
from . import util


def load(name, **overrides):
    from .deprecated import resolve_load_name
    name = resolve_load_name(name, **overrides)
    return util.load_model(name, **overrides)


def blank(name, **kwargs):
    LangClass = util.get_lang_class(name)
    return LangClass(**kwargs)


def info(model=None, markdown=False):
    return cli_info(None, model, markdown)

Move import into load to avoid circular imports
Move import into load to avoid circular imports

  from __future__ import unicode_literals
  
  from .cli.info import info as cli_info
  from .glossary import explain
- from .deprecated import resolve_load_name
  from .about import __version__
  from . import util
  
  
  def load(name, **overrides):
+     from .deprecated import resolve_load_name
      name = resolve_load_name(name, **overrides)
      return util.load_model(name, **overrides)
  
  
  def blank(name, **kwargs):
      LangClass = util.get_lang_class(name)
      return LangClass(**kwargs)
  
  
  def info(model=None, markdown=False):
      return cli_info(None, model, markdown)
  
Move import into load to avoid circular imports
## Code Before:
from __future__ import unicode_literals

from .cli.info import info as cli_info
from .glossary import explain
from .deprecated import resolve_load_name
from .about import __version__
from . import util


def load(name, **overrides):
    name = resolve_load_name(name, **overrides)
    return util.load_model(name, **overrides)


def blank(name, **kwargs):
    LangClass = util.get_lang_class(name)
    return LangClass(**kwargs)


def info(model=None, markdown=False):
    return cli_info(None, model, markdown)

## Instruction:
Move import into load to avoid circular imports
## Code After:
from __future__ import unicode_literals

from .cli.info import info as cli_info
from .glossary import explain
from .about import __version__
from . import util


def load(name, **overrides):
    from .deprecated import resolve_load_name
    name = resolve_load_name(name, **overrides)
    return util.load_model(name, **overrides)


def blank(name, **kwargs):
    LangClass = util.get_lang_class(name)
    return LangClass(**kwargs)


def info(model=None, markdown=False):
    return cli_info(None, model, markdown)
