Add locale data categories: word, sentence, date, time, ssn, version, email, ip, company, color, url, uuid, username, price
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
[
|
||||
{
|
||||
"format": "##{x}{x}{x}{x}{x}{x}",
|
||||
"x": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"],
|
||||
"weight": 2
|
||||
},
|
||||
["Black", "Blue", "Brown", "Gray", "Green", "Orange", "Pink", "Purple", "Red", "Sky Blue", "White", "Yellow"]
|
||||
]
|
||||
@@ -0,0 +1,14 @@
|
||||
[
|
||||
{
|
||||
"format": "{base} {suffix}",
|
||||
"base": [
|
||||
{
|
||||
"format": "{a}{b}",
|
||||
"a": ["Acme", "Apex", "Blue", "Bright", "Iron", "North", "Pioneer", "Silver", "Summit", "Vertex"],
|
||||
"b": ["core", "field", "line", "logic", "point", "soft", "tech", "ware", "wave", "works"]
|
||||
},
|
||||
["Atlas Industries", "Hudson Partners", "Liberty Holdings", "Riverside", "Smith & Sons"]
|
||||
],
|
||||
"suffix": ["Co.", "Corp.", "Group", "Inc.", "LLC", "Ltd."]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,15 @@
|
||||
[
|
||||
{
|
||||
"format": "{month}/{day}/{year}",
|
||||
"month": ["01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12"],
|
||||
"day": ["01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28"],
|
||||
"year": [
|
||||
{ "format": "#1970" },
|
||||
{ "format": "#1980" },
|
||||
{ "format": "#1990", "weight": 2 },
|
||||
{ "format": "2#0#00", "weight": 3 },
|
||||
{ "format": "2#0#10", "weight": 3 },
|
||||
{ "format": "2#020", "weight": 2 }
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,15 @@
|
||||
[
|
||||
{
|
||||
"format": "{local}@{domain}",
|
||||
"local": [
|
||||
{
|
||||
"format": "{first}{sep}{last}{n}",
|
||||
"first": ["james", "mary", "john", "patricia", "robert", "linda", "michael", "emma", "david", "olivia"],
|
||||
"last": ["smith", "johnson", "williams", "brown", "jones", "garcia", "miller", "davis", "wilson", "taylor"],
|
||||
"sep": [".", "_", "."],
|
||||
"n": ["", "", "1", "7", "42"]
|
||||
}
|
||||
],
|
||||
"domain": ["example.com", "example.org", "example.net", "mail.example.com"]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,11 @@
|
||||
[
|
||||
{
|
||||
"format": "{o}.{o}.{o}.{o}",
|
||||
"weight": 8,
|
||||
"o": [{ "format": "0", "weight": 3 }, { "format": "10", "weight": 4 }, { "format": "#100", "weight": 2 }]
|
||||
},
|
||||
{
|
||||
"format": "{g}:{g}:{g}:{g}:{g}:{g}:{g}:{g}",
|
||||
"g": [{ "format": "{x}{x}{x}{x}", "x": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"] }]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,7 @@
|
||||
[
|
||||
{
|
||||
"format": "${amt}.{cents}",
|
||||
"amt": [{ "format": "10", "weight": 3 }, { "format": "100", "weight": 2 }, { "format": "1#,000" }],
|
||||
"cents": [{ "format": "00" }]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,10 @@
|
||||
[
|
||||
{
|
||||
"format": "{lead} {adj} {noun} {verb} {prep} {adj} {noun}.",
|
||||
"lead": ["A", "Each", "Every", "One", "The"],
|
||||
"adj": ["ancient", "bright", "fierce", "golden", "lazy", "modern", "quick", "silent"],
|
||||
"noun": ["engine", "forest", "fox", "garden", "harbor", "mountain", "river", "signal"],
|
||||
"verb": ["builds", "carries", "crosses", "follows", "guards", "reveals", "shapes"],
|
||||
"prep": ["across", "beneath", "beyond", "over", "through"]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,3 @@
|
||||
[
|
||||
{ "format": "100-00-0000" }
|
||||
]
|
||||
@@ -0,0 +1,8 @@
|
||||
[
|
||||
{
|
||||
"format": "{hour}:{minute} {ampm}",
|
||||
"hour": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"],
|
||||
"minute": [{ "format": "{t}0", "t": ["0", "1", "2", "3", "4", "5"] }],
|
||||
"ampm": ["AM", "PM"]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,7 @@
|
||||
[
|
||||
{
|
||||
"format": "https://{host}{path}",
|
||||
"host": ["example.com", "www.example.com", "example.org", "blog.example.net", "shop.example.com", "example.io"],
|
||||
"path": ["", { "format": "/{seg}", "seg": ["about", "account", "blog", "contact", "help", "items", "login", "news", "products", "search"] }]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,9 @@
|
||||
[
|
||||
{
|
||||
"format": "{first}{sep}{last}{n}",
|
||||
"first": ["alex", "chris", "jamie", "jordan", "morgan", "sam", "taylor", "casey", "riley", "drew"],
|
||||
"last": ["adams", "brooks", "carter", "evans", "fisher", "grant", "hayes", "lane", "morris", "reed"],
|
||||
"sep": ["", "", ".", "_"],
|
||||
"n": ["", "", "", "1", "7", "23", "99"]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,6 @@
|
||||
[
|
||||
{
|
||||
"format": "{x}{x}{x}{x}{x}{x}{x}{x}-{x}{x}{x}{x}-{x}{x}{x}{x}-{x}{x}{x}{x}-{x}{x}{x}{x}{x}{x}{x}{x}{x}{x}{x}{x}",
|
||||
"x": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,8 @@
|
||||
[
|
||||
{
|
||||
"format": "{pre}{n}.{n}.{n}{suffix}",
|
||||
"n": [{ "format": "0", "weight": 3 }, { "format": "10" }],
|
||||
"pre": ["", { "format": "v", "weight": 0.4 }],
|
||||
"suffix": ["", { "format": "-{tag}.{m}", "tag": ["alpha", "beta", "rc"], "m": ["1", "2", "3"], "weight": 0.3 }]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1 @@
|
||||
["able", "after", "again", "beach", "bridge", "candle", "clever", "dream", "early", "forest", "garden", "gentle", "harbor", "island", "journey", "kettle", "ladder", "meadow", "narrow", "ocean", "pencil", "quiet", "river", "silver", "timber", "under", "velvet", "window", "yellow", "zephyr"]
|
||||
@@ -0,0 +1,8 @@
|
||||
[
|
||||
{
|
||||
"format": "##{x}{x}{x}{x}{x}{x}",
|
||||
"x": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"],
|
||||
"weight": 2
|
||||
},
|
||||
["Blå", "Brun", "Grå", "Grön", "Gul", "Himmelsblå", "Lila", "Orange", "Rosa", "Röd", "Svart", "Vit"]
|
||||
]
|
||||
@@ -0,0 +1,14 @@
|
||||
[
|
||||
{
|
||||
"format": "{base} {suffix}",
|
||||
"base": [
|
||||
{
|
||||
"format": "{a}{b}",
|
||||
"a": ["Berg", "Blå", "Järn", "Nord", "Ny", "Sjö", "Skog", "Sol", "Sten", "Stor"],
|
||||
"b": ["bygg", "data", "gruppen", "handel", "konsult", "logistik", "produkter", "system", "teknik", "verkstad"]
|
||||
},
|
||||
["Aktiebolaget Vega", "Ekonomihuset", "Lindberg", "Nordström", "Svensson & Co"]
|
||||
],
|
||||
"suffix": ["AB", "AB", "AB", "HB", "KB"]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,15 @@
|
||||
[
|
||||
{
|
||||
"format": "{year}-{month}-{day}",
|
||||
"month": ["01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12"],
|
||||
"day": ["01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28"],
|
||||
"year": [
|
||||
{ "format": "#1970" },
|
||||
{ "format": "#1980" },
|
||||
{ "format": "#1990", "weight": 2 },
|
||||
{ "format": "2#0#00", "weight": 3 },
|
||||
{ "format": "2#0#10", "weight": 3 },
|
||||
{ "format": "2#020", "weight": 2 }
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,15 @@
|
||||
[
|
||||
{
|
||||
"format": "{local}@{domain}",
|
||||
"local": [
|
||||
{
|
||||
"format": "{first}{sep}{last}{n}",
|
||||
"first": ["erik", "anna", "lars", "karin", "johan", "sara", "anders", "emma", "per", "sofia"],
|
||||
"last": ["andersson", "johansson", "karlsson", "nilsson", "eriksson", "larsson", "olsson", "persson", "svensson", "gustafsson"],
|
||||
"sep": [".", "_", "."],
|
||||
"n": ["", "", "1", "7", "42"]
|
||||
}
|
||||
],
|
||||
"domain": ["example.com", "example.org", "example.net", "mail.example.com"]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,11 @@
|
||||
[
|
||||
{
|
||||
"format": "{o}.{o}.{o}.{o}",
|
||||
"weight": 8,
|
||||
"o": [{ "format": "0", "weight": 3 }, { "format": "10", "weight": 4 }, { "format": "#100", "weight": 2 }]
|
||||
},
|
||||
{
|
||||
"format": "{g}:{g}:{g}:{g}:{g}:{g}:{g}:{g}",
|
||||
"g": [{ "format": "{x}{x}{x}{x}", "x": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"] }]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,7 @@
|
||||
[
|
||||
{
|
||||
"format": "{amt}{ore} kr",
|
||||
"amt": [{ "format": "10", "weight": 3 }, { "format": "100", "weight": 2 }, { "format": "1 000" }],
|
||||
"ore": ["", { "format": ",{c}", "c": [{ "format": "00" }], "weight": 0.4 }]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,10 @@
|
||||
[
|
||||
{
|
||||
"format": "{lead} {adj} {noun} {verb} {prep} {adj} {noun}.",
|
||||
"lead": ["Alla", "Den", "En", "Ett", "Varje"],
|
||||
"adj": ["gamla", "gyllene", "ljusa", "mörka", "snabba", "stora", "tysta", "vilda"],
|
||||
"noun": ["berget", "floden", "hamnen", "motorn", "räven", "signalen", "skogen", "trädgården"],
|
||||
"verb": ["bygger", "bär", "följer", "formar", "korsar", "når", "vaktar"],
|
||||
"prep": ["bortom", "genom", "längs", "under", "över"]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,8 @@
|
||||
[
|
||||
{
|
||||
"format": "{yy}{month}{day}-0000",
|
||||
"yy": [{ "format": "00" }],
|
||||
"month": ["01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12"],
|
||||
"day": ["01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28"]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,8 @@
|
||||
[
|
||||
{
|
||||
"format": "{hour}:{minute}{sec}",
|
||||
"hour": [{ "format": "#00", "weight": 4 }, { "format": "#10", "weight": 4 }, { "format": "2{t}", "t": ["0", "1", "2", "3"], "weight": 2 }],
|
||||
"minute": [{ "format": "{t}0", "t": ["0", "1", "2", "3", "4", "5"] }],
|
||||
"sec": ["", { "format": ":{s}", "s": [{ "format": "{t}0", "t": ["0", "1", "2", "3", "4", "5"] }], "weight": 0.4 }]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,7 @@
|
||||
[
|
||||
{
|
||||
"format": "https://{host}{path}",
|
||||
"host": ["example.com", "www.example.com", "example.org", "blogg.example.net", "butik.example.com", "example.se"],
|
||||
"path": ["", { "format": "/{seg}", "seg": ["om", "produkter", "blogg", "kontakt", "hjalp", "artiklar", "logga-in", "nyheter", "start", "sok"] }]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,9 @@
|
||||
[
|
||||
{
|
||||
"format": "{first}{sep}{last}{n}",
|
||||
"first": ["erik", "anna", "lars", "karin", "johan", "sara", "anders", "emma", "per", "sofia"],
|
||||
"last": ["berg", "lind", "holm", "strom", "dahl", "ek", "sjo", "ahl", "falk", "ros"],
|
||||
"sep": ["", "", ".", "_"],
|
||||
"n": ["", "", "", "1", "7", "23", "99"]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,6 @@
|
||||
[
|
||||
{
|
||||
"format": "{x}{x}{x}{x}{x}{x}{x}{x}-{x}{x}{x}{x}-{x}{x}{x}{x}-{x}{x}{x}{x}-{x}{x}{x}{x}{x}{x}{x}{x}{x}{x}{x}{x}",
|
||||
"x": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,8 @@
|
||||
[
|
||||
{
|
||||
"format": "{pre}{n}.{n}.{n}{suffix}",
|
||||
"n": [{ "format": "0", "weight": 3 }, { "format": "10" }],
|
||||
"pre": ["", { "format": "v", "weight": 0.4 }],
|
||||
"suffix": ["", { "format": "-{tag}.{m}", "tag": ["alpha", "beta", "rc"], "m": ["1", "2", "3"], "weight": 0.3 }]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1 @@
|
||||
["dröm", "fjäll", "glädje", "hav", "höst", "insjö", "källa", "ljus", "morgon", "norr", "ödmjuk", "penna", "regn", "skog", "sommar", "stjärna", "träd", "under", "vinter", "väg", "åker", "äng", "öken", "blomma", "fågel", "gata", "höjd", "klocka", "ljud", "måne"]
|
||||
Reference in New Issue
Block a user