package bible import ( "strings" ) var aliases = map[string]string{ "genesis": "gen", "gn": "gen", "exodus": "exo", "ex": "exo", "leviticus": "lev", "lv": "lev", "numbers": "num", "nm": "num", "numb": "num", "nmb": "num", "nmbs": "num", "deuteronomy": "deu", "dt": "deu", "deut": "deu", "deuter": "deu", "joshua": "jos", "js": "jos", "josh": "jos", "judges": "jdg", "jd": "jdg", "jdgs": "jdg", "ruth": "rut", "rt": "rut", "1 samuel": "1sa", "1s": "1sa", "1sam": "1sa", "1 s": "1sa", "1 sa": "1sa", "1 sam": "1sa", "1 kingdoms": "1sa", "1 realms": "1sa", "2 samuel": "2sa", "2s": "2sa", "2sam": "2sa", "2 s": "2sa", "2 sa": "2sa", "2 sam": "2sa", "2 kingdoms": "2sa", "2 realms": "2sa", "1 kings": "1ki", "1k": "1ki", "1kgs": "1ki", "1king": "1ki", "1 k": "1ki", "1 ki": "1ki", "1 kgs": "1ki", "1 king": "1ki", "3k": "1ki", "3kgs": "1ki", "3king": "1ki", "3 k": "1ki", "3 ki": "1ki", "3 kgs": "1ki", "3 king": "1ki", "3 kingdoms": "1ki", "3 realms": "1ki", "2 kings": "2ki", "2k": "2ki", "2kgs": "2ki", "2king": "2ki", "2 k": "2ki", "2 ki": "2ki", "2 kgs": "2ki", "2 king": "2ki", "4k": "2ki", "4kgs": "2ki", "4king": "2ki", "4 k": "2ki", "4 ki": "2ki", "4 kgs": "2ki", "4 king": "2ki", "4 kingdoms": "2ki", "4 realms": "2ki", "1 chronicles": "1ch", "1c": "1ch", "1chr": "1ch", "1chron": "1ch", "1 c": "1ch", "1 ch": "1ch", "1 chr": "1ch", "1 chron": "1ch", "2 chronicles": "2ch", "2c": "2ch", "2chr": "2ch", "2chron": "2ch", "2 c": "2ch", "2 ch": "2ch", "2 chr": "2ch", "2 chron": "2ch", "ezra": "ezr", "ez": "ezr", "nehemiah": "neh", "nh": "neh", "esther": "est", "es": "est", "job": "job", "jb": "job", "psalm": "psa", "ps": "psa", "psalms": "psa", "pss": "psa", "proverbs": "pro", "pr": "pro", "prov": "pro", "ecclesiastes": "ecc", "ec": "ecc", "eccl": "ecc", "eccle": "ecc", "song of solomon": "sng", "song of songs": "sng", "sn": "sng", "son": "sng", "song": "sng", "sol": "sng", "isaiah": "isa", "is": "isa", "isai": "isa", "jeremiah": "jer", "jr": "jer", "jere": "jer", "jerem": "jer", "lamentations": "lam", "lm": "lam", "lamen": "lam", "ezekiel": "ezk", "eze": "ezk", "ezek": "ezk", "daniel": "dan", "dn": "dan", "hosea": "hos", "hs": "hos", "joel": "jol", "jl": "jol", "amos": "amo", "am": "amo", "obadiah": "oba", "ob": "oba", "obd": "oba", "obad": "oba", "jonah": "jon", "jo": "jon", "micah": "mic", "micha": "mic", "mc": "mic", "nahum": "nam", "na": "nam", "habakkuk": "hab", "hb": "hab", "haba": "hab", "habak": "hab", "zephaniah": "zep", "zf": "zep", "zef": "zep", "haggai": "hag", "hg": "hag", "zechariah": "zec", "ze": "zec", "zech": "zec", "malachi": "mal", "ml": "mal", "mala": "mal", "matthew": "mat", "mt": "mat", "matt": "mat", "mark": "mrk", "mk": "mrk", "luke": "luk", "lk": "luk", "john": "jhn", "jn": "jhn", "acts": "act", "ac": "act", "romans": "rom", "rm": "rom", "rms": "rom", "1 corinthians": "1co", "1cor": "1co", "1corin": "1co", "1 co": "1co", "1 cor": "1co", "1 corin": "1co", "2 corinthians": "2co", "2cor": "2co", "2corin": "2co", "2 co": "2co", "2 cor": "2co", "2 corin": "2co", "galatians": "gal", "gl": "gal", "ephesians": "eph", "ep": "eph", "ef": "eph", "philippians": "php", "ph": "php", "phil": "php", "colossians": "col", "cl": "col", "colo": "col", "1 thessalonians": "1th", "1thes": "1th", "1thess": "1th", "1 thes": "1th", "1 thess": "1th", "2 thessalonians": "2th", "2thes": "2th", "2thess": "2th", "2 thes": "2th", "2 thess": "2th", "1 timothy": "1ti", "1tim": "1ti", "1 ti": "1ti", "1 tim": "1ti", "2 timothy": "2ti", "2tim": "2ti", "2 ti": "2ti", "2 tim": "2ti", "titus": "tit", "ti": "tit", "philemon": "phm", "pi": "phm", "philm": "phm", "philem": "phm", "hebrews": "heb", "he": "heb", "james": "jas", "ja": "jas", "jam": "jas", "1 peter": "1pe", "1p": "1pe", "1pt": "1pe", "1pet": "1pe", "1 p": "1pe", "1 pe": "1pe", "1 pt": "1pe", "1 pet": "1pe", "2 peter": "2pe", "2p": "2pe", "2pt": "2pe", "2pet": "2pe", "2 p": "2pe", "2 pe": "2pe", "2 pt": "2pe", "2 pet": "2pe", "1 john": "1jn", "1jon": "1jn", "1 jn": "1jn", "1 jon": "1jn", "2 john": "2jn", "2jon": "2jn", "2 jn": "2jn", "2 jon": "2jn", "3 john": "3jn", "3jon": "3jn", "3 jn": "3jn", "3 jon": "3jn", "jude": "jud", "ju": "jud", "revelation": "rev", "rv": "rev", "reve": "rev", "tobit": "tob", "tb": "tob", "judith": "jdt", "jt": "jdt", "wisdom": "wis", "wisdom of solomon": "wis", "ws": "wis", "wos": "wis", "sirach": "sir", "sr": "sir", "baruch": "bar", "br": "bar", "bel and the dragon": "bel", "bl": "bel", "bd": "bel", "batd": "bel", "susanna": "sus", "su": "sus", "1 maccabees": "1ma", "1mac": "1ma", "1 mac": "1ma", "2 maccabees": "2ma", "2mac": "2ma", "2 mac": "2ma", "3 maccabees": "3ma", "3mac": "3ma", "3 mac": "3ma", "4 maccabees": "4ma", "4mac": "4ma", "4 mac": "4ma", "1 esdras": "1es", "1esd": "1es", "1 esd": "1es", "epistle of jeremy": "lje", "ej": "lje", "eoj": "lje", "prayer of ezarias": "s3y", "az": "s3y", "poe": "s3y", "prayer of manasses": "man", "prayer of manasseh": "man", "mana": "man", "pom": "man", "gen": "gen", "exo": "exo", "lev": "lev", "num": "num", "deu": "deu", "jos": "jos", "jdg": "jdg", "rut": "rut", "1sa": "1sa", "2sa": "2sa", "1ki": "1ki", "2ki": "2ki", "1ch": "1ch", "2ch": "2ch", "ezr": "ezr", "neh": "neh", "est": "est", "psa": "psa", "pro": "pro", "ecc": "ecc", "sng": "sng", "isa": "isa", "jer": "jer", "lam": "lam", "ezk": "ezk", "dan": "dan", "hos": "hos", "jol": "jol", "amo": "amo", "oba": "oba", "jon": "jon", "mic": "mic", "nam": "nam", "hab": "hab", "zep": "zep", "hag": "hag", "zec": "zec", "mal": "mal", "mat": "mat", "mrk": "mrk", "luk": "luk", "jhn": "jhn", "act": "act", "rom": "rom", "1co": "1co", "2co": "2co", "gal": "gal", "eph": "eph", "php": "php", "col": "col", "1th": "1th", "2th": "2th", "1ti": "1ti", "2ti": "2ti", "tit": "tit", "phm": "phm", "heb": "heb", "jas": "jas", "1pe": "1pe", "2pe": "2pe", "1jn": "1jn", "2jn": "2jn", "3jn": "3jn", "jud": "jud", "rev": "rev", "tob": "tob", "jdt": "jdt", "wis": "wis", "sir": "sir", "bar": "bar", "bel": "bel", "sus": "sus", "1ma": "1ma", "2ma": "2ma", "3ma": "3ma", "4ma": "4ma", "1es": "1es", "lje": "lje", "s3y": "s3y", "man": "man", } func FindAlias(a string) (string, bool) { d, ok := aliases[strings.ToLower(a)] return d, ok } var titles = map[string]string{ "gen": "Genesis", "exo": "Exodus", "lev": "Leviticus", "num": "Numbers", "deu": "Deuteronomy", "jos": "Joshua", "jdg": "Judges", "rut": "Ruth", "1sa": "1 Samuel", "2sa": "2 Samuel", "1ki": "1 Kings", "2ki": "2 Kings", "1ch": "1 Chronicles", "2ch": "2 Chronicles", "ezr": "Ezra", "neh": "Nehemiah", "est": "Esther", "job": "Job", "psa": "Psalm", "pro": "Proverbs", "ecc": "Ecclesiastes", "sng": "Song of Solomon", "isa": "Isaiah", "jer": "Jeremiah", "lam": "Lamentations", "ezk": "Ezekiel", "dan": "Daniel", "hos": "Hosea", "jol": "Joel", "amo": "Amos", "oba": "Obadiah", "jon": "Jonah", "mic": "Micah", "nam": "Nahum", "hab": "Habakkuk", "zep": "Zephaniah", "hag": "Haggai", "zec": "Zechariah", "mal": "Malachi", "mat": "Matthew", "mrk": "Mark", "luk": "Luke", "jhn": "John", "act": "Acts", "rom": "Romans", "1co": "1 Corinthians", "2co": "2 Corinthians", "gal": "Galatians", "eph": "Ephesians", "php": "Philippians", "col": "Colossians", "1th": "1 Thessalonians", "2th": "2 Thessalonians", "1ti": "1 Timothy", "2ti": "2 Timothy", "tit": "Titus", "phm": "Philemon", "heb": "Hebrews", "jas": "James", "1pe": "1 Peter", "2pe": "2 Peter", "1jn": "1 John", "2jn": "2 John", "3jn": "3 John", "jud": "Jude", "rev": "Revelation", "tob": "Tobit", "jdt": "Judith", "wis": "Wisdom", "sir": "Sirach", "bar": "Baruch", "bel": "Bel and the Dragon", "sus": "Susanna", "1ma": "1 Maccabees", "2ma": "2 Maccabees", "3ma": "3 Maccabees", "4ma": "4 Maccabees", "1es": "1 Esdras", "lje": "Epistle of Jeremy", "s3y": "Prayer of Ezarias", "man": "Prayer of Manasseh", }