SlideShare a Scribd company logo
1 of 21
*YANI*
 Bentuk Normal Chomsky (Chomsky Normal
Form / CNF ) merupakan salah satu bentuk
normal yang sangat berguna untuk tata
bahasa bebas konteks (CFG). Bentuk Normal
Chomsky dapat dibuat dari sebuah tata
bahasa bebas konteks yang telah mengalami
penyederhanaan, yaitu penghilangan
produksi useless, unit, dan є.
 Aturan produksi dalam bentuk normal
Chomsky ruas kanannya tepat berupa sebuah
terminal atau dua variabel. Misalkan :
 A → BC
 A → b
 B → a
 C → BA | d
 Langkah – langkah pembentukan bentuk normal
Chomsky secara umum sebagai berikut.
1. Biarkan aturan produksi yang sudah dalam bentuk
normal Chomsky.
2. Lakukan penggantian aturan produksi yang ruas
kanannya memuat simbol terminal dan panjang ruas
kanan > 1.
3. Lakukan penggantian aturan produksi yang ruas
kanannya memuat > 2 simbol variabel.
4. Penggantian – penggantian tersebut bisa dilakukan
berkali – kali sampai akhirnya semua aturan produksi
dalam bentuk normal Chomsky.
5. Selama dilakukan penggantian, kemungkinan kita
akan memperoleh aturan – aturan produksi baru, dan
juga memunculkan simbol – simbol variabel baru.
 Contoh tata bahasa konteks sebagai berikut.
 S → bA | aB
 A → bAA | aS | a
 B → aBB | bS | b
 Aturan produksi yang sudah dalam bentuk
normal Chomsky adalah sebagai berikut.
 A → a
 B → b
 Dilakukan penggantian aturan produksi yang
belum bentuk normal Chomsky.
 S → bA menjadi S → P1A
 S → aB menjadi S → P2 B
 A → bAA menjadi A → P1 AA menjadi A → P1
P3
 A → aS menjadi A → P2 S
 B → aBB menjadi B → P2 BB menjadi B → P2
P4
 B → bS menjadi B → P1 S
 Terbentuk aturan produksi dan simbol
variabel baru :
 P1 → b
 P2 → a
 P3 → AA
 P4 → BB
 Hasil akhir aturan produksi dalam bentuk normal
Chomsky adalah sebagai berikut.
 A → a
 B → b
 S → P1 A
 S → P2 B
 A → P1 P3
 A → P2 S
 B → P2 P4
 B → P1 S
 P1 → b
 P2 → a
 P3 → AA
 P4 → BB
 Contoh lain, tata bahasa bebas konteks :
 S → aB | CA
 A → a | bc
 B → BC | Ab
 C → aB | b
 Aturan produksi yang sudah dalam bentuk
normal Chomsky :
 S → CA
 A → a
 B → BC
 C → b
 Penggantian aturan produksi yang belum
dalam bentuk normal Chomsky :
 S → aB menjadi S → P1 B
 A → bc menjadi S → P2 P3
 B → Ab menjadi B → A P2
 C → aB menjadi C → P1 B
 Terbentuk aturan produksi dan simbol
variabel baru :
 P1 → a
 P2 → b
 P3 → c
 Hasil akhir aturan produksi dalam bentuk normal
Chomsky adalah sebagai berikut.
 S → CA
 A → a
 B → BC
 C → b
 S → P1 B
 S → P2 P3
 B → A P2
 C → P1 B
 P1 → a
 P2 → b
 P3 → c
 Contoh, tata bahasa bebas konteks :
 S → aAB | ch | CD
 A → dbE | eEC
 B → ff | DD
 C → ADB | aS
 D → i
 E → jD
 Aturan produksi yang sudah dalam bentuk
normal Chomsky :
 S → CD
 B → DD
 D → i
 Penggantian aturan produksi :
 S → aAB menjadi S → P1 P2
 S → ch menjadi S → P3 P4
 A → dbE menjadi A → P5 P6
 A → eEC menjadi A → P8 P9
 B → ff menjadi B → P10 P10
 C → ADB menjadi C → A P11
 C → aS menjadi C → P1S
 E → jD menjadi E → P12D
 Terbentuk aturan produksi baru :
 P1 → A
 P2 → AB
 P3 → c
 P4 → h
 P5 → d
 P6 → P7 E
 P7 → b
 P8 → e
 P9 → EC
 P10 → f
 P11 → DB
 P12 → j
 Hasil akhir dalam bentuk normal Chomsky adalah sebagai
