Comparison of the two versions of the lyrics

The lyrics of the same song can vary significantly when obtained from different sources: some may rewrite a particular line to make it flow more smoothly, some may omit the second chorus section, some may replace "de" with "de," and some may feature different artist names but different versions (studio versions and live versions often have different lyrics). Determining which version is more reliable by manually reading both texts line by line can be extremely tedious—especially when both versions span twenty to thirty lines and the differences are scattered across multiple sections. This page explains how toLine-by-line alignmentTwo sets of lyrics, categorizing the differences into three groups— "identical / similar / unique to each" —and determining appropriate judgments based on the resulting analysis.

direction for use

What are the advantages of line-by-line alignment over full-text alignment?

The simplest approach is to compare two texts as a whole, yielding only a "similarity percentage" —a figure that is largely useless, as it neither indicates where the differences lie nor how significant those differences are. In contrast, line-by-line alignment breaks the problem down:The sequential relationships between rows are preserved.You can determine whether the differences are "concentrated in one specific area" or "distributed throughout the text." These two scenarios carry entirely different implications: concentration in one area typically indicates that a particular passage has been altered or omitted; distribution across the entire text usually suggests that the two versions originate from different sources (for example, one may have been compiled from the original field version and thus contain shorter sentences). In such cases, one should not simply judge which version is correct or incorrect; instead, it is essential to clarify which specific version you are seeking.

What do the three types of differences signify, respectively?

Identical rowsThese two sets serve as the common foundation, indicating that the overall structure has not undergone major changes.Similar but not identical rowsThis is the section most worth examining line by line—since it indicates that two lines "are roughly the same sentence," while the specific differences require further analysis. Common causes include typographical errors, variations in punctuation, or the replacement of a particular character with a synonym.Columns appearing only on one sideEither the other side has omitted something, or this side has included extra content. The key to identification is to examine the surrounding text: if a unique line is flanked by identical lines on both sides, it is likely that a sentence has been omitted; if the unique line appears as a continuous block, it is likely that this segment is absent in the other version (for example, if a dialogue passage has been deleted in one version).

Why are some items that "look the same" nevertheless classified as similar?

It is highly likely.Punctuation or whitespaceDifferences between full-width commas and half-width commas, an extra space at the end of a line, or a character that appears identical but is actually a different character (e.g., the Chinese enumeration mark "," versus the English comma) can cause two lines to differ at the character level. In such cases, enabling the "Ignore punctuation and spaces" option will eliminate these pseudo-differences, leaving only genuine textual differences. Conversely, if youquite rightIf you wish to detect punctuation differences (e.g., verifying whether the punctuation in a particular set of lyrics complies with standard rules), simply turn this feature off—this is precisely what the "Punctuation Difference Detection" page on this site does.

How should one interpret the results once they have been obtained?

There are three practical guidelines. First,Focus on completeness rather than similarity.The high similarity between two versions does not mean both are correct; they may both be incorrect (if copied from the same source). The version with more lines is typically more complete, but you should still be wary of whether it contains duplicate paragraphs. Second,The criterion is that it "can be sung."If that additional line was indeed sung in the audio recording, then it indicates that another version omitted it; if it could not be sung, then it was most likely an annotation added by the compiler themselves. Third,Don't be in a hurry to delete the "unique line".First, confirm whether it is a structural marker (e.g., "[interlude]") or a dialogue; such elements may appear redundant in pure lyrics, yet they actually convey important information. Once this has been determined, decide which version to retain or manually compile a combined version.

frequently asked questions

Do the two sets of lyrics need to be cleaned up before being compared?
It is not necessary, but cleaning the data will yield cleaner results. Common "false differences" arise from LRC timestamps, metadata tags such as [ti:], and line-leading decorative symbols—the tool will automatically strip out timestamps; for the rest, it is recommended to first clean the data using the "Lyric Formatting Tool" before comparing, which can save considerable effort in manual line-by-line verification.
What is a suitable similarity threshold to set?
To detect version differences, we recommend setting the threshold between 80% and 90%; this ensures that only lines containing "more than a few words" are highlighted, while purely punctuation-based differences will not be flagged. If your goal is to detect subtle changes such as typographical errors, you can adjust the threshold to 95%; conversely, if you simply want to determine whether two documents refer to the same song, a threshold of 60% will suffice—there is no need to set it much higher.
Why is there such a significant difference in the number of lines between the two song lyrics?

There are three common scenarios. The first isDifferent versionsFirst, the number of segments differs between the live performance version, the cover version, and the music video version. Second,The structural labeling processing differs.If one copy includes marker lines such as [chorus] and another does not, several lines will differ. Thirdly,The chorus employs different repetition techniquesSome editors reproduce all repeated choruses in full, while others include only one instance accompanied by a "[×2]" annotation. When the number of lines differs significantly, first determine which approach applies, then decide on the appropriate handling method.

Is it possible to compare three or more items at once?
Currently, we are performing pairwise comparisons. For three or more candidates, we proceed pairwise: first, compare A with B to establish a "reference version," then compare the reference version with C and D, respectively. This approach makes it easier to pinpoint discrepancies compared to a single multi-way comparison—since in a multi-way comparison, it can be difficult to determine exactly which pair of candidates differs.
Can the comparison results be exported?
You can copy the results and save them as text files containing classification tags. If you require structured data (e.g., importing differences into a spreadsheet for statistical analysis), it is highly recommended to adopt the approach of tools such as "Batch Export of Audio Metadata" —or alternatively, export both sets of lyrics as plain text files and then perform line-by-line comparison using spreadsheet software.

Back to All Tools