(S (S (NP (BASENP (DT The) (NN rest)) (PP (IN of) (BASENP (DT the) (NNS factories)))) (VP (VBP are) (VP (VBN said) (S (VP (TO to) (VP (CC either) (VP (VP (VB be) (VP (VBN sold) (PP (TO to) (BASENP (JJ other) (NNS companies))))) (CONJP (COMMA ,) (CC or)) (VP (TO to) (VP (VB be) (VP (VBN closed) (ADVP (RB entirely)))))))))))) (PERIOD .))