berikut.
 S → CD
 B → DD
 D → i
 S → P1 P2
 S → P3 P4
 A → P5 P6
 A → P8 P9
 B → P10 P10
 C → A P11
 C → P1S
 E → P12D
 P1 → A
 P2 → AB
 P3 → c
 P4 → h
 P5 → d
 P6 → P7 E
 P7 → b
 P8 → e
 P9 → EC
 P10 → f
 P11 → DB
 P12 → j
Soal :
1. Transformasikan tata bahasa bebas konteks
berikut ke dalam bentuk normal Chomsky:
 S → aSb | ab
2. Transformasikan tata bahasa bebas konteks
berikut ke dalam bentuk normal Chomsky:
 S → aSaA | A
 A → abA | b
3. Transformasikan tata bahasa bebas konteks
berikut ke dalam bentuk normal Chomsky:
 S → abAB
 A → bAB | є
 B → Baa | A | є
Terima kasih

More Related Content

Recently uploaded

PELAKSANAAN (dgn PT SBI) + Link2 Materi Pelatihan _"Teknik Perhitungan TKDN, ...
PELAKSANAAN (dgn PT SBI) + Link2 Materi Pelatihan _"Teknik Perhitungan TKDN, ...PELAKSANAAN (dgn PT SBI) + Link2 Materi Pelatihan _"Teknik Perhitungan TKDN, ...
PELAKSANAAN (dgn PT SBI) + Link2 Materi Pelatihan _"Teknik Perhitungan TKDN, ...Kanaidi ken
 
Aksi Nyata Menyebarkan (Pemahaman Mengapa Kurikulum Perlu Berubah) Oleh Nur A...
Aksi Nyata Menyebarkan (Pemahaman Mengapa Kurikulum Perlu Berubah) Oleh Nur A...Aksi Nyata Menyebarkan (Pemahaman Mengapa Kurikulum Perlu Berubah) Oleh Nur A...
Aksi Nyata Menyebarkan (Pemahaman Mengapa Kurikulum Perlu Berubah) Oleh Nur A...nuraji51
 
MODUL AJAR SENI RUPA KELAS 6 KURIKULUM MERDEKA.pdf
MODUL AJAR SENI RUPA KELAS 6 KURIKULUM MERDEKA.pdfMODUL AJAR SENI RUPA KELAS 6 KURIKULUM MERDEKA.pdf
MODUL AJAR SENI RUPA KELAS 6 KURIKULUM MERDEKA.pdfAndiCoc
 
Konseptual Model Keperawatan Jiwa pada manusia
Konseptual Model Keperawatan Jiwa pada manusiaKonseptual Model Keperawatan Jiwa pada manusia
Konseptual Model Keperawatan Jiwa pada manusiaharnosuharno5
 
Bioteknologi Konvensional dan Modern kelas 9 SMP
Bioteknologi Konvensional dan Modern  kelas 9 SMPBioteknologi Konvensional dan Modern  kelas 9 SMP
Bioteknologi Konvensional dan Modern kelas 9 SMPNiPutuDewikAgustina
 
MODUL AJAR MATEMATIKA KELAS 6 KURIKULUM MERDEKA.pdf
MODUL AJAR MATEMATIKA KELAS 6 KURIKULUM MERDEKA.pdfMODUL AJAR MATEMATIKA KELAS 6 KURIKULUM MERDEKA.pdf
MODUL AJAR MATEMATIKA KELAS 6 KURIKULUM MERDEKA.pdfAndiCoc
 
Webinar 1_Pendidikan Berjenjang Pendidikan Inklusif.pdf
Webinar 1_Pendidikan Berjenjang Pendidikan Inklusif.pdfWebinar 1_Pendidikan Berjenjang Pendidikan Inklusif.pdf
Webinar 1_Pendidikan Berjenjang Pendidikan Inklusif.pdfTeukuEriSyahputra
 
