Package com.tistory.devyongsik.crescent.admin.entity

Examples of com.tistory.devyongsik.crescent.admin.entity.MorphResult


    List<MorphResult> morphQueryTestResult = new ArrayList<MorphResult>();
   
    Map<String, List<MorphResult>> morphTestResultSet = new HashMap<String, List<MorphResult>>();
   
    for(MorphToken token : resultTokenListIndexingMode) {
      MorphResult morphResult = new MorphResult();
      morphResult.setWord(token.getTerm());
      morphResult.setType(token.getType());
      morphResult.setStartOffset(token.getStartOffset());
      morphResult.setEndOffset(token.getEndOffset());
     
      morphIndexingTestResult.add(morphResult);
    }
   
    for(MorphToken token : resultTokenListQueryMode) {
      MorphResult morphResult = new MorphResult();
      morphResult.setWord(token.getTerm());
      morphResult.setType(token.getType());
      morphResult.setStartOffset(token.getStartOffset());
      morphResult.setEndOffset(token.getEndOffset());
     
      morphQueryTestResult.add(morphResult);
    }
   
    morphTestResultSet.put("indexResult", morphIndexingTestResult);
View Full Code Here

TOP

Related Classes of com.tistory.devyongsik.crescent.admin.entity.MorphResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.