gpt4 book ai didi

file - 如何使用歌词解释数据压缩

转载 作者:行者123 更新时间:2023-12-02 11:45:31 24 4
gpt4 key购买 nike

关闭。这个问题是opinion-based .它目前不接受答案。












想改进这个问题?更新问题,以便 editing this post 可以用事实和引用来回答它.

5年前关闭。




Improve this question




我正在制作一个关于数据压缩的教育视频,它会从一点点幽默中受益。由于大多数无损压缩都是根据 reducing repetition 的原理进行的。我想通过歌词来说明这个想法。

例如,下图的左侧是来自 Sia 的未压缩歌曲(片段)。压缩版本将通过这样称呼它们来省略重复。

Two lyric files are shown: on the left the original. On the right, the compressed version. The compressed version substitutes repeat verses with references to the number of repetitions it should have or tagged content present elsewhere

我想说这很清楚地展示了这种类型的压缩技术。但它表明压缩增加了复杂性(通过标记和引用重复子序列)。它也没有太压缩,所以我可以挑战观众探索压缩歌词的其他方法(即删除空白等)。

但是有问题!歌词无聊地真实(更不用说受版权保护了)。所以我想把 Sia 可能写的歌词类型漫画化然后卖给其他艺术家(比如 Beyonce)会更有趣。我在想 Stackoverflow 可以提供帮助。用抒情漫画回复这篇文章:

  • 适合十二岁(PG)
  • 其中有重复,因此“压缩”版本实际上看起来更小
  • 最初是您的(无版权)
  • 拿流行音乐开玩笑(because a lot of it is)。 Exhibit A
  • 有助于更好地传达想法(即有损压缩的演示?)

  • 作为返回,我将:
  • 阅读所有答案。
  • 将我所有的声誉(在接受答案时)最高 ​​1500 分(Stackoverflow 的赏金限制)给予发布最有趣或最受好评的答案(自由裁量权是我的)的人。
  • 4 月 11 日某时奖励积分
  • 在我的教学视频
  • 中给予“获奖”作词人荣誉
  • 在此处链接该视频

  • 如果您对分数很贪心,但也认为 STEM 教育应该更具吸引力,请回复

    更新 1

    我已经赢得了我所有的声誉

    最佳答案

    好吧……所以……嗯……

    这是我的尝试,如果你愿意,请举杯。
    我现在要笔记溢出并且仍在学习...
    如果您愿意,我可以尝试写更多的歌词,不确定我是否正确理解了所有条件。

    因为我来自德国,只听黑帮说唱(;)),所以我不知道美国歌曲通常是如何构成的。我会试试看。

    Sia, listen, sit down we need to talk.
    I know it's not easy in your position
    managing business and the like
    check your lyrics -> 0 rhymes
    not even a spark of inspiration on your mind.
    take my hand, let's go for a walk...
    To be honest I have never thought
    that you'd have more than 500 points on this site... jeez...

    But while we're here, let's not forget,
    being a developer is something I personally regret
    I would rather write songs, keep the flow...
    I'm like this kid... libmozart... well, now you know...
    anyways, I almost forgot – look at the clock
    it's time to talk about the plot in this track.

    Sia, do you ever think about why there are old classic dvds
    with around 10 songs and a few beats
    while there are a few dozen CDs
    with around 3000 songs each? mostly pop songs indeed...
    because it's really really cheap, to store pop songs using zlib

    listen,
    You wanna know why?
    You wanna know why?

    gzip turns your repeated lyrics into just a handful of bytes
    to reduce the size it's not magic am I right?
    you all sound familiar am I right?
    jeez, look at your eyes – cold shiver.
    even an algorithm doesn't find anything that differs.

    我想我涵盖了所有要点,我应该更多地了解有损压缩的细节吗?对于压缩,有几个完整的句子可以压缩(你想知道为什么吗?)和几个单词(around、songs、forg_t、jeez 等)。现在也是凌晨 4 点,所以每个拼写错误都是有损压缩造成的。

    如果您正在寻找 Eminem 类型的开发人员,您可以自己发布为 SIA 或为您的赏金添加额外的咖啡。

    关于file - 如何使用歌词解释数据压缩,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43244120/

    24 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com