Prakarsa Perubahan dan kanvas ATAP (1).pptx
Prakarsa Perubahan dan kanvas ATAP (1).pptxPrakarsa Perubahan dan kanvas ATAP (1).pptx
Prakarsa Perubahan dan kanvas ATAP (1).pptxHaryKharismaSuhud
 
.....................Swamedikasi 2-2.pptx
.....................Swamedikasi 2-2.pptx.....................Swamedikasi 2-2.pptx
.....................Swamedikasi 2-2.pptxfurqanridha
 
MODUL AJAR SENI MUSIK KELAS 6 KURIKULUM MERDEKA.pdf
MODUL AJAR SENI MUSIK KELAS 6 KURIKULUM MERDEKA.pdfMODUL AJAR SENI MUSIK KELAS 6 KURIKULUM MERDEKA.pdf
MODUL AJAR SENI MUSIK KELAS 6 KURIKULUM MERDEKA.pdfAndiCoc
 
MODUL PENDIDIKAN PANCASILA KELAS 6 KURIKULUM MERDEKA.pdf
MODUL PENDIDIKAN PANCASILA KELAS 6 KURIKULUM MERDEKA.pdfMODUL PENDIDIKAN PANCASILA KELAS 6 KURIKULUM MERDEKA.pdf
MODUL PENDIDIKAN PANCASILA KELAS 6 KURIKULUM MERDEKA.pdfAndiCoc
 
Bab 4 Persatuan dan Kesatuan di Lingkup Wilayah Kabupaten dan Kota.pptx
Bab 4 Persatuan dan Kesatuan di Lingkup Wilayah Kabupaten dan Kota.pptxBab 4 Persatuan dan Kesatuan di Lingkup Wilayah Kabupaten dan Kota.pptx
Bab 4 Persatuan dan Kesatuan di Lingkup Wilayah Kabupaten dan Kota.pptxrizalhabib4
 
BAHAN PAPARAN UU DESA NOMOR 3 TAHUN 2024
BAHAN PAPARAN UU DESA NOMOR 3 TAHUN 2024BAHAN PAPARAN UU DESA NOMOR 3 TAHUN 2024
BAHAN PAPARAN UU DESA NOMOR 3 TAHUN 2024ssuser0bf64e
 
PPT SOSIALISASI PENGELOLAAN KINERJA GURU DAN KS 2024.pptx
PPT SOSIALISASI PENGELOLAAN KINERJA GURU DAN KS 2024.pptxPPT SOSIALISASI PENGELOLAAN KINERJA GURU DAN KS 2024.pptx
PPT SOSIALISASI PENGELOLAAN KINERJA GURU DAN KS 2024.pptxMaskuratulMunawaroh
 
Pengenalan Figma, Figma Indtroduction, Figma
Pengenalan Figma, Figma Indtroduction, FigmaPengenalan Figma, Figma Indtroduction, Figma
Pengenalan Figma, Figma Indtroduction, FigmaAndreRangga1
 
KISI-KISI SOAL DAN KARTU SOAL BAHASA INGGRIS.docx
KISI-KISI SOAL DAN KARTU SOAL BAHASA INGGRIS.docxKISI-KISI SOAL DAN KARTU SOAL BAHASA INGGRIS.docx
KISI-KISI SOAL DAN KARTU SOAL BAHASA INGGRIS.docxDewiUmbar
 
1. Kisi-kisi PAT IPA Kelas 7 Kurmer 2024
1. Kisi-kisi PAT IPA Kelas 7 Kurmer 20241. Kisi-kisi PAT IPA Kelas 7 Kurmer 2024
1. Kisi-kisi PAT IPA Kelas 7 Kurmer 2024DessyArliani
 
MODUL AJAR BAHASA INDONESIA KELAS 6 KURIKULUM MERDEKA.pdf
MODUL AJAR BAHASA INDONESIA KELAS 6 KURIKULUM MERDEKA.pdfMODUL AJAR BAHASA INDONESIA KELAS 6 KURIKULUM MERDEKA.pdf
MODUL AJAR BAHASA INDONESIA KELAS 6 KURIKULUM MERDEKA.pdfAndiCoc
 
Aksi Nyata Disiplin Positif Keyakinan Kelas untuk SMK
Aksi Nyata Disiplin Positif Keyakinan Kelas untuk SMKAksi Nyata Disiplin Positif Keyakinan Kelas untuk SMK
Aksi Nyata Disiplin Positif Keyakinan Kelas untuk SMKgamelamalaal
 

Recently uploaded (20)

PELAKSANAAN (dgn PT SBI) + Link2 Materi Pelatihan _"Teknik Perhitungan TKDN, ...
PELAKSANAAN (dgn PT SBI) + Link2 Materi Pelatihan _"Teknik Perhitungan TKDN, ...PELAKSANAAN (dgn PT SBI) + Link2 Materi Pelatihan _"Teknik Perhitungan TKDN, ...
PELAKSANAAN (dgn PT SBI) + Link2 Materi Pelatihan _"Teknik Perhitungan TKDN, ...
 
Intellectual Discourse Business in Islamic Perspective - Mej Dr Mohd Adib Abd...
Intellectual Discourse Business in Islamic Perspective - Mej Dr Mohd Adib Abd...Intellectual Discourse Business in Islamic Perspective - Mej Dr Mohd Adib Abd...
Intellectual Discourse Business in Islamic Perspective - Mej Dr Mohd Adib Abd...
 
Aksi Nyata Menyebarkan (Pemahaman Mengapa Kurikulum Perlu Berubah) Oleh Nur A...
Aksi Nyata Menyebarkan (Pemahaman Mengapa Kurikulum Perlu Berubah) Oleh Nur A...Aksi Nyata Menyebarkan (Pemahaman Mengapa Kurikulum Perlu Berubah) Oleh Nur A...
Aksi Nyata Menyebarkan (Pemahaman Mengapa Kurikulum Perlu Berubah) Oleh Nur A...
 
MODUL AJAR SENI RUPA KELAS 6 KURIKULUM MERDEKA.pdf
MODUL AJAR SENI RUPA KELAS 6 KURIKULUM MERDEKA.pdfMODUL AJAR SENI RUPA KELAS 6 KURIKULUM MERDEKA.pdf
MODUL AJAR SENI RUPA KELAS 6 KURIKULUM MERDEKA.pdf
 
Konseptual Model Keperawatan Jiwa pada manusia
Konseptual Model Keperawatan Jiwa pada manusiaKonseptual Model Keperawatan Jiwa pada manusia
Konseptual Model Keperawatan Jiwa pada manusia
 
Bioteknologi Konvensional dan Modern kelas 9 SMP
Bioteknologi Konvensional dan Modern  kelas 9 SMPBioteknologi Konvensional dan Modern  kelas 9 SMP
Bioteknologi Konvensional dan Modern kelas 9 SMP
 
MODUL AJAR MATEMATIKA KELAS 6 KURIKULUM MERDEKA.pdf
MODUL AJAR MATEMATIKA KELAS 6 KURIKULUM MERDEKA.pdfMODUL AJAR MATEMATIKA KELAS 6 KURIKULUM MERDEKA.pdf
MODUL AJAR MATEMATIKA KELAS 6 KURIKULUM MERDEKA.pdf
 
Webinar 1_Pendidikan Berjenjang Pendidikan Inklusif.pdf
Webinar 1_Pendidikan Berjenjang Pendidikan Inklusif.pdfWebinar 1_Pendidikan Berjenjang Pendidikan Inklusif.pdf
Webinar 1_Pendidikan Berjenjang Pendidikan Inklusif.pdf
 
Prakarsa Perubahan dan kanvas ATAP (1).pptx
Prakarsa Perubahan dan kanvas ATAP (1).pptxPrakarsa Perubahan dan kanvas ATAP (1).pptx
Prakarsa Perubahan dan kanvas ATAP (1).pptx
 
.....................Swamedikasi 2-2.pptx
.....................Swamedikasi 2-2.pptx.....................Swamedikasi 2-2.pptx
.....................Swamedikasi 2-2.pptx
 
MODUL AJAR SENI MUSIK KELAS 6 KURIKULUM MERDEKA.pdf
MODUL AJAR SENI MUSIK KELAS 6 KURIKULUM MERDEKA.pdfMODUL AJAR SENI MUSIK KELAS 6 KURIKULUM MERDEKA.pdf
MODUL AJAR SENI MUSIK KELAS 6 KURIKULUM MERDEKA.pdf
 
MODUL PENDIDIKAN PANCASILA KELAS 6 KURIKULUM MERDEKA.pdf
MODUL PENDIDIKAN PANCASILA KELAS 6 KURIKULUM MERDEKA.pdfMODUL PENDIDIKAN PANCASILA KELAS 6 KURIKULUM MERDEKA.pdf
MODUL PENDIDIKAN PANCASILA KELAS 6 KURIKULUM MERDEKA.pdf
 
Bab 4 Persatuan dan Kesatuan di Lingkup Wilayah Kabupaten dan Kota.pptx
Bab 4 Persatuan dan Kesatuan di Lingkup Wilayah Kabupaten dan Kota.pptxBab 4 Persatuan dan Kesatuan di Lingkup Wilayah Kabupaten dan Kota.pptx
Bab 4 Persatuan dan Kesatuan di Lingkup Wilayah Kabupaten dan Kota.pptx
 
BAHAN PAPARAN UU DESA NOMOR 3 TAHUN 2024
BAHAN PAPARAN UU DESA NOMOR 3 TAHUN 2024BAHAN PAPARAN UU DESA NOMOR 3 TAHUN 2024
BAHAN PAPARAN UU DESA NOMOR 3 TAHUN 2024
 
PPT SOSIALISASI PENGELOLAAN KINERJA GURU DAN KS 2024.pptx
PPT SOSIALISASI PENGELOLAAN KINERJA GURU DAN KS 2024.pptxPPT SOSIALISASI PENGELOLAAN KINERJA GURU DAN KS 2024.pptx
PPT SOSIALISASI PENGELOLAAN KINERJA GURU DAN KS 2024.pptx
 
Pengenalan Figma, Figma Indtroduction, Figma
Pengenalan Figma, Figma Indtroduction, FigmaPengenalan Figma, Figma Indtroduction, Figma
Pengenalan Figma, Figma Indtroduction, Figma
 
KISI-KISI SOAL DAN KARTU SOAL BAHASA INGGRIS.docx
KISI-KISI SOAL DAN KARTU SOAL BAHASA INGGRIS.docxKISI-KISI SOAL DAN KARTU SOAL BAHASA INGGRIS.docx
KISI-KISI SOAL DAN KARTU SOAL BAHASA INGGRIS.docx
 
1. Kisi-kisi PAT IPA Kelas 7 Kurmer 2024
1. Kisi-kisi PAT IPA Kelas 7 Kurmer 20241. Kisi-kisi PAT IPA Kelas 7 Kurmer 2024
1. Kisi-kisi PAT IPA Kelas 7 Kurmer 2024
 
MODUL AJAR BAHASA INDONESIA KELAS 6 KURIKULUM MERDEKA.pdf
MODUL AJAR BAHASA INDONESIA KELAS 6 KURIKULUM MERDEKA.pdfMODUL AJAR BAHASA INDONESIA KELAS 6 KURIKULUM MERDEKA.pdf
MODUL AJAR BAHASA INDONESIA KELAS 6 KURIKULUM MERDEKA.pdf
 
Aksi Nyata Disiplin Positif Keyakinan Kelas untuk SMK
Aksi Nyata Disiplin Positif Keyakinan Kelas untuk SMKAksi Nyata Disiplin Positif Keyakinan Kelas untuk SMK
Aksi Nyata Disiplin Positif Keyakinan Kelas untuk SMK
 

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

slide-11_otomata.pptx

  • 2.  Bentuk Normal Chomsky (Chomsky Normal Form / CNF ) merupakan salah satu bentuk normal yang sangat berguna untuk tata bahasa bebas konteks (CFG). Bentuk Normal Chomsky dapat dibuat dari sebuah tata bahasa bebas konteks yang telah mengalami penyederhanaan, yaitu penghilangan produksi useless, unit, dan є.
  • 3.  Aturan produksi dalam bentuk normal Chomsky ruas kanannya tepat berupa sebuah terminal atau dua variabel. Misalkan :  A → BC  A → b  B → a  C → BA | d
  • 4.  Langkah – langkah pembentukan bentuk normal Chomsky secara umum sebagai berikut. 1. Biarkan aturan produksi yang sudah dalam bentuk normal Chomsky. 2. Lakukan penggantian aturan produksi yang ruas kanannya memuat simbol terminal dan panjang ruas kanan > 1. 3. Lakukan penggantian aturan produksi yang ruas kanannya memuat > 2 simbol variabel. 4. Penggantian – penggantian tersebut bisa dilakukan berkali – kali sampai akhirnya semua aturan produksi dalam bentuk normal Chomsky. 5. Selama dilakukan penggantian, kemungkinan kita akan memperoleh aturan – aturan produksi baru, dan juga memunculkan simbol – simbol variabel baru.
  • 5.  Contoh tata bahasa konteks sebagai berikut.  S → bA | aB  A → bAA | aS | a  B → aBB | bS | b  Aturan produksi yang sudah dalam bentuk normal Chomsky adalah sebagai berikut.  A → a  B → b
  • 6.  Dilakukan penggantian aturan produksi yang belum bentuk normal Chomsky.  S → bA menjadi S → P1A  S → aB menjadi S → P2 B  A → bAA menjadi A → P1 AA menjadi A → P1 P3  A → aS menjadi A → P2 S  B → aBB menjadi B → P2 BB menjadi B → P2 P4  B → bS menjadi B → P1 S
  • 7.  Terbentuk aturan produksi dan simbol variabel baru :  P1 → b  P2 → a  P3 → AA  P4 → BB
  • 8.  Hasil akhir aturan produksi dalam bentuk normal Chomsky adalah sebagai berikut.  A → a  B → b  S → P1 A  S → P2 B  A → P1 P3  A → P2 S  B → P2 P4  B → P1 S  P1 → b  P2 → a  P3 → AA  P4 → BB
  • 9.  Contoh lain, tata bahasa bebas konteks :  S → aB | CA  A → a | bc  B → BC | Ab  C → aB | b
  • 10.  Aturan produksi yang sudah dalam bentuk normal Chomsky :  S → CA  A → a  B → BC  C → b
  • 11.  Penggantian aturan produksi yang belum dalam bentuk normal Chomsky :  S → aB menjadi S → P1 B  A → bc menjadi S → P2 P3  B → Ab menjadi B → A P2  C → aB menjadi C → P1 B
  • 12.  Terbentuk aturan produksi dan simbol variabel baru :  P1 → a  P2 → b  P3 → c
  • 13.  Hasil akhir aturan produksi dalam bentuk normal Chomsky adalah sebagai berikut.  S → CA  A → a  B → BC  C → b  S → P1 B  S → P2 P3  B → A P2  C → P1 B  P1 → a  P2 → b  P3 → c
  • 14.  Contoh, tata bahasa bebas konteks :  S → aAB | ch | CD  A → dbE | eEC  B → ff | DD  C → ADB | aS  D → i  E → jD
  • 15.  Aturan produksi yang sudah dalam bentuk normal Chomsky :  S → CD  B → DD  D → i
  • 16.  Penggantian aturan produksi :  S → aAB menjadi S → P1 P2  S → ch menjadi S → P3 P4  A → dbE menjadi A → P5 P6  A → eEC menjadi A → P8 P9  B → ff menjadi B → P10 P10  C → ADB menjadi C → A P11  C → aS menjadi C → P1S  E → jD menjadi E → P12D
  • 17.  Terbentuk aturan produksi baru :  P1 → A  P2 → AB  P3 → c  P4 → h  P5 → d  P6 → P7 E  P7 → b  P8 → e  P9 → EC  P10 → f  P11 → DB  P12 → j
  • 18.  Hasil akhir dalam bentuk normal Chomsky adalah sebagai berikut.  S → CD  B → DD  D → i  S → P1 P2  S → P3 P4  A → P5 P6  A → P8 P9  B → P10 P10  C → A P11  C → P1S  E → P12D
  • 19.  P1 → A  P2 → AB  P3 → c  P4 → h  P5 → d  P6 → P7 E  P7 → b  P8 → e  P9 → EC  P10 → f  P11 → DB  P12 → j
  • 20. Soal : 1. Transformasikan tata bahasa bebas konteks berikut ke dalam bentuk normal Chomsky:  S → aSb | ab 2. Transformasikan tata bahasa bebas konteks berikut ke dalam bentuk normal Chomsky:  S → aSaA | A  A → abA | b 3. Transformasikan tata bahasa bebas konteks berikut ke dalam bentuk normal Chomsky:  S → abAB  A → bAB | є  B → Baa | A | є