Skip to content

Commit

Permalink
細かな修正
Browse files Browse the repository at this point in the history
  • Loading branch information
pinfort committed Dec 19, 2018
1 parent 318f703 commit 2cb7c8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
from analyzeSegment import analyzeSegment

def main(path):
analyzer = analyzeSegment()
segs = SegmentFromFile(path)
for seg in segs.tokenizeLoop():
analyzed = analyzeSegment().analyze(seg["marker"], seg["body"])
analyzed = analyzer.analyze(seg["marker"], seg["body"])
print(analyzed) if analyzed is not None else ""

if __name__ == '__main__':
Expand Down

0 comments on commit 2cb7c8d

Please sign in to comment.