Merge commit '2af495d056616cc0f757a055114b56df2e0d5d84' as 'projects/bad-nlp/name-database'

This commit is contained in:
2023-03-20 18:03:18 -06:00
669 changed files with 423076 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
task :validate_data do
paths = Dir["{given,family}_name/**/*.yml"]
pad_length = 55
paths.each do |path|
begin
STDOUT.write path.ljust(pad_length, '.')
loaded = YAML.load(IO.read path)
puts "success"
rescue ArgumentError => e
puts "failed"
puts e.message
puts
end
end
end