The knitting machine produces cloth as the loom does but uses a different method.
( ( The ( knitting machine ) ) ( ( ( produces cloth ) ( as ( ( the loom ) ( ( does but ) ( uses ( a ( different method ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (DT The) (JJ knitting) (NN machine)) (VP (VBZ produces) (NP (NN cloth)) (SBAR (IN as) (S (NP (DT the) (NN loom)) (VP (VP (VBZ does)) (CC but) (VP (VBZ uses) (NP (DT a) (JJ different) (NN method))))))) (. .)))
Cloth produced by the knitting machine was of similar quality to cloth from the loom.
( ( Cloth ( produced ( by ( the ( knitting machine ) ) ) ) ) ( ( ( ( was ( of ( similar quality ) ) ) ( to cloth ) ) ( from ( the loom ) ) ) . ) )
(ROOT (S (NP (NP (NNP Cloth)) (VP (VBN produced) (PP (IN by) (NP (DT the) (JJ knitting) (NN machine))))) (VP (VBD was) (PP (IN of) (NP (JJ similar) (NN quality))) (PP (TO to) (NP (NN cloth))) (PP (IN from) (NP (DT the) (NN loom)))) (. .)))