code: public static OracleAdapter<Example<Assignment, Assignment>> createAssignmentAdapter(
        GradientOracle<DynamicFactorGraph, Example<DynamicAssignment, DynamicAssignment>> oracle) {
      return new OracleAdapter<Example<Assignment, Assignment>>(oracle, new ExampleConverter());
    }
docs: Gets a {@code TrainerAdapter} that transforms
  {@code Example<Assignment, Assignment>} examples to
  {@code Example<DynamicAssignment, DynamicAssignment>}.
  
  @param trainer
  @return