original_docstring: Extract the alpha and beta values from the statefile.
  
      Args:
          statefile (str): Path to statefile produced by MALLET.
      Returns:
          tuple: alpha (list), beta    
      
docstring: Extract the alpha and beta values from the statefile.
docstring_tokens: Extract the alpha and beta values from the statefile .
code: def extract_params(statefile):
      """Extract the alpha and beta values from the statefile.
  
      Args:
          statefile (str): Path to statefile produced by MALLET.
      Returns:
          tuple: alpha (list), beta    
      """
      with gzip.open(statefile, 'r') as state:
          params = [x.decode('utf8').strip() for x in state.readlines()[1:3]]
      return (list(params[0].split(":")[1].split(" ")), float(params[1].split(":")[1]))
code_tokens: def extract_params ( statefile ) : with gzip . open ( statefile , 'r' ) as state : params = [ x . decode ( 'utf8' ) . strip ( ) for x in state . readlines ( ) [ 1 : 3 ] ] return ( list ( params [ 0 ] . split ( ":" ) [ 1 ] . split ( " " ) ) , float ( params [ 1 ] . split ( ":" ) [ 1 ] ) )
short_docstring: Extract the alpha and beta values from the statefile.
short_docstring_tokens: Extract the alpha and beta values from the statefile .
comment: """Extract the alpha and beta values from the statefile.
  
      Args:
          statefile (str): Path to statefile produced by MALLET.
      Returns:
          tuple: alpha (list), beta    
      """