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))))))) (. .)))
The loom and knitting machine both can make cloth.
( ( The ( ( ( loom and ) knitting ) machine ) ) ( both ( ( can ( make cloth ) ) . ) ) )
(ROOT (S (NP (DT The) (ADJP (JJ loom) (CC and) (JJ knitting)) (NN machine)) (DT both) (VP (MD can) (VP (VB make) (NP (NN cloth)))) (. .)))