  @Test
  public void testExtractEntities() {

    StanfordCoreNLPService svc = new StanfordCoreNLPService(StanfordCoreNLPService.createPipeline(null));

    final String text = "ALBUQUERQUE, N.M. — A worldwide film production company is expanding to Albuquerque, according to Albuquerque Business First. The company, Production Resource Group, has worked on various movie productions including \"House of Cards.\" They plan to move into a 6,000-square-foot warehouse space in northeast Albuquerque, located at 5821 Midway Park Blvd. NE. For more information, click here.";

    final Map<String, List<String>> entities = svc.extractEntities(text, "location,organization");
    System.out.println("Entities: " + entities);

    assertNotNull(entities);
    assertEquals("Albuquerque Business First", entities.get("organization").get(0));

    svc = null;
  }