Documentation
¶
Overview ¶
Package corpus reads the labelled evaluation corpus of testdata/corpus: scam.csv, inputs an authority blacklisted, and legit.csv, inputs of verified legitimate entities.
Both files are UTF-8, comma-separated, with the header input,type,label,added_at,note: the input as a user would paste it, its kind as domain.Kind writes it ("domain", "email"…), its label ("scam" or "legit", the one its file holds), the ISO date it was blacklisted or verified, and a free note citing where it comes from.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFormat = errors.New("invalid corpus file")
ErrFormat means a corpus file departs from its format. The error locates the line, never quotes a value.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.