Difference between revisions of "Key Terms Search"
(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=...") |
(No difference)
|
Revision as of 13:54, 12 December 2017
Key Terms Search | |
---|---|
Project Information | |
Project Title | Key Terms Search |
Owner | Christy Warden |
Start Date | 11/20/2017 |
Deadline | |
Keywords | Key terms, python |
Primary Billing | |
Notes | |
Has project status | Complete |
Copyright © 2016 edegan.com. All Rights Reserved. |
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.