1. A system comprising: at least one memory; at least one processing device, operatively coupled to the at least one memory, to: receive an electronic document having a first portion, a second portion, and a third portion; determine a first content-to-noise ratio for the first portion; determine a second content-to-noise ratio for the second portion; determine a third content-to-noise ratio for the third portion; sort a list of the first portion, the second portion, and the third portion in order from a highest content-to-noise ratio to a lowest content-to-noise ratio using the first content-to-noise ratio, the second content-to-noise ratio, and the third content-to-noise ratio; and remove, from the electronic document, a predetermined number of the first portion, the second portion, and the third portion starting with the highest content-to-noise ratio in the list.
1. A system comprising: at least one memory; at least one processing device, operatively coupled to the at least one memory, to: receive an electronic document having a first portion, a second portion, and a third portion; determine a first content-to-noise ratio for the first portion; determine a second content-to-noise ratio for the second portion; determine a third content-to-noise ratio for the third portion; sort a list of the first portion, the second portion, and the third portion in order from a highest content-to-noise ratio to a lowest content-to-noise ratio using the first content-to-noise ratio, the second content-to-noise ratio, and the third content-to-noise ratio; and remove, from the electronic document, a predetermined number of the first portion, the second portion, and the third portion starting with the highest content-to-noise ratio in the list. 2. The system of claim 1 , wherein: the electronic document is a markup language document; and the first portion and the second portion are nodes within a document object model (DOM) tree of the markup language document or a sub-tree comprising a parent node and one or more child nodes within the DOM tree of the markup language document.