1. A method for determining whether portions of text have been copied during electronic copying, photocopying, or scanning of a document, comprising: generating, using a processing device, a target code from a target passage of the text, wherein the generating the target code comprises: identifying a key symbol string from the target passage of the text, identifying a first position at which the key symbol string occurs within the target passage of the text, identifying a second position at which the key symbol string occurs within the target passage of the text, and determining a distance between the first position and the second position; determining, using the processing device, whether a sample passage of text includes the target code; and upon successful determination, initiating, using the processing device, an action if the sample passage of text includes the target code.
1. A method for determining whether portions of text have been copied during electronic copying, photocopying, or scanning of a document, comprising: generating, using a processing device, a target code from a target passage of the text, wherein the generating the target code comprises: identifying a key symbol string from the target passage of the text, identifying a first position at which the key symbol string occurs within the target passage of the text, identifying a second position at which the key symbol string occurs within the target passage of the text, and determining a distance between the first position and the second position; determining, using the processing device, whether a sample passage of text includes the target code; and upon successful determination, initiating, using the processing device, an action if the sample passage of text includes the target code. 18. The method of claim 1 , further comprising counting single or multiple character spaces to determine distances between respective adjacent positions of the key symbol string.