original_docstring: Generate and rank the domain name with added suffixes and prefixes.
  
          Parameters:
          domain      The domain name being analyzed
          naked       The "naked" domain name (name without the TLD) being analyzed
          tld         The top level domain (TLD) of the domain name being analyzed
          
docstring: Generate and rank the domain name with added suffixes and prefixes.
  Parameters:
  domain      The domain name being analyzed
  naked       The "naked" domain name (name without the TLD) being analyzed
  tld         The top level domain (TLD) of the domain name being analyzed
docstring_tokens: Generate and rank the domain name with added suffixes and prefixes . Parameters : domain The domain name being analyzed naked The " naked " domain name ( name without the TLD ) being analyzed tld The top level domain ( TLD ) of the domain name being analyzed
code: def generate_suffixes(self,domain,naked,tld):
          """Generate and rank the domain name with added suffixes and prefixes.
  
          Parameters:
          domain      The domain name being analyzed
          naked       The "naked" domain name (name without the TLD) being analyzed
          tld         The top level domain (TLD) of the domain name being analyzed
          """
          # Preferred fixes: -secure, -login, -logon, -secure-login, -secure-logon
          domains = []
          suffixes = [
              ('-secure',0.8),
              ('-login',0.6),
              ('-logon',0.6),
              ('-secure-login',0.4),
              ('-secure-logon',0.4),
          ]
          for suffix, rank in suffixes:
              alt = '%s%s.%s' % (naked, suffix, tld)
              domains.append((alt, rank))
          prefixes = [
              ('secure-',0.7),
              ('login-',0.5),
              ('logon-',0.5),
              ('secure-login-',0.3),
              ('secure-logon-',0.3),
          ]
          for prefix, rank in prefixes:
              alt = '%s%s.%s' % (prefix,naked,tld)
              domains.append((alt,rank))
          return domains
code_tokens: def generate_suffixes ( self , domain , naked , tld ) : domains = [ ] suffixes = [ ( '-secure' , 0.8 ) , ( '-login' , 0.6 ) , ( '-logon' , 0.6 ) , ( '-secure-login' , 0.4 ) , ( '-secure-logon' , 0.4 ) , ] for suffix , rank in suffixes : alt = '%s%s.%s' % ( naked , suffix , tld ) domains . append ( ( alt , rank ) ) prefixes = [ ( 'secure-' , 0.7 ) , ( 'login-' , 0.5 ) , ( 'logon-' , 0.5 ) , ( 'secure-login-' , 0.3 ) , ( 'secure-logon-' , 0.3 ) , ] for prefix , rank in prefixes : alt = '%s%s.%s' % ( prefix , naked , tld ) domains . append ( ( alt , rank ) ) return domains
short_docstring: Generate and rank the domain name with added suffixes and prefixes.
short_docstring_tokens: Generate and rank the domain name with added suffixes and prefixes .
comment: """Generate and rank the domain name with added suffixes and prefixes.
  
          Parameters:
          domain      The domain name being analyzed
          naked       The "naked" domain name (name without the TLD) being analyzed
          tld         The top level domain (TLD) of the domain name being analyzed
          """$SEP$# Preferred fixes: -secure, -login, -logon, -secure-login, -secure-logon