Versions in this module Expand all Collapse all v1 v1.0.2 May 23, 2022 Changes in this version + const AddressComponentAll + const AddressComponentAny + const AddressComponentCategory + const AddressComponentEntrance + const AddressComponentHouseNumber + const AddressComponentLevel + const AddressComponentName + const AddressComponentNear + const AddressComponentNone + const AddressComponentPoBox + const AddressComponentPostalCode + const AddressComponentStaircase + const AddressComponentStreet + const AddressComponentToponym + const AddressComponentUnit + func ExpandAddress(address string) []string + func ExpandAddressOptions(address string, options ExpandOptions) []string + func Setup() error + func SetupClassifier() error + func SetupClassifierDataDir(dir string) error + func SetupDataDir(dir string) error + func SetupParser() error + func SetupParserDataDir(dir string) error + func Teardown() + func TeardownClassifier() + func TeardownParser() + func Version() string + type AddressComponent uint16 + type ExpandOptions struct + AddressComponents AddressComponent + Decompose bool + DeleteAcronymPeriods bool + DeleteApostrophes bool + DeleteFinalPeriods bool + DeleteNumericHyphens bool + DeleteWordHyphens bool + DropEnglishPossessives bool + ExpandNumex bool + Languages []string + LatinASCII bool + Lowercase bool + ReplaceNumericHyphens bool + ReplaceWordHyphens bool + RomanNumerals bool + SplitAlphaFromNumeric bool + StripAccents bool + Transliterate bool + TrimString bool + func DefaultExpandOptions() ExpandOptions + type ParsedComponent struct + Label string + Value string + func ParseAddress(address string) []ParsedComponent + func ParseAddressOptions(address string, options ParserOptions) []ParsedComponent + type ParserOptions struct + Country string + Language string + func DefaultParserOptions() ParserOptions v1.0.1 Dec 7, 2021