Find Jobs
Hire Freelancers

Simple dictionary spell check in C

$10-30 USD

완료함
게시됨 약 4년 전

$10-30 USD

제출할때 지불됩니다
Write a program in C to check a file containing words in each line against another file. "[login to view URL]" (ATTACHED). The program should reach in a dictionary of words ([login to view URL]) and store it in an array. The program should then read words, one at a time, from the user-given input file. Each word should be compared to the dictionary. If an exact match is found, the program should continue to the next word. If no exact match is found, then the program should begin searching for suitable suggestions for replacement. The search for replacement words should work like this. Let N be the length of the original input word, minus 1. Starting with that value of N, the program should search for any exact matches of the first N characters of the input word with any words in the dictionary, and add them to a suggestion list. Following that, the program should search for any exact matches of an N substring anywhere inside the input word, as compared to anywhere inside a dictionary word. Decrease the value of N by 1, and repeat. This process should stop when 10 words have been suggested, or when N reaches 0. The program should provide the list of suggestions to the user through a simple text menu. One option in that menu should be to keep the original word. Either upon verifying that the original word is found in the dictionary, or upon the user selecting a replacement, the program should write the appropriate word to an output file. The program should discover the names of both the input file and the output file from command line arguments.
프로젝트 ID: 23962158

프로젝트 정보

제안서 1개
원격근무 프로젝트
활동 중 4년 전

돈을 좀 벌 생각이십니까?

프리랜서 입찰의 이점

예산 및 기간 설정
작업 결과에 대한 급여 수급
제안의 개요를 자세히 쓰세요
무료로 프로젝트에 신청하고 입찰할 수 있습니다
프로젝트를 수여된 사용자:
사용자 아바타
hi , it's an easy task for me and i can do it as required and on time . tanks in advance .
$30 USD 7일에
5.0 (10 건의 리뷰)
3.5
3.5

고객에 대한 정보

국기 (JAMAICA)
Jamaica
0.0
0
결제 수단 확인
7월 23, 2017부터 회원입니다

고객 확인

감사합니다! 무료 크레딧을 신청할 수 있는 링크를 이메일로 보내드렸습니다.
이메일을 보내는 동안 문제가 발생했습니다. 다시 시도해 주세요.
등록 사용자 전체 등록 건수(일자리)
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
미리 보기 화면을 준비 중...
위치 정보 관련 접근권이 허용되었습니다.
고객님의 로그인 세션이 만료되어, 자동으로 로그아웃 처리가 되었습니다. 다시 로그인하여 주십시오.