def parse(source, segmenter='<STR_LIT>', language=None, max_length=None,<EOL>classname=None, attributes=None, **kwargs):
parser = get_parser(segmenter, **kwargs)<EOL>return parser.parse(<EOL>source, language=language, max_length=max_length, classname=classname,<EOL>attributes=attributes)<EOL>
Parses input source.

    Args:
      source (str): Input source to process.
      segmenter (:obj:`str`, optional): Segmenter to use [default: nlapi].
      language (:obj:`str`, optional): Language code.
      max_length (:obj:`int`, optional): Maximum length of a chunk.
      classname (:obj:`str`, optional): Class name of output SPAN tags.
      attributes (:obj:`dict`, optional): Attributes for output SPAN tags.

    Returns:
      Results in a dict. :code:`chunks` holds a list of chunks
      (:obj:`budou.chunk.ChunkList`) and :code:`html_code` holds the output HTML
      code.