Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example files produce an empty html page as output #4

Open
jokerale opened this issue Feb 8, 2024 · 2 comments
Open

Example files produce an empty html page as output #4

jokerale opened this issue Feb 8, 2024 · 2 comments

Comments

@jokerale
Copy link

jokerale commented Feb 8, 2024

Hi!
I've downloaded and installed the requirements, I've tried to test the application using the file that are in the folder 'data/pdf_tests' but the result is an empty html page.

This is the command used:
python scripts/main.py data/pdf/pdf_tests/ -s 2 -o res/

This is the output file give as result:

<table>
 <tbody>
  <tr>
   <td>
   </td>
  </tr>
 </tbody>
</table>

Is there anything that can fix it? Am I doing something wrong?

@Wazzabeee
Copy link
Owner

Hey!

Sorry for the late answer, I created those files for the tests and not for a working example. At the moment the repo works with pdf files stored in the same file format as in data/pdf/plagiarism -> meaning one folder per pdf file as the repo was developed to retrieve student reports stored in folders

cd scripts
python main.py ../data/pdf/plagiarism

I will modify the example in the next coming weeks if I have time

@jokerale
Copy link
Author

Hi!

I understand! I'll try to match the system needs of the documents position in the selected folder.

Thanks for the response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants