def extract_suffix(self, name):
<EOL>if len(name.strip().split()) > <NUM_LIT:2>:<EOL><INDENT>name, suffix = self.extract_matching_portion(r'<STR_LIT>'.format(SUFFIX_RE), name)<EOL>suffix, degree = self.extract_matching_portion(DEGREE_RE, suffix or '<STR_LIT>')<EOL>return name, suffix or None<EOL><DEDENT>return name, None<EOL>
Returns a tuple of (name, suffix), or (name, None) if no suffix could be found.
As the method name indicates, the name is returned without the suffix.

Suffixes deemed to be degrees are discarded.