code: def from_whypo(cls, xml, encoding='utf-8'):
          
          word = unicode(xml.get('WORD'), encoding)
          confidence = float(xml.get('CM'))
          return cls(word, confidence)
docs: Constructor from xml element *WHYPO*
  
          :param xml.etree.ElementTree xml: the xml *WHYPO* element
          :param string encoding: encoding of the xml