parameters: (fs, signal=None, diff=False, **kwargs)
return_statement: return ret
docstring: accept two argument, or one as a tuple
docstring_summary: accept two argument, or one as a tuple
docstring_tokens: accept two argument or one as a tuple
function: def extract(fs, signal=None, diff=False, **kwargs):
      """accept two argument, or one as a tuple"""
      if signal is None:
          assert type(fs) == tuple
          fs, signal = fs[0], fs[1]
      signal = cast['float'](signal)
      ret = get_lpc_extractor(fs, **kwargs).extract(signal)
      if diff:
          return diff_feature(ret)
      return ret
function_tokens: def extract ( fs , signal = None , diff = False , * * kwargs ) : if signal is None : assert type ( fs ) == tuple fs , signal = fs [ 0 ] , fs [ 1 ] signal = cast [ 'float' ] ( signal ) ret = get_lpc_extractor ( fs , * * kwargs ) . extract ( signal ) if diff : return diff_feature ( ret ) return ret