Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,6 @@ dmypy.json
.pyre/

# thaidd virtual env
virtual/
virtual/

.idea
17 changes: 11 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
sctokenizer
click
sctokenizer~=0.0.7
click~=8.0.3
appdirs
jinja2
pandas
beautifulsoup4
requests
jinja2~=3.0.3
pandas~=1.3.5
beautifulsoup4~=4.10.0
requests~=2.27.1
tqdm~=4.62.3
torch~=1.10.2
javalang~=0.13.0
anytree~=2.8.0
setuptools~=60.2.0
4 changes: 4 additions & 0 deletions scoss/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
'--hash-operator', '-ho', type=click.FloatRange(0,1),
help='Use hash operator metric and set up hash operator threshold.'
)
@click.option(
'--gmn-network', '-gmn', type=click.FloatRange(0,1),
help='Use gmn network'
)
def scoss_command(input_dir, output_dir, threshold_combination,\
moss, count_operator, set_operator, hash_operator):
if not output_dir:
Expand Down
7 changes: 0 additions & 7 deletions scoss/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,10 +247,3 @@ def get_all_plagiarism(input_dir, output_dir, threshold_combination_type='AND',
writer.writerow(row)

return all_links, heads







Loading