PDA

View Full Version : how to add tag to sentences containing match word



shrinivasmj
10-30-2012, 05:07 AM
first sentence need to split by first comma if search by word , and put the code before sentence,it will be ( division )

EG--$a, Department of Oncology, The First Affiliated Hospital of Zhengzhou University, Oncology Center of Zhengzhou University,

$#a1,Department of Oncology, $#a2, The First Affiliated Hospital of Zhengzhou University, Oncology Center of Zhengzhou University,
Zhengzhou Henan 450052, China


Start with ( $a, ) need to take all code as EG- $#a1, $#a2,

Start with ( $b, ) need to take all code as EG- $#b1,$#b2,

Codes name
$#a1, Division
$#a2, Organisation

LIST OF WORDS TO FIND AND ADD TAGS IN FRONT
Organaction-; University Universita Universidad Universitaria Universitat Universite Universale Univers Campus Organization



Division -; Department Dipartimento Division Departments Dipartimento

fumei
10-30-2012, 03:17 PM
What do you mean by "take all code as"

WHAT code??? I am not following what you want to happen.