CYK Algorithm Made Easy (Parsing)

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ย. 2024
  • More info: en.wikipedia.o...
    Subscribe, thumb up, and suggest ideas for new videos!

ความคิดเห็น • 192

  • @DMSmarine
    @DMSmarine 7 ปีที่แล้ว +159

    It's rare to find a complex concept explained so clearly. Fantastic work. Hope your voice is better now :)

  • @dofkaw
    @dofkaw 6 ปีที่แล้ว +288

    I'm pretty sure you forgot to mention that starting terminal (S in this case) needs to be in the top row cell, otherwise the string is not part of the grammar.

    • @dofkaw
      @dofkaw 4 ปีที่แล้ว

      @Gazi Mashrur I have no idea what this video is at the moment. But I will check tomorrow or the day after and will let you know, if I find out.

    • @sammas3179
      @sammas3179 3 ปีที่แล้ว +4

      @@dofkaw It has been 2 years since you first saw it, probably because of uni, do you actually use this?:p

    • @marcuschiu8615
      @marcuschiu8615 3 ปีที่แล้ว +10

      @Gazi Mashrurif you are talking about 𝐴,𝑆 and 𝑆,𝐴 which are written in the grid they mean the same thing because the comma denotes OR and order doesn't matter. HOWEVER, if you are talking about 𝐴𝑆 and 𝑆𝐴 which are produced by the cartesian product then they are not the same, order matters in this case.

    • @funnyreddit4600
      @funnyreddit4600 3 ปีที่แล้ว +2

      @Gazi Mashrur yes it is . idk f im too late but it is for anyone concerned

    • @husseinyoussef6998
      @husseinyoussef6998 3 ปีที่แล้ว +1

      It's called start variable tho, not terminal

  • @MrEdwinlima
    @MrEdwinlima 7 ปีที่แล้ว +28

    absolutely the best, I watched three videos before this one but none of them explained this clearly as you did

  • @domoandfriends
    @domoandfriends 6 ปีที่แล้ว +126

    You sound truly miserable in this video but now I understand the CYK algorithm, so thanks!

  • @CZProtton
    @CZProtton 6 ปีที่แล้ว +26

    You are a legend. I tried to figure this out for hour and a half. You managed to basicaly explain it in 4 minutes. The rest was just you showing it for better understanding. i love it.

  • @harryman0412
    @harryman0412 6 ปีที่แล้ว +2

    Not even my teacher explained it this clearly. Thank you very much sir. Helped a lot.

  • @Speedycey
    @Speedycey 6 หลายเดือนก่อน +1

    After many years, still a gold to watch. Your video is better than all free AI explanations.

  • @Fisheater05
    @Fisheater05 8 ปีที่แล้ว +7

    Probably one of the best explanations for beginners to the algorithm. Thanks!

  • @tanzeelzahra7863
    @tanzeelzahra7863 4 ปีที่แล้ว +2

    Thank you so much. Was studying for finals and you explained the concept better than the PhD professor.

  • @cleverclover7
    @cleverclover7 5 ปีที่แล้ว +3

    The best one simply because you showed the different substring combinations you could get and why we could represent those with the values we derived before. Also easier to connect this with why it has to be in Chomsky-normal-form because we need binary derivations for the cartesian products. Not sure everyone who made a video on this understands that. Thank you!

  • @iJustinCabral
    @iJustinCabral ปีที่แล้ว +1

    In a Foundations of CS masters course right now. This video is so much better than the explanation my professor gave. Thank you!

  • @notacriativa
    @notacriativa 8 ปีที่แล้ว +7

    thank you so much, I appreciate it! It was the best video that I've found, it explains easily the CYK algorithm!

  • @ryanwoodward7447
    @ryanwoodward7447 5 ปีที่แล้ว

    this video was better than lecture, office hours, textbook, websites, other solutions. Thanks so much!

  • @zhongzhong5851
    @zhongzhong5851 ปีที่แล้ว +1

    Really appreciate your explanation , it’s really helpful for me , I was very frustrated with the textbook.

  • @Ukazvsetko
    @Ukazvsetko 7 ปีที่แล้ว +48

    Holy fuck, it's not Indian lol

    • @KlanakCZ
      @KlanakCZ 7 ปีที่แล้ว +2

      made my day

  • @adamjahani4494
    @adamjahani4494 4 หลายเดือนก่อน

    Bro explained this so well. Such a hard concept

  • @cicakmuhamed
    @cicakmuhamed 3 หลายเดือนก่อน

    Important note: After you finish this CYK algorithm, if the starting symbol of the grammar (in this case S) is in the top-row (last row) of our procedure, then the given input string is part of the grammar, otherwise it is not. In this case S is part of {S, A, C} which means that the given input string "baaba" is part of the grammar defined by the production rules. The time complexity of the CYK algorithm is O(n^3) where n is the length of the input string (in this case "baaba", so n=5).

  • @jujenks
    @jujenks 7 ปีที่แล้ว +7

    Finally ! a very well explained example. Thank you very much !

  • @jojolelebkn2353
    @jojolelebkn2353 5 ปีที่แล้ว

    I searched for a good explanation in the last 3 days and none of them was good, but your explanation is great! Finally understood this thing :D

  • @PureAsbestos
    @PureAsbestos ปีที่แล้ว

    Best explanation. Couldn't have figured this out without it. You're doing the lord's work man. 10/10

  • @mansurahmadipour7224
    @mansurahmadipour7224 7 ปีที่แล้ว +2

    Great Work Out There Buddy.
    I gonna have a 'formal language and autamata ' exam in university
    and this video really helped me..

  • @hieuluutran7572
    @hieuluutran7572 2 ปีที่แล้ว

    thank you so so much. I was stuck and resourced to TH-cam. I wish there are more people like you

  • @costyy96Scorpius
    @costyy96Scorpius 5 ปีที่แล้ว +5

    THE BEST TUTORIAL! THANK YOU FROM ROMANIA!

  • @bastienduclos3340
    @bastienduclos3340 3 ปีที่แล้ว

    WoW you just saved my life, I have a test on this in 2hours and 15 min were enough to understand thanks to you

  • @dolphinextreme48
    @dolphinextreme48 4 ปีที่แล้ว

    And I was trying to avoid this question from Unit 4 of my Pattern Recognition Course. Now I'm gonna attempt this specifically. Thanks for clarifying so well!

  • @h-ym2ul
    @h-ym2ul 5 หลายเดือนก่อน

    Loved Your explanation of this video on this topic

  • @JuantheJohn1
    @JuantheJohn1 2 ปีที่แล้ว +1

    0:00 "hello everyone"
    me: *falls asleep*

  • @flywithnature
    @flywithnature 4 ปีที่แล้ว

    Thanks for the clear explanation. Need it for my exam at the university

  • @roknovak9991
    @roknovak9991 3 ปีที่แล้ว

    It's important that the final cell contains the start symbol of the grammar. Otherwise, the string can't be produced

  • @aleksybalazinski
    @aleksybalazinski ปีที่แล้ว

    Also note that the algorithm works on grammars in Chomsky normal form

  • @vrundavarvedia530
    @vrundavarvedia530 7 ปีที่แล้ว

    Best. My paid online tutor cannot explain this good.Awesome explanation.

  • @nate9013
    @nate9013 7 ปีที่แล้ว

    Thank you soooooo much!!!!! This is the best video I've ever seen on this topic. It's a lot better than the lecture conducted by my professor.

  • @bondymagnomous3544
    @bondymagnomous3544 6 ปีที่แล้ว +1

    Finally someone did a clear explanation. Thanks.

  • @sarparslan8035
    @sarparslan8035 8 หลายเดือนก่อน

    Very good explanation thank you sir!

  • @charlations
    @charlations 7 ปีที่แล้ว

    Thank you so much, dude!!!! you totally nailed it with your explination. I know it's a little bit late but I hope you got well quickly!!!

  • @SkyLowercut
    @SkyLowercut 8 ปีที่แล้ว

    This was helpful and, surprisingly, intuitive as promised.

  • @SadullahCihan
    @SadullahCihan 2 ปีที่แล้ว

    The useful video ever about this algorithm! Thanks.

  • @ahmedsheeraz9075
    @ahmedsheeraz9075 7 ปีที่แล้ว

    Thanks alot watched many videos but none of them explained so clearly..

  • @marygreene1122
    @marygreene1122 6 ปีที่แล้ว

    Wow I want this voice to put me to sleep every night

  • @denismazurak2925
    @denismazurak2925 3 ปีที่แล้ว

    Only after this video I finally got it! Thank you so much!

  • @sridharann8348
    @sridharann8348 ปีที่แล้ว

    Great explanation, Thanks!

  • @SandhyaCs2101
    @SandhyaCs2101 7 ปีที่แล้ว

    Woah.. Beautifully explained.. This ones simple as hell .. Thanks a ton

  • @maxkolbl1527
    @maxkolbl1527 6 ปีที่แล้ว

    That was a legitimately awesome explanation! Thanks a ton!

  • @evileye2766
    @evileye2766 ปีที่แล้ว

    Very well explanned i completly get it now, ill get better result on the exam because of this haha

  • @DemoNick95
    @DemoNick95 6 ปีที่แล้ว

    best video out there on CYK example

  • @saminbinkarim6962
    @saminbinkarim6962 6 ปีที่แล้ว

    Awesome tutorial! Crisp and clear.

  • @HaischelDabian0
    @HaischelDabian0 8 ปีที่แล้ว +2

    very good explanation saved me a lot of time!! Cheers!!

  • @rishabh8808
    @rishabh8808 5 ปีที่แล้ว +2

    Great video, very easily explained.

  • @anstjd_ys
    @anstjd_ys 2 หลายเดือนก่อน

    Great explanation

  • @elenavasileva2892
    @elenavasileva2892 ปีที่แล้ว +1

    Very helpful video! Thanks :D

  • @princedesperado7787
    @princedesperado7787 6 ปีที่แล้ว +1

    Thank you bro now I also get how the index works in the pseudo code!

  • @shopnochora99
    @shopnochora99 8 ปีที่แล้ว

    Tnx a lot man... Best video about CYK algorithm so far

  • @GCOrigin
    @GCOrigin 6 ปีที่แล้ว

    Superb explanation! Thank you lots.

  • @jabbar3093
    @jabbar3093 6 ปีที่แล้ว

    The best ever easy and clear, wish you will get well and you can speak loud :)

  • @swathiupadhyaya8812
    @swathiupadhyaya8812 6 ปีที่แล้ว +1

    Thank you, it helped me in understanding CKY Parsing for Grammer in NLP.

  • @kristiyantsvetanov8082
    @kristiyantsvetanov8082 7 ปีที่แล้ว

    Very good explanation. Thank you!

  • @annisasyauqiah
    @annisasyauqiah 3 ปีที่แล้ว

    Thank you so much!!! This really help me for tomorrow exam😭😭

  • @justinesdepiscis343
    @justinesdepiscis343 4 ปีที่แล้ว

    Qué grande capo!! Barrilete cósmico, crack! Saludos desde Argentina.

  • @melikajameian9227
    @melikajameian9227 2 ปีที่แล้ว

    You are an actual life saver :)))) thank you very much for this tutorial

  • @pobodjjd
    @pobodjjd 6 ปีที่แล้ว

    Thank you very much! It is very clear and helpful!

  • @ahmedabdelkarim1339
    @ahmedabdelkarim1339 6 ปีที่แล้ว

    You are amazing brother u have a great mind , one of a kind

  • @smikkelbeer7890
    @smikkelbeer7890 3 หลายเดือนก่อน

    Thanks. Unfortunately this method seems to be excruciatingly long to work out especially if your string is like 6 to 7 symbols long.

  • @nourtaki6987
    @nourtaki6987 6 ปีที่แล้ว

    Thank you man, i really appreciate the explanation

  • @iojoe229
    @iojoe229 2 ปีที่แล้ว

    You helped me a lot , thanks

  • @Qlas111
    @Qlas111 7 ปีที่แล้ว +5

    Thank you so much!

  • @hey_its_me_Gayathri
    @hey_its_me_Gayathri 3 ปีที่แล้ว

    u really saved me..................i have a test tomorrow.............................thank uuuuuuuuuuuuuuuuuuu

  • @manolia4221
    @manolia4221 5 ปีที่แล้ว

    thank you so much it's for my finals and i got everything so clear

  • @MichaelKoutsostamatis
    @MichaelKoutsostamatis 7 ปีที่แล้ว +4

    fantastic

  • @explodingpineapple7471
    @explodingpineapple7471 4 ปีที่แล้ว

    Thanks a lot, you saved my homework.

  • @AtaurRahman-jt8bd
    @AtaurRahman-jt8bd 7 ปีที่แล้ว

    You explained it quite nice. Thank you...

  • @FXK23
    @FXK23 3 ปีที่แล้ว

    So in the end we showed that w=baaba can be made starting from S or A or C?

  • @HamidKarimiDS
    @HamidKarimiDS 6 ปีที่แล้ว

    Explained very well. Thanks

  • @shikhindahikar8488
    @shikhindahikar8488 4 ปีที่แล้ว

    This was really useful. Thank you!

  • @Zelcore
    @Zelcore 2 ปีที่แล้ว

    absolute legend

  • @musicmaker7889
    @musicmaker7889 7 ปีที่แล้ว +2

    How can we read the parse tree from the table? Great video btw!

  • @marco.nascimento
    @marco.nascimento 5 ปีที่แล้ว

    Only forgot to say how the string is accepted or not, the most important part

  • @sonisona1419
    @sonisona1419 3 หลายเดือนก่อน +1

    Thanku sir❤

  • @meshudebnath3391
    @meshudebnath3391 7 ปีที่แล้ว

    Awesome explanation.. Thank you

  • @KJ-ii1hq
    @KJ-ii1hq ปีที่แล้ว

    Very helpful! Thank you!

  • @realeatisaiy
    @realeatisaiy 3 ปีที่แล้ว

    Very cool, thank you

  • @ahmetsarac7815
    @ahmetsarac7815 ปีที่แล้ว

    thank you so much my brother. but i think you should raise your voice and maybe a little bit more exciting. but still thank you, good luck

  • @firexgodx980
    @firexgodx980 6 ปีที่แล้ว

    You skipped the hardest part, which is extracting the multiple parse trees that form a valid sentence

  • @monstergroupsex6030
    @monstergroupsex6030 3 ปีที่แล้ว

    great explanation! huge thanks

  • @re-Rina
    @re-Rina ปีที่แล้ว

    so you can't derivate the string from the grammar if you don't reach S in the top most square?

  • @medta.2532
    @medta.2532 4 ปีที่แล้ว

    Thank you 🙏🏻

  • @dkd0m23
    @dkd0m23 5 ปีที่แล้ว

    Thank you, very clear explanation _:)

  • @amitgaurav773
    @amitgaurav773 ปีที่แล้ว

    How many substrings of baaba are members of the given grammar ?

  • @aulias2
    @aulias2 4 ปีที่แล้ว

    Thank you!

  • @Xavi5a0
    @Xavi5a0 3 ปีที่แล้ว

    Thank you🥸🥰🥰

  • @charliewalsh5678
    @charliewalsh5678 6 ปีที่แล้ว +3

    awesome

  • @jacobmoore8734
    @jacobmoore8734 4 ปีที่แล้ว

    This is going to sound like a stupid question, but here goes... Isn't this algorithm supposed to find the most likely syntax structure of a sentence given its words? I've seen other tutorials using strings like "baaba", but I'm lost as to how that relates to the task at hand (parsing a sentence for noun phrase, verb phrase, etc etc.) This isn't a critique of your video, I'm just not seeing the connection yet!

  • @murilosena3709
    @murilosena3709 3 หลายเดือนก่อน +1

    GOOD!!!

  • @sandysharma7863
    @sandysharma7863 7 ปีที่แล้ว

    thank you very much sir.

  • @marjojohannasutinen406
    @marjojohannasutinen406 8 ปีที่แล้ว

    Great video, thanks a lot!

  • @rrrainman
    @rrrainman 6 ปีที่แล้ว

    Thank you, sir!

  • @AscendancyLF
    @AscendancyLF 6 ปีที่แล้ว

    Very nice.

  • @ErikaAlejandraGonzalez
    @ErikaAlejandraGonzalez 3 ปีที่แล้ว

    Hey do you know how can I have a sentences in the Chomsky normal form or something like that? btw thank you so much!

  • @naomialidinata4099
    @naomialidinata4099 2 ปีที่แล้ว

    thank you so much!

  • @mj3f
    @mj3f 8 ปีที่แล้ว

    I finally get it, cheers mate !

  • @via_domus
    @via_domus 5 ปีที่แล้ว

    good work