@@ -0,0 +1,2369 @@
+import java.io.*;%0Aimport java.util.*;%0A%0A/* Stores information for a user, such as resume content and skillset */%0A%0Apublic class Profile %7B%0A%0A%09private HashMap%3CString, Integer%3E skills; //Skills and number of years exp%0A%09private String email;%0A%09private String name; %0A%09private HashMap%3CString, Integer%3E keywordMatch; //Matches keywords to occurrence rate%0A%09private String resumeFilename;%0A%09private String skillsFilename;%0A%0A%09private boolean hasResume = false;%0A%09private boolean hasSkills = false;%0A%0A%09private double longitude;%0A%09private double latitude;%0A%0A%0A%09public boolean hasResume() %7B%0A%09%09return hasResume;%0A%09%7D%0A%0A%09public boolean hasSkills() %7B%0A%09%09return hasSkills;%0A%09%7D%0A%0A%09public String getSkillsFilename() %7B%0A%09%09return skillsFilename;%0A%09%7D%0A%0A%09public String getResumeFilename() %7B%0A%09%09return resumeFilename;%0A%09%7D%0A%0A%09public double getLatitude() %7B%0A%09%09return latitude;%0A%09%7D%0A%0A%09public double getLongitude() %7B%0A%09%09return longitude;%0A%09%7D%0A%0A%09public void setName(String name) %7B%0A%09%09this.name = name;%0A%09%7D%0A%0A%09public void setEmail(String email) %7B%0A%09%09this.email = email;%0A%09%7D%0A%0A%09//Used if resume and skills are provided%0A%09public Profile(String resumeFilename, String keywordsFilename, String skillsFilename, double latitude, double longitude) %7B%0A%0A%09%09ResumeAnalyzer resumeAnalyzer = new ResumeAnalyzer(resumeFilename, keywordsFilename);%0A%09%09SkillsExtractor skillsExtractor = new SkillsExtractor(skillsFilename);%0A%0A%09%09keywordMatch = resumeAnalyzer.getKeywordDict();%0A%09%09skills = skillsExtractor.getSkills();%0A%0A%09%09this.resumeFilename = resumeFilename;%0A%09%09this.skillsFilename = skillsFilename;%0A%0A%09%09hasResume = true;%0A%09%09hasSkills = true;%0A%0A%09%09this.latitude = latitude;%0A%09%09this.longitude = longitude;%0A%0A%09%7D%0A%0A%09//Used if only resume is provided%0A%09public Profile(String resumeFilename, String keywordsFilename, double latitude, double longitude) %7B%0A%0A%09%09ResumeAnalyzer resumeAnalyzer = new ResumeAnalyzer(resumeFilename, keywordsFilename);%0A%09%09keywordMatch = resumeAnalyzer.getKeywordDict();%0A%0A%09%09this.resumeFilename = resumeFilename;%0A%0A%09%09hasResume = true;%0A%0A%09%09this.latitude = latitude;%0A%09%09this.longitude = longitude;%0A%0A%09%7D%0A%0A%09//Used if only skillset is provided%0A%09public Profile(String skillsFilename, double latitude, double longitude) %7B%0A%09%09SkillsExtractor skillsExtractor = new SkillsExtractor(skillsFilename);%0A%09%09skills = skillsExtractor.getSkills();%0A%0A%09%09hasSkills = true;%0A%09%09this.skillsFilename = skillsFilename;%0A%0A%09%09this.latitude = latitude;%0A%09%09this.longitude = longitude;%0A%09%7D%0A%0A%7D%0A

Create Profile.java