60 likes | 68 Views
Learn about natural language processing with practical examples and foundational concepts. Enhance your NLP skills and understanding.
E N D
More FST Examples 600.465 - Intro to NLP - J. Eisner
An FST: Baby Think & Baby Talk X:b/.2 IWant:u/.8 X:m/.4 IWant: /.1 .1 observe talk m m :m/.05 IWant: /.1 recoverthink, bycomposition Mama:m .1 X:m/.4 X:m/.4 .2 :m/.05 Mama:m .2 Mama/.005 Mama Iwant/.0005 Mama Iwant Iwant/.00005 Mama/.05 XX/.032 Total = .0375555555 600.465 - Intro to NLP - J. Eisner
Joint Prob. by Double Composition X:b/.2 think IWant:u/.8 X:m/.4 IWant: /.1 .1 :m/.05 Mama:m .2 m m talk :m/.05 IWant: /.1 Mama:m .1 X:m/.4 X:m/.4 compose .2 p(* : mm) = .0375555 = sum of all paths 600.465 - Intro to NLP - J. Eisner
Summing Over All Paths X:b/.2 IWant:u/.8 : X:m/.4 IWant: /.1 .1 :m/.05 Mama:m .2 m: m: talk :/.05 : :/.1 .1 :/.4 :/.4 .2 think compose p(* : mm) = .0375555 = sum of all paths 600.465 - Intro to NLP - J. Eisner
Summing Over All Paths X:b/.2 IWant:u/.8 : X:m/.4 IWant: /.1 .1 :m/.05 Mama:m .2 m: m: talk think compose + minimize 0.0375555 p(* : mm) = .0375555 = sum of all paths 600.465 - Intro to NLP - J. Eisner
Summing Over All Paths X:b/.2 IWant:u/.8 X:m/.4 IWant: /.1 .1 :m/.05 Mama:m .2 m: m: talk think :Mama :IWant compose + minimize 0.0005 p(Mama Iwant : mm) = .0005 = sum of all paths 600.465 - Intro to NLP - J. Eisner