Skip to content

Instantly share code, notes, and snippets.

Avatar
:shipit:

Abirdcfly

:shipit:
  • Beijing
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am abirdcfly on github.
  • I am abirdcfly (https://keybase.io/abirdcfly) on keybase.
  • I have a public key ASCfmTYgVguLgHTklKSDFLsmbMzc0MjxJ6YPFXxMvkvAfgo

To claim this, I am signing this object:

@Abirdcfly
Abirdcfly / 📊 Weekly development breakdown
Last active Aug 10, 2022
📊 Weekly development breakdown
View 📊 Weekly development breakdown
Go 13 hrs 32 mins ███████████████████░░ 90.7%
YAML 35 mins ▊░░░░░░░░░░░░░░░░░░░░ 4.0%
Markdown 16 mins ▍░░░░░░░░░░░░░░░░░░░░ 1.9%
GitIgno... 16 mins ▍░░░░░░░░░░░░░░░░░░░░ 1.9%
go.mod 7 mins ▏░░░░░░░░░░░░░░░░░░░░ 0.8%
View hmm_viterbi.py
# coding=utf-8
prob_start = []
prob_trans = []
prob_emit = []
MIN_FLOAT = -3.14e100
STATE = {0: "B", 1: "E", 2: "M", 3: "S"}
def load_dicts(filename="hmm_model.utf8"):