Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Artificial intelligence Develop a spelling checker (i.e., best word predictor) using a 3-gram language model. Each student needs to collect an Arabic corpus of 250k

Artificial intelligence

Develop a spelling checker (i.e., best word predictor) using a 3-gram language model.

Each student needs to collect an Arabic corpus of 250k words at least. Tokenize the corpus into tokens/words, and then build a tri-gram language model for this corpus. The language model should contain: token, count, + the probability (or log) of the token, and should be saved in a CSV file. Develop an interface to allow the user to write text then click a spell button. If the user writes # in the text, the program will suggest the top five words (and their probability) as a replacement of the #, using the language model. The project should include. The source code, corpus, language model. The project should be JAVA.

please i need it as a code

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 11 The Database For Big Data And Analytics

Authors: Cristian Molaro, Surekha Parekh, Terry Purcell, Julian Stuhler

1st Edition

1583473858, 978-1583473856

More Books

Students also viewed these Databases questions

Question

1. Give extra points for correct and creative answers.

Answered: 1 week ago