Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Change github download url list filename #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,15 +142,15 @@ statements that appear in C programs.*

If you want to use your own repository for mining patterns, jump to Step 1.2.

1.1 __Downloading Top-100 GitHub repos for C language__
1.1 __Downloading Top-1000 GitHub repos for C language__

Steps below show how to download Top-100 GitHub repos for C language
(`c100.txt`) and generate training data. `training_repo_dir` is a directory
Steps below show how to download Top-1000 GitHub repos for C language
Copy link
Contributor

@nhasabni nhasabni Nov 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this would be a better description - Steps below show how to download GitHub repositories having at least 100 GitHub stars for C language (c100.txt). What do you think?

And in that case, the file name change is not needed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, right. Thanks for clarifying @nhasabni. That sounds rights to me.

(`c1000.txt`) and generate training data. `training_repo_dir` is a directory
where the command below will clone all the repos.

```
$ cd github
$ python download_repos.py -f c100.txt -o <training_repo_dir> -m clone -p 5
$ python download_repos.py -f c1000.txt -o <training_repo_dir> -m clone -p 5
```

1.2 __Mining patterns from downloaded repositories__
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.