normativeai / frontend

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

Unnamed terms. #61

Closed gjgoerke closed 4 years ago

gjgoerke commented 5 years ago
Screen Shot 2019-07-05 at 11 09 59 AM

When terms are saved without explicit naming they are highlighted in white and this error shows, perhaps defaulting to the first word or x words of the description could speed up document annotation? @shaolintl @lex-lex

shaolintl commented 5 years ago

This is actually a very interesting issue. Using the system, it occurred to me many times that the propositions are many times very similar to the text written. Therefore, it makes a lot of sense to guess the right proposition variables for the user.

One way of doing that is to order the words in the sentence according to frequency in the target language and then select the first 3-5 of lowest frequency (and below some threshold) and connect them in snake_case.

It seems to me that this should be done on the frontend side in order to allow the user to easily change that.

gjgoerke commented 5 years ago

That sounds like a great idea.

gjgoerke commented 5 years ago

I added a a checkbox for automatically making a term name, right now it just takes the first three words and connects them with snake case, you can see the changes in this branch. If we choose words based on a frequency list i'm guessing we don't want that file loaded client side?