Changes

Jump to navigation Jump to search
1,091 bytes added ,  14:54, 12 December 2017
Created page with "{{McNair Projects |Has title=Key Terms Search |Has owner=Christy Warden, |Has start date=11/20/2017 |Has keywords=Key terms, python |Has project status=Complete }} =Overview=..."
{{McNair Projects
|Has title=Key Terms Search
|Has owner=Christy Warden,
|Has start date=11/20/2017
|Has keywords=Key terms, python
|Has project status=Complete
}}
=Overview=
The python file for this program is located at E:\McNair\Software\Google_Scholar_Crawler

The program takes a series of key terms (which are categorized) and searches for them in a directory of files. it marks how many time each term occurs in a file and makes an array of the results.


=How to Use=

In order to use this program, open the file in Komodo. At the very top of the file are two variables. Change keywordfile to the directory of your key term file. The key term file itself should be a txt file in the format of the category of a word followed by a tab followed by the word. The text directory dictionary should be changed to the directory of text files that you want to search in. Press run and you will get back a file called KeyTerms.txt which will be an array of all the files with a header containing all the words.

If you want to match whole word only, uncomment line 50 and comment line 49.
272

edits

Navigation menu