khrek commited on
Commit
393f274
1 Parent(s): ce0b30f

Upload main.py

Browse files
Files changed (1) hide show
  1. main.py +11 -0
main.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from reader import Reader
2
+ from resume_parser import Parser
3
+
4
+ class Main():
5
+ def __init__(self):
6
+ self.reader = Reader()
7
+ self.parser = Parser()
8
+
9
+ def parse(self, filename):
10
+ text = self.reader.read(filename)
11
+ return self.parser.parse(text)