def custom_analyze_title4kwd(title, yearNote, outline):
 title = title.strip()
 if (not title):
  return {}
 if yearNote:
  yearNote = ('%s)' % yearNote.split(' ')[0])
  title = ((title + ' ') + yearNote)
 retDict = analyze_title(title)
 if outline:
  retDict['plot outline'] = outline
 return retDict

def custom_analyze_title4kwd ( title , yearNote , outline ) : title = title . strip ( ) if ( not title ) : return { } if yearNote : yearNote = ( '%s)' % yearNote . split ( ' ' ) [ 0 ] ) title = ( ( title + ' ' ) + yearNote ) retDict = analyze_title ( title ) if outline : retDict [ 'plot outline' ] = outline return retDict
return a dictionary with the needed info .