transformers_dataset

package
v0.4.52 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Addresses = []Address{}/* 999 elements not displayed */

we could prob optimize this by creating map[string][]string{} for each field of the address where each key is the length of the cities in that []string{}. This is how we have the names datasets. Then it becomes easier to handle maxLength params and also we can create way more addresses, since we'll be able to mix-and-match fields.

View Source
var AreaCodes = []int64{}/* 348 elements not displayed */
View Source
var EmailDomainIndices = []int64{
	4,
	5,
	6,
	7,
	8,
	9,
	10,
	11,
	12,
	13,
	14,
	15,
	16,
	17,
	18,
	19,
	20,
	21,
	22,
	23,
	24,
	25,
	28,
}
View Source
var EmailDomainMap = map[int64][2]int{
	4:  {0, 0},
	5:  {1, 8},
	6:  {9, 46},
	7:  {47, 113},
	8:  {114, 180},
	9:  {181, 347},
	10: {348, 478},
	11: {479, 587},
	12: {588, 689},
	13: {690, 796},
	14: {797, 850},
	15: {851, 892},
	16: {893, 918},
	17: {919, 943},
	18: {944, 953},
	19: {954, 968},
	20: {969, 970},
	21: {971, 973},
	22: {974, 974},
	23: {975, 976},
	24: {977, 977},
	25: {978, 978},
	28: {979, 979},
}
View Source
var EmailDomains = []string{}/* 980 elements not displayed */
View Source
var FirstNameIndices = []int64{
	2,
	3,
	4,
	5,
	6,
	7,
	8,
	9,
	10,
	11,
	12,
	13,
	14,
	15,
	16,
	17,
	18,
	19,
	20,
	22,
}
View Source
var FirstNameMap = map[int64][2]int{
	2:  {0, 423},
	3:  {424, 2758},
	4:  {2759, 11254},
	5:  {11255, 29333},
	6:  {29334, 48391},
	7:  {48392, 62582},
	8:  {62583, 70822},
	9:  {70823, 74776},
	10: {74777, 76501},
	11: {76502, 77153},
	12: {77154, 77413},
	13: {77414, 77541},
	14: {77542, 77607},
	15: {77608, 77639},
	16: {77640, 77652},
	17: {77653, 77655},
	18: {77656, 77660},
	19: {77661, 77661},
	20: {77662, 77664},
	22: {77665, 77665},
}
View Source
var FirstNames = []string{}/* 77666 elements not displayed */
View Source
var LastNameIndices = []int64{
	2,
	3,
	4,
	5,
	6,
	7,
	8,
	9,
	10,
	11,
	12,
	13,
	14,
	15,
	16,
	17,
	18,
}
View Source
var LastNameMap = map[int64][2]int{
	2:  {0, 447},
	3:  {448, 2253},
	4:  {2254, 7739},
	5:  {7740, 20245},
	6:  {20246, 37537},
	7:  {37538, 55268},
	8:  {55269, 68814},
	9:  {68815, 77629},
	10: {77630, 82712},
	11: {82713, 85225},
	12: {85226, 86415},
	13: {86416, 86916},
	14: {86917, 87115},
	15: {87116, 87200},
	16: {87201, 87237},
	17: {87238, 87256},
	18: {87257, 87265},
}
View Source
var LastNames = []string{}/* 87266 elements not displayed */
View Source
var States = []State{
	{Code: "AL", FullName: "Alabama"},
	{Code: "AK", FullName: "Alaska"},
	{Code: "AZ", FullName: "Arizona"},
	{Code: "AR", FullName: "Arkansas"},
	{Code: "CA", FullName: "California"},
	{Code: "CO", FullName: "Colorado"},
	{Code: "CT", FullName: "Connecticut"},
	{Code: "DE", FullName: "Delaware"},
	{Code: "FL", FullName: "Florida"},
	{Code: "GA", FullName: "Georgia"},
	{Code: "HI", FullName: "Hawaii"},
	{Code: "ID", FullName: "Idaho"},
	{Code: "IL", FullName: "Illinois"},
	{Code: "IN", FullName: "Indiana"},
	{Code: "IA", FullName: "Iowa"},
	{Code: "KS", FullName: "Kansas"},
	{Code: "KY", FullName: "Kentucky"},
	{Code: "LA", FullName: "Louisiana"},
	{Code: "ME", FullName: "Maine"},
	{Code: "MD", FullName: "Maryland"},
	{Code: "MA", FullName: "Massachusetts"},
	{Code: "MI", FullName: "Michigan"},
	{Code: "MN", FullName: "Minnesota"},
	{Code: "MS", FullName: "Mississippi"},
	{Code: "MO", FullName: "Missouri"},
	{Code: "MT", FullName: "Montana"},
	{Code: "NE", FullName: "Nebraska"},
	{Code: "NV", FullName: "Nevada"},
	{Code: "NH", FullName: "New Hampshire"},
	{Code: "NJ", FullName: "New Jersey"},
	{Code: "NM", FullName: "New Mexico"},
	{Code: "NY", FullName: "New York"},
	{Code: "NC", FullName: "North Carolina"},
	{Code: "ND", FullName: "North Dakota"},
	{Code: "OH", FullName: "Ohio"},
	{Code: "OK", FullName: "Oklahoma"},
	{Code: "OR", FullName: "Oregon"},
	{Code: "PA", FullName: "Pennsylvania"},
	{Code: "RI", FullName: "Rhode Island"},
	{Code: "SC", FullName: "South Carolina"},
	{Code: "SD", FullName: "South Dakota"},
	{Code: "TN", FullName: "Tennessee"},
	{Code: "TX", FullName: "Texas"},
	{Code: "UT", FullName: "Utah"},
	{Code: "VT", FullName: "Vermont"},
	{Code: "VA", FullName: "Virginia"},
	{Code: "WA", FullName: "Washington"},
	{Code: "WV", FullName: "West Virginia"},
	{Code: "WI", FullName: "Wisconsin"},
	{Code: "WY", FullName: "Wyoming"},
}

Functions

This section is empty.

Types

type Address

type Address struct {
	Address1 string
	Address2 string
	City     string
	State    string
	Zipcode  string
}

type State added in v0.4.47

type State struct {
	Code     string
	FullName string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL