final_ppt (1)

Upload: bhavikagori

Post on 07-Apr-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/6/2019 Final_ppt (1)

    1/16

  • 8/6/2019 Final_ppt (1)

    2/16

    Introduction

    Proposed Algorithm

    Experimental Results (Screen Shots) Future Work

    Conclusion

    References

  • 8/6/2019 Final_ppt (1)

    3/16

    The main need of document comparison software isplagiarism detection.

    Plagiarism is the process of lifting instances of some elseswork .

    And plagiarism detection is the process of locating theseinstances of plagiarism within a work or document.

    The basic objective is to compare two documents forcontent similarity, and to display the percentage similarity ofthese documents.

    A document comparison and identification methodcomprises the steps of: identifying ,in a source document, a

    sentence or words; and finding its match.

  • 8/6/2019 Final_ppt (1)

    4/16

    The matched line number and its corresponding file name isstored for further reference. Finally for user convenience theeither the match percent is displayed or the highlighting featurecan be used where the matched content of each file is highlighted.

    Our software would provide a basic comparison facility whereyour can compare text of one document (Sentence by sentence)with another document/s present in the directory.

    The sentence numbers of the matched sentences are stored intxt files for later reference.

    At the end the percentage will be displayed, which would be thematch percent per file.

  • 8/6/2019 Final_ppt (1)

    5/16

    Primary checking: (checks basic requirements for projectto run)

    STEP 1: Start

    ST

    EP 2: Accept the user file to be compared from the user.STEP 3: If the file does not exists, display error message and go to

    setp1 (i.e.-prompt the user to enter his choice again) else goto setp4

    STEP 4: Check if the file specified is in text format, if not displayerror message and go to step 2 else go to step 5.

    STEP 5: Check if the directory bck dir i.e. base directory ispresent. If not, display error message, create the basedirectory and go to setp2 else go to step 6.

    STEP 6: Check if the base directory is empty. If yes display theerror message and go to further mechanism else go to step2.

  • 8/6/2019 Final_ppt (1)

    6/16

    Start

    Accept the user file to be compared from the user

    Does thefile exists?

    Display the error message

    Is the file intext format?

    No

    Yes

    No

    Yes

    Does bck direxists?

    Display the error messageand create the bck dir

    Is bck dirempty?

    Yes

    Yes

    No

    No

    Continue with the checking mechanism

  • 8/6/2019 Final_ppt (1)

    7/16

    Checking mechanism:Take user file sentence

    Does base fileSentence exist

    Take base file sentence

    Match found?

    Write the matched line number into thecorresponding txt files created.

    Does base fileexist

    No

    Yes

    No

    Next file

    Yes

    No

    Yes

    Generate Output

    Goto nextsentence

  • 8/6/2019 Final_ppt (1)

    8/16

    End

    Start

    Sentence retrieval:

    Input: sentence number, text file

    Output: desired sentence (in form of String Buffer)

    Read character from file

    Count++Is

    Count>Sent.No.

    no

    No

    no

    Append character tostring buffer

    Return String buffer

    Is character.

    Iscount=sent no.?

    Yes

    Yes Yes

  • 8/6/2019 Final_ppt (1)

    9/16

    InputScreen:

  • 8/6/2019 Final_ppt (1)

    10/16

    Browse

    Screen:

  • 8/6/2019 Final_ppt (1)

    11/16

    Output Screen:

  • 8/6/2019 Final_ppt (1)

    12/16

    Future works include some following features: Word to word or letter to letter comparisons. See to the letter what

    changed in a sentence.

    Compares text from any application by cutting and pasting into 'DiffDoc'.

    Comma and other punctuation marks may be ignored and comparison maybe made available.

    Compare files of any type against any file type (i.e. Compare PDF to aWord document).

    Compare documents of MS Word (DOC, DOCX etc), Excel, PDF, RichT

    ext (RT

    F),T

    ext, HT

    ML, XML, PowerPoint, or WordPerfect and retainformatting.

    Choose any portion of any document (file) and compare it againstany portion of the same or different document (file).

  • 8/6/2019 Final_ppt (1)

    13/16

    WHILE SHOWING THE OUTPUT:

    Several popular comparison systems include the capability tocolor-code changed regions in files.

    To show a side-by-side comparison of two files, graphicallyconnecting matching sections.

    Other methods use a thumbnail view of a program, with line-by-

    line coloring to indicate the match

  • 8/6/2019 Final_ppt (1)

    14/16

    Thus by using line by line comparison method to comparetwo/more documents, we overcome the drawbacks of the present

    method and provide the user with a user- friendly and moreaccurate comparison method.

  • 8/6/2019 Final_ppt (1)

    15/16

    http://java.sun.com/j2se/1.4.2/docs/api/

    http://java.sun.com/docs/books/tutorial/uiswing/components/filechooser.html

    http://java.sun.com/javase/6/docs/api/javax/swing/GroupLayout.html

    http://www.java2s.com/Tutorial/Java/0240__Swing/CreatingaJOptionPane.htm

    http://msdn.microsoft.com/enus/library/aa988225(VS.80).aspx

  • 8/6/2019 Final_ppt (1)

    16/16