GithubHelp home page GithubHelp logo

ehardi19 / final-task-automata-theory-and-language Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.16 MB

A simple parser as a final task of Automata Theory and Languages at Telkom University.

License: MIT License

C++ 100.00%
telkom-university automata-and-formal-languages

final-task-automata-theory-and-language's Introduction

indonesian-sentence-parser

Sebuah parser sederhana sebagai tugas besar mata kuliah Teori Bahasa dan Automata di Telkom University

Deskripsi

Teori Bahasa dan Automata

Parser Sederhana untuk Memerika Kevalidan Struktur Kalimat Berbahasa Indonesia

Pada tugas ini struktur kalimat berita aktif dengan struktur:

  • S-P-O-K
  • S-P-K
  • S-P-O
  • S-P

Finite Automata untuk mengecek tipe kata

Context Free Grammar untuk mengecek kevalidan struktur kalimat:

  • Q → sS
  • S → pP
  • P → oO | kK | λ
  • O → kK | λ
  • K → λ

Pushdown Automata untuk mengecek kevalidan struktur kalimat

Jalankan Program

  • Clone repository ini. git clone https://github.com/ehardi19/indonesian-sentence-parser.git
  • Compile dengan C++11. g++ -std=c++11 main.cpp -o main.
  • Jalankan program ./main dan input kalimat untuk dicek.

Catatan

Daftar kata yang diterima untuk setiap tipe kata:

  • S = adi, dia, kakak, mereka, saya
  • P = baca, lihat, main, nulis, pakai
  • O = apel, bubur, komik, rubik, tugas
  • K = bersama, kemarin, lusa, nanti, sekarang

Lisensi

Licensed under The MIT License.

final-task-automata-theory-and-language's People

Contributors

ehardi19 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.