Yoda Parsing - Computerphile

preview_player
Показать описание
Professor Brailsford points his parsing program towards a galaxy far, far away....

This video was filmed and edited by Sean Riley.

Рекомендации по теме
Комментарии
Автор

I'm glad that so many of you have managed to get a yoda parser of some sort working from the files I make available via the "Professor's Files" bit.ly link in the Description block for this video. However, someone has pointed out that I promised to include the lex.yy.c and y.tab.c files that resulted from my own lex/yacc processing of the yoda examples (and then promptly forgot to do so :-). So, the latest upload of ParsingFiles .zip *does* now have those .c files, together with a slightly revised version of README.pdf.
There are a few other lex/yacc examples (and some tutorial notes) in the .zip, in addition to "yoda", and I hope you enjoy those too.

profdaveb
Автор

"Grepped over the entire universe" lol

timotejbernat
Автор

Speech recognition->yoda parser-> DNN speech synthesizer trained on yoda's voice

fs
Автор

Great as always Professor, set phasers to engaged - wait wrong franchise

plapbandit
Автор

I was under the pimpression that "furry sentences" went something like this:
"Pwowofessowor Bwalisfowowd powoints his pawsing pwowogwam towowawds a gawaxy faw, faw away..."

NikolajLepka
Автор

the robot stroked two furry dice

Baby Yoda: sips soup.

alsorew
Автор

I too would like to know who decided that sentences like "the robot stroked two furry dice" was somehow legeal.

Mrlacklp
Автор

A parser I didn't know I needed, but now can't imagine life without it.

orion
Автор

As always - the Computerphile brings the joy of learning. Thank you, guys! THANK you!

zestrixalex
Автор

On macOS, if you have the developer tools installed, it's pretty painless, replace -lfl with -ll on the gcc/clang command.

psychoh
Автор

This was really cute and really interesting. Thank you so much!


Also, good be funny to parse the "Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo" sentence!

manualvarado
Автор

There are some natural Yoda-speakers in Russia. Russian language allows for almost arbitrary order of the words in a sentence. The subject-object relation is expressed with suffixes. In casual speech, people often move the most important word to the beginning of the sentence. "Who kicked the dog?" - "The robot kicked the dog". "Who did robot kick?" - "The dog did robot kick". In towns, people use the order to express only the strong accentuation of an item, but in some rural areas people build every sentence like this.

BarafuAlbino
Автор

On linux, just pipe the final output to "espeak" for some quick & easy speech synthesis!

billkendrick
Автор

Always an awesome day when there is a new Prof Brailsford video is posted.

chaoslab
Автор

Hmm interesting project: use speech recognition to detect yoda speaking in the movie (Speech to text)..and then build a OSV to SVO. Overlay text on the correct time signature.

Voíla, you have a Yoda accessibility tool for people who may have trouble understanding what he saids in the movies

matthewsmeets
Автор

In the sentence "the man goes to town", "to town" isn't an object, it's a prepositional phrase.

SockTaters
Автор

From a linguistic perspective, surely “the man goes to town” doesn’t have an object as it’s an intransitive verb... or is it transitive. I forget, but whichever of those it is that doesn’t take a direct object...

proevomen
Автор

Hi guys! I am from Brazil. As a portuguese speaker we usually invert the substantive and adjectival, at least from your point of view. So, instead of saying "go to the yellow house" we would say "go to the house yellow". But you were right about how Yoda would say that, though, which I believe was your point from the very begining.

ImpressodBlogspot
Автор

The dragon book in the background I noticed

EmanueleSantoro
Автор

"We're putting out a zip file"

...come on, use GitHub or something!

cemerson