<s> from faker import frandom <EOL> from faker import helper <EOL> from faker import name <EOL> import random <EOL> def suffixes ( ) : <EOL> return [ "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" ] <EOL> def company_name ( format = None ) : <EOL> if format : <EOL> r = format <EOL> else : <EOL> r = random . randint ( <NUM_LIT:0> , <NUM_LIT:2> ) <EOL> if r == <NUM_LIT:0> : <EOL> return name . last_name ( ) + "<STR_LIT:U+0020>" + company_suffix ( ) <EOL> if r == <NUM_LIT:1> : <EOL> return name . last_name ( ) + "<STR_LIT:->" + name . last_name ( ) <EOL> else : <EOL> return name . last_name ( ) + "<STR_LIT:U+002CU+0020>" + name . last_name ( ) + "<STR_LIT>" + name . last_name ( ) <EOL> def company_suffix ( ) : <EOL> return frandom . list_element ( suffixes ( ) ) <EOL> def catch_phrase ( ) : <EOL> return frandom . catch_phrase_adjective ( ) + "<STR_LIT:U+0020>" + frandom . catch_phrase_descriptor ( ) + "<STR_LIT:U+0020>" + frandom . catch_phrase_noun ( ) <EOL> def bs ( ) : <EOL> return frandom . bs_adjective ( ) + "<STR_LIT:U+0020>" + frandom . bs_buzz ( ) + "<STR_LIT:U+0020>" + frandom . bs_noun ( ) </s>
