hello ,
i have a file containing some words and some features of this words ..
i have created a class to collect this features together and i have created a vector of my class type in order to store these words ..
However i have a problem reading the information of the file ..
the file is of the format :
{
John = {pos =``proper name'', gender = ``masculin'', number = ``singular''},
writes = {pos =``verb'', pseudo-root = ``writ_''},
note = {pos =``noun'', number = ``singular''}
}
how can i read the information to the class ?
for example i have created a class type variable called H ,
i need to say H.pos = proper name ;
H.gender = masculin ;
.........
i want to ignore the " { " and the " = " and " ' " ..
any help ?