@Test public void testExtractText() throws Exception { String inputText = "한국어를 처리하는 예시입니다ㅋㅋ"; String exepectedResult = ""; ExtractionText extractionText = new ExtractionText(inputText, "Task"); ExtractionManager extractionManager = ExtractionManager.getInstance(); System.out.println("result : " +extractionManager.extractText(extractionText).getPhrases() ) ; }
public ExtractionText extractText(ExtractionText extractionText){ Seq<KoreanTokenizer.KoreanToken> tokens = TwitterKoreanProcessorJava.tokenize(extractionText.getOriginalText()); List<KoreanPhraseExtractor.KoreanPhrase> phrases = TwitterKoreanProcessorJava.extractPhrases(tokens, true, true); extractionText.setPhrases(convertKoreanPhrase(phrases, extractionText.getTask())); return extractionText; }
ExtractionManager extends PhraseManagerImpl { public ExtractionText extractText(ExtractionText extractionText){ Seq<KoreanTokenizer.KoreanToken> tokens = TwitterKoreanProcessorJava.tokenize(extractionText.getOriginalText()); List<KoreanPhraseExtractor.KoreanPhrase> phrases = TwitterKoreanProcessorJava.extractPhrases(tokens, true, true); extractionText.setPhrases(convertKoreanPhrase(phrases, extractionText.getTask())); return extractionText; } }
ExtractionManager extends PhraseManagerImpl { public ExtractionText extractText(ExtractionText extractionText){ Seq<KoreanTokenizer.KoreanToken> tokens = TwitterKoreanProcessorJava.tokenize(extractionText.getOriginalText()); List<KoreanPhraseExtractor.KoreanPhrase> phrases = TwitterKoreanProcessorJava.extractPhrases(tokens, true, true); extractionText.setPhrases(convertKoreanPhrase(phrases, extractionText.getTask())); return extractionText; } ExtractionManager(); }
ExtractionManager extends PhraseManagerImpl { public ExtractionText extractText(ExtractionText extractionText){ Seq<KoreanTokenizer.KoreanToken> tokens = TwitterKoreanProcessorJava.tokenize(extractionText.getOriginalText()); List<KoreanPhraseExtractor.KoreanPhrase> phrases = TwitterKoreanProcessorJava.extractPhrases(tokens, true, true); extractionText.setPhrases(convertKoreanPhrase(phrases, extractionText.getTask())); return extractionText; } ExtractionManager(); static ExtractionManager getInstance(); ExtractionText extractText(ExtractionText extractionText); }
ExtractionManager extends PhraseManagerImpl { public ExtractionText extractText(ExtractionText extractionText){ Seq<KoreanTokenizer.KoreanToken> tokens = TwitterKoreanProcessorJava.tokenize(extractionText.getOriginalText()); List<KoreanPhraseExtractor.KoreanPhrase> phrases = TwitterKoreanProcessorJava.extractPhrases(tokens, true, true); extractionText.setPhrases(convertKoreanPhrase(phrases, extractionText.getTask())); return extractionText; } ExtractionManager(); static ExtractionManager getInstance(); ExtractionText extractText(ExtractionText extractionText);  }