parameters: (mention)
return_statement: return "fine_type", mention_fine_type
docstring: Compute fine-grained type of a mention.
  
      Args:
          mention (Mention): A mention.
  
      Returns:
          The tuple ('fine_type', TYPE), where where TYPE is one of 'NAM', 'DEF',
          'INDEF', 'DEM', 'VRB', 'i', 'you', 'he', 'she', 'it', 'we', 'they'
          and 'NONE'.
docstring_summary: Compute fine-grained type of a mention.
docstring_tokens: Compute fine - grained type of a mention .
function: def fine_type(mention):
      """ Compute fine-grained type of a mention.
  
      Args:
          mention (Mention): A mention.
  
      Returns:
          The tuple ('fine_type', TYPE), where where TYPE is one of 'NAM', 'DEF',
          'INDEF', 'DEM', 'VRB', 'i', 'you', 'he', 'she', 'it', 'we', 'they'
          and 'NONE'.
      """
      if mention.attributes["type"] == "NOM":
          mention_fine_type = mention.attributes["fine_type"]
      elif mention.attributes["type"] == "PRO":
          mention_fine_type = mention.attributes["citation_form"]
      else:
          mention_fine_type = mention.attributes["type"]
  
      if not mention_fine_type:
          mention_fine_type = "NONE"
  
      return "fine_type", mention_fine_type
function_tokens: def fine_type ( mention ) : if mention . attributes [ "type" ] == "NOM" : mention_fine_type = mention . attributes [ "fine_type" ] elif mention . attributes [ "type" ] == "PRO" : mention_fine_type = mention . attributes [ "citation_form" ] else : mention_fine_type = mention . attributes [ "type" ] if not mention_fine_type : mention_fine_type = "NONE" return "fine_type" , mention_fine_type