개발183 junit list test import org.junit.Test; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.hamcrest.collection.IsEmptyCollection; import static org.hamcrest.CoreMatchers.*; import static org.hamcrest.collection.IsCollectionWithSize.hasSize; import static org.hamcrest.collection.IsIterableContainingInAnyOrder.containsInAnyOrder; import static org.hamcrest.collection.IsIterableC.. 2016. 7. 29. Penn treebank Tagset https://gist.github.com/nlothian/9240750 Clause LevelS - simple declarative clause, i.e. one that is not introduced by a (possible empty) subordinating conjunction or a wh-word and that does not exhibit subject-verb inversion. SBAR - Clause introduced by a (possibly empty) subordinating conjunction. SBARQ - Direct question introduced by a wh-word or a wh-phrase. Indirect questions and relative c.. 2016. 7. 28. elasticsearch 2.3.3 bulk index 예제 public static BulkProcessor esBulk(Client client) throws UnknownHostException, IOException { BulkProcessor bulkProcessor = BulkProcessor.builder( client, new BulkProcessor.Listener() { @Override public void beforeBulk(long executionId, BulkRequest request) { // System.out.println("@before bulk indexing"); } @Override public void afterBulk(long executionId, BulkRequest request, BulkResponse respo.. 2016. 6. 14. 이전 1 ··· 43 44 45 46 다음