normativeai / backend

GNU General Public License v3.0
3 stars 3 forks source link

AutoVocabulary full vs. symbol #25

Closed lex-lex closed 5 years ago

lex-lex commented 5 years ago

Hi,

I now included the autoVocabulary/autoFormalization etc. in the front end. I noticed in tests that if a term does not consist parentheses, full is the term and symbol is empty. E.g. the term "contract(Law,Part)" becomes voc.full = "contract(Law,Part)"; voc.symbol = "contract", but for the term "asd" it becomes voc.full = "asd"; voc.symbol = "". Since in the table I iterate over symbol this should be changed, I think.