elit
elit copied to clipboard
Things To Do
Code
- [x] Update
requirements.txt
,requirements.dev.txt
, andsetup.py
. - [ ] Replace
CHANGELOG.md
with Github's release notes. - [ ] Updated the installation documentation for environmental setup.
- [x]
MXComponent
should take list ofEmbedding
instead ofembed_config
.
def __init__(self, ctx: mx.Context, emb_list: List[Embedding], key: str = 'tag', chunking: bool =False, label_map: LabelMap = None, ...)
CLI
- [x] elit download resources
- word embeddings, models
- [x] elit install
- [x] elit task decode
- [ ] elit all decode [tok]
- [x] elite task train
- [x] elit task eval
s = 'hello world!'
tools = [PartOfSpeechTagger(...).load(...), ..., DependencyParser(...).load(...)]
tok = EnglishTokenizer()
docs = tok.decode(s)
for tool in tools: tool.decode(docs)
Release
- 0.2.0.