package kr.co.swh.lecture.opensource.eunjeon;

import org.bitbucket.eunjeon.seunjeon.Analyzer;
import org.bitbucket.eunjeon.seunjeon.LNode;
import org.bitbucket.eunjeon.seunjeon.Morpheme;

public class EunjeonAnalysis {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		// 형태소 분석
		for (LNode node : Analyzer.parseJava("아버지가방에들어가신다.")) {
			Morpheme m = node.morpheme();
			System.out.println(m.surface() + " / 품사:" + m.feature().head());
		}

	}

}
