CRF and RNN models to extract inline math expressions from unstructured plain text.
- CRF - Contains code of CRF model
- RNN - Contains the code of RNN models
- Data - Training data
- Run models in CRF and RNN using "python .py"
- All models are evaluated using 10-fold cross validation
- CRF model is in CRF/Train_CRF.py
- There are 3 RNN models
- LSTM with word embeddings - Train_LSTM.py
- Bi-LSM with word embeddings - Train_Bi-LSTM.py
- Bi-LSTM with word and character embeddings - Train_W-CH-Bi-LSTM.py