in reply to Re: How do I extract a text between some delimiters
in thread How do I extract a text between some delimiters
Hi Monk
I tested the code and it works well when the tag has only two characters, but it can also has three character
the following was the output for one sentence:
<S> What/WP was/VBD the monetary value /NP of/IN the NobelP PeaceP PrizeP /NP in/IN 1989 /NP ?/./*end-of-sentence*</S>
The original input was:
<S> What/WP was/VBD <NP5> the/DT monetary/JJ value/NN </NP> of/IN <NP6> the/DT Nobel/NNP Peace/NNP Prize/NNP </NP> in/IN <NP7> 1989/CD </NP> ?/./*end-of-sentence*</S>
I tried to change the code but it did not work for two or three
How I evaluate the case for two "OR" three characters
Thanks