sniffle
Version:
CLI app that learns and identifies user agent strings using a Redis-backed naive Bayes classifier. Because why the hell not.
52 lines (42 loc) • 507 B
JSON
{
".NET": {
"CLR": true
},
"KHTML": {
"like": {
"Gecko": true
}
},
"iPhone": {
"OS": true
},
"like": {
"Firefox": true,
"Gecko": true,
"Mac": {
"OS": {
"X": true
}
}
},
"Mac": {
"OS": {
"X": true
}
},
"Media": {
"Center": {
"PC": true
}
},
"Microsoft": {
"Outlook": true
},
"Windows": {
"98": true,
"2000": true,
"CE": true,
"Mobile": true,
"NT": true
}
}