Find Jobs
Hire Freelancers

Adapting a javascript to handle regular expressions (regex)

$30-250 CAD

진행 중
게시됨 9년 이상 전

$30-250 CAD

제출할때 지불됩니다
There is freeware suite called Hot Potatoes which can be found at [login to view URL] The JCloze module of that software permits teachers to create fill-in-the-blank questions for use online with students. The teacher authors these questions in the JCloze editor of Hot Potatoes. The settings for the lesson can be modified in the configuration menu. You can also set the source files to choose the type of interactions you would like (shift ctrl alt S). Then you generate an .htm page that has everything needed for the interactivity including the presentation of the page and the javascripts that handle student answers. The types of interactions that come with Hot Potatoes JCloze are standard but but some developers have developed "hacks" that allow for different kind of interactions. The developer encourages this kind of development and there is a section on the website about how to "hack" it so that you can have new interactions. Right now, JCloze compares student answers to one or a range of text answers that the teacher accepts. If you download the software and create a quick JCloze activity what it does. I have also attached an htm page for a quick understanding. You can see the source code. I would like to introduce a new interaction into the JCloze module that compares a student answer to a regular expression (regex) rather than a simple text answer. The comparison would first need to recognize that it is comparing a student answer to a regular expression written by the teacher and not just a text answer and make the comparison on that basis. It should also be able to still recognize when it is just a simple textual comparison and do that too. If every comparison needs to be a regular expression comparison in order to simplify development, I would be fine with that too. There should be two variations or options. The first one checks to see if the student answer is an exact match to something in the regular expression. The other one checks to see if the student answer contains a match. So if the question is "What kind of sound does a dog make?" And the regular expression is something like (barks?|barking) The first variation would only accept one of those words and nothing else in the student answer (exact match). The second variation would permit other words as long as one of those words is in it. So for the second variation, if the student wrote, "Dogs bark", the answer would also be considered correct. It might be possible allow both options in the same lesson where if the teacher wants one blank in a fill-in-the-blank question with multiple blanks evaluated as an exact match, this is indicated in the regular expression for that blank while another blank could be evaluated as "contains." I imagine this difference to be easily cued somehow in the regular expression author into the JCloze module when the teacher is creating the lesson. I have been in touch with the author of JCloze. I have attached the function that he says would need to be modified and what it returns. I have also attached a file JCloze file that can be opened with JCloze and shows you what the authoring page looks like. Finally, I have attached a webpage generated by that JCloze file. If you look source code, you see the javascript that needs to be change according to the developer of Hot Potatoes. What I want is to be able to author a lesson in JCloze and change the source file to one that generates the page to handle the regexp verification of student answers as described above. Upon payment, I wish to own the code, the copyright to the code and any rights inherent to that notion. Having worked mostly with PERL regex, I would also like a link to a quick reference that explains how the javascript regexp need to be written if they are much different than those used with PERL or PHP. I expect to make this tool available to other teachers using Hot Potatoes. I have indicated a price range thinking that this may be a fairly easy project.
프로젝트 ID: 6424934

프로젝트 정보

5 제안서
원격근무 프로젝트
활동 중 10년 전

돈을 좀 벌 생각이십니까?

프리랜서 입찰의 이점

예산 및 기간 설정
작업 결과에 대한 급여 수급
제안의 개요를 자세히 쓰세요
무료로 프로젝트에 신청하고 입찰할 수 있습니다
프로젝트를 수여된 사용자:
사용자 아바타
expertise in php/mysql,html,html-5,bootstrap,android,css,css-3,cakephp (MVC),LARAVEL-4,symfony-2,YII,have more than 11 year of experience we build more then 100 php/mysql projects worked on joomla,wordpress,magento tell me how we can start this project.
$140 CAD 2일에
0.0 (0 건의 리뷰)
0.0
0.0
5 이 프로젝트에 프리랜서들의 평균 입찰은 $349 CAD입니다.
사용자 아바타
i have 8+ years of experience. Can we discuss the project. Please initiate a chat with me so that we can discuss the project at a broader level. Why you should hire me- 1. I have a very good communication skills so i would understand you better. 2. Error free work will be there 3. Look at my profile once before hiring me. Please see my reviews https://www.freelancer.com/u/fattahaabdul.html
$1,052 CAD 3일에
5.0 (8 건의 리뷰)
5.3
5.3
사용자 아바타
Hello, I have reviewed your requirements and I can implement a complete solution for you within 48 hours. I have over 9 years of experience with JavaScript development and I am available to start working on this immediately. Quality work and satisfaction is guaranteed. Thank you for your consideration.
$250 CAD 2일에
4.9 (9 건의 리뷰)
3.8
3.8
사용자 아바타
Hello Dear client! Thank you for your posting with our skill's scope. Please choose with confidence. I have many experience in this field. If you check my feedbacks and portfolios, you can be sure it. Also if you contact me, I will show more my past work. I will complete this project as you are satisfied. Thank you for your time. From guangzhen.
$155 CAD 3일에
5.0 (12 건의 리뷰)
3.6
3.6
사용자 아바타
A proposal has not yet been provided
$222 CAD 3일에
0.0 (0 건의 리뷰)
0.0
0.0

고객에 대한 정보

국기 (CANADA)
Canada
0.0
0
결제 수단 확인
9월 8, 2014부터 회원입니다

고객 확인

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