albertogoffi / toradocu

Toradocu - automated generation of test oracles from Javadoc documentation
Other
42 stars 21 forks source link

Modify handling of inline code tags #182

Closed ariannab closed 6 years ago

ariannab commented 6 years ago

The new data structure is a Map that stores each word tagged as @code along with the list of occurrences that were actually tagged in the sentence. Thus, if there are multiple occurrences of that word in the comment, the Map knows which one among the first, the second, etc. occurrence was tagged. The better management of inline code tags also led to slightly better results in accuracy.