Project

General

Profile

1
/**
2
 * 
3
 */
4
package eu.dnetlib.data.collective.transformation.engine.functions;
5

    
6
import java.util.List;
7

    
8
import prototype.Person;
9

    
10
/**
11
 * @author jochen
12
 *
13
 */
14
public class PersonVocabulary extends Vocabulary{
15

    
16
	@Override
17
	public String encoding(List<String> keys)throws ProcessingException{
18
		Person p;
19
		String result = "";
20
		for (String input: keys){
21
			p = new Person(input);
22
			result = p.getNormalisedFullname();
23
		}
24
		return result;
25
	}
26
}
(12-12/17)