merge_machine/preprocess_fields_v3.py
def all_data_types():
	''' Returns a map of categories (including a default one for orphan data types) to a list of data types 
	'''
	allTypes = set([vm.t for vm in value_matchers()])
	categorizedTypes = defaultdict(list)
	for parent, children in PARENT_CHILD_RELS.items():
		for child in children:
			# We allow for duplicates under different categories
			if child not in categorizedTypes[parent]:
				categorizedTypes[parent].append(child)
			allTypes.discard(child)
	categorizedTypes[C_OTHERS] = list(allTypes)
	return categorizedTypes
 Returns a map of categories (including a default one for orphan data types) to a list of data types 
	
Returns a map of categories (including a default one for orphan data types) to a list of data types
Returns a map of categories ( including a default one for orphan data types ) to a list of data types
def all_data_types():
	allTypes = set([vm.t for vm in value_matchers()])
	categorizedTypes = defaultdict(list)
	for parent, children in PARENT_CHILD_RELS.items():
		for child in children:
			if child not in categorizedTypes[parent]:
				categorizedTypes[parent].append(child)
			allTypes.discard(child)
	categorizedTypes[C_OTHERS] = list(allTypes)
	return categorizedTypes
def all_data_types ( ) : allTypes = set ( [ vm . t for vm in value_matchers ( ) ] ) categorizedTypes = defaultdict ( list ) for parent , children in PARENT_CHILD_RELS . items ( ) : for child in children : if child not in categorizedTypes [ parent ] : categorizedTypes [ parent ] . append ( child ) allTypes . discard ( child ) categorizedTypes [ C_OTHERS ] = list ( allTypes ) return categorizedTypes
Returns a map of categories (including a default one for orphan data types) to a list of data types
Returns a map of categories ( including a default one for orphan data types ) to a list of data types
''' Returns a map of categories (including a default one for orphan data types) to a list of data types 
	''' # We allow for duplicates under different categories