do code analysis
add xml4nlp.note note_name validation
fix a memory leak in srl
complete resource release in LTPResource