I have a challenging project that I would like to complete. Assume that we take any song…
- User
I have a challenging project that I would like to complete. Assume that we take any song (of around 2100 total) from the label NoCopyrightSounds, and look at the lyrics. If the starting song has lyrics, and they contain the name of any another song, we will move on to check the lyrics of the referenced song. We then search the lyrics of the referenced song to see if any other song name is referenced. The goal is to continue for as long as possible, in order to find the longest non-looping chain of song names referenced in the lyrics of other songs. When the chain ends, either because of a loop, because a song with no lyrics was found, or because a song where the lyrics don't contain the name of another song is found, a number of how many songs are in the chain will be assigned. It should be noted that some songs will reference multiple in their lyrics, and for this, there will be two results: The longest chain where we only look at the first song referenced in each of the lyrics, and the longest chain where we're allowed to check any song referenced in the lyrics. For this project to start, we need to gather the lyrics of all of NCS songs. This can be done through the NCS wiki, which has a page for every song, and if applicable, the lyrics as well. These pages contain links to every song, although duplicates may exist and have to be sorted through. Make sure to account for Fandom's pagination: https://nocopyrightsounds.fandom.com/wiki/Category:NoCopyrightSounds_songs https://nocopyrightsounds.fandom.com/wiki/Category:NCS_Arcade_songs https://nocopyrightsounds.fandom.com/wiki/Category:Removed_songs https://nocopyrightsounds.fandom.com/wiki/List_of_NCS_SoundCloud_promotions_by_date The SoundCloud promotions isn't a category page and contains a table with these in the columns: The artist's name, the song's name, the release date, the proof of the promotion's existence. The column with the artist's name (first column) contains an emoji which further categorises the type of promotion - we're looking to search the songs (second column) where the artist's name has a 🟡 (yellow circle) emoji next to it, which means "Deleted SoundCloud Exclusive release". Anyway, the lyrics in every song page are in a template titled "Lyrics". They work with JavaScript as opposed to HTML (as I've heard) and may need a more advanced method to be scraped. In order for the final program to work, some technicalities will have to be accounted for: Some song titles replace "and" with "&" (On & On, Win & Lose), and so, any occurrence of "and" in any of the lyrics would have to checked both as "and" and "&" to ensure that no song names are missed. This also applies for numbers (1 - one, 2 - two...), UK/American spelling of words, currency names and symbols, math names and symbols, punctuation names and symbols, etc.
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.