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))))))) (. .)))
Looms and knitting machines both produce cloth in the same manner.
( ( ( Looms and ) ( knitting machines ) ) ( both ( ( produce ( cloth ( in ( the ( same manner ) ) ) ) ) . ) ) )
(ROOT (S (NP (NP (NNS Looms)) (CC and) (NP (JJ knitting) (NNS machines))) (DT both) (VP (VBP produce) (NP (NP (NN cloth)) (PP (IN in) (NP (DT the) (JJ same) (NN manner))))) (. .)))