// Path: disambiguation-author/disambiguation-author-logic/src/main/java/pl/edu/icm/coansys/disambiguation/author/features/extractors/indicators/DisambiguationExtractorAuthor.java
// public class DisambiguationExtractorAuthor extends DisambiguationExtractor {
// 	
// 	public DisambiguationExtractorAuthor() {}
// 	public DisambiguationExtractorAuthor( PigNormalizer[] new_normalizers ) {
// 		super( new_normalizers );
// 	}
// 	
// 	public Collection<Integer> extract( Object o, int authorIndex, String lang ) {
// 		return null;
// 	}
// 
// 	public Collection<Integer> extract( Object o, int authorIndex ) {
// 		return extract( o, authorIndex, null );
// 	}
// }
// 
// Path: disambiguation-author/disambiguation-author-logic/src/main/java/pl/edu/icm/coansys/disambiguation/author/normalizers/PigNormalizer.java
// public interface PigNormalizer {
// 	
//     String normalize( String text );
// 	
// }


import pl.edu.icm.coansys.models.DocumentProtos.DocumentMetadata;
import pl.edu.icm.coansys.models.DocumentProtos.KeyValue;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
import org.apache.pig.data.DataBag;
import org.apache.pig.data.DefaultDataBag;
import org.apache.pig.data.TupleFactory;
import pl.edu.icm.coansys.disambiguation.author.features.extractors.indicators.DisambiguationExtractorAuthor;
import pl.edu.icm.coansys.disambiguation.author.normalizers.PigNormalizer;
import pl.edu.icm.coansys.models.DocumentProtos.Author;
/*
 * This file is part of CoAnSys project.
 * Copyright (c) 2012-2015 ICM-UW
 * 
 * CoAnSys is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.

 * CoAnSys is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 * 
 * You should have received a copy of the GNU Affero General Public License
 * along with CoAnSys. If not, see <http://www.gnu.org/licenses/>.
 */
package pl.edu.icm.coansys.disambiguation.author.features.extractors;




public class EX_PERSON_ID_NOT_STATED extends DisambiguationExtractorAuthor {

	// put here id names which should not be extracted to disambiguation
	// e.g. "pbnPersonId"
	public static String SKIPPED_PERSON_ID_KIND[] = {
		"pbnPersonId",
		"orcidId"
	};
	private Set<String> skip_id_set = new HashSet<String>(
			Arrays.asList(SKIPPED_PERSON_ID_KIND));

	public EX_PERSON_ID_NOT_STATED() {
		super();
	}

	public EX_PERSON_ID_NOT_STATED(PigNormalizer[] new_normalizers) {
		super(new_normalizers);
	}
	
// Path: disambiguation-author/disambiguation-author-logic/src/main/java/pl/edu/icm/coansys/disambiguation/author/features/extractors/indicators/DisambiguationExtractorAuthor.java
// public class DisambiguationExtractorAuthor extends DisambiguationExtractor {
// 	
// 	public DisambiguationExtractorAuthor() {}
// 	public DisambiguationExtractorAuthor( PigNormalizer[] new_normalizers ) {
// 		super( new_normalizers );
// 	}
// 	
// 	public Collection<Integer> extract( Object o, int authorIndex, String lang ) {
// 		return null;
// 	}
// 
// 	public Collection<Integer> extract( Object o, int authorIndex ) {
// 		return extract( o, authorIndex, null );
// 	}
// }
// 
// Path: disambiguation-author/disambiguation-author-logic/src/main/java/pl/edu/icm/coansys/disambiguation/author/normalizers/PigNormalizer.java
// public interface PigNormalizer {
// 	
//     String normalize( String text );
// 	
// }


// Path: disambiguation-author/disambiguation-author-logic/src/main/java/pl/edu/icm/coansys/disambiguation/author/features/extractors/EX_PERSON_ID_NOT_STATED.java
import pl.edu.icm.coansys.models.DocumentProtos.DocumentMetadata;
import pl.edu.icm.coansys.models.DocumentProtos.KeyValue;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
import org.apache.pig.data.DataBag;
import org.apache.pig.data.DefaultDataBag;
import org.apache.pig.data.TupleFactory;
import pl.edu.icm.coansys.disambiguation.author.features.extractors.indicators.DisambiguationExtractorAuthor;
import pl.edu.icm.coansys.disambiguation.author.normalizers.PigNormalizer;
import pl.edu.icm.coansys.models.DocumentProtos.Author;

/*
 * This file is part of CoAnSys project.
 * Copyright (c) 2012-2015 ICM-UW
 * 
 * CoAnSys is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.

 * CoAnSys is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 * 
 * You should have received a copy of the GNU Affero General Public License
 * along with CoAnSys. If not, see <http://www.gnu.org/licenses/>.
 */
package pl.edu.icm.coansys.disambiguation.author.features.extractors;




public class EX_PERSON_ID_NOT_STATED extends DisambiguationExtractorAuthor {

	// put here id names which should not be extracted to disambiguation
	// e.g. "pbnPersonId"
	public static String SKIPPED_PERSON_ID_KIND[] = {
		"pbnPersonId",
		"orcidId"
	};
	private Set<String> skip_id_set = new HashSet<String>(
			Arrays.asList(SKIPPED_PERSON_ID_KIND));

	public EX_PERSON_ID_NOT_STATED() {
		super();
	}

	public EX_PERSON_ID_NOT_STATED(PigNormalizer[] new_normalizers) {
		super(new_normalizers);
	}
	
	public EX_PERSON_ID_NOT_STATED(PigNormalizer[] new_normalizers, String[] skippedPersonIdKeys) {