I have the following two strings with their POS tags:
Sent1: \"something like how writer pro or phraseology works would be really cool.\"<
Would this help?
s1=[('something', 'NN'), ('like', 'IN'), ('how', 'WRB'), ('writer', 'NN'), ('pro', 'NN'), ('or', 'CC'), ('phraseology', 'NN'), ('works', 'NNS'), ('would', 'MD'), ('be', 'VB'), ('really', 'RB'), ('cool', 'JJ'), ('.', '.')]
flag = True
for i,j in zip(s1[:-1],s1[1:]):
if i[0]+" "+j[0] == "would be":
flag = True
if flag and (i[-1] == "JJ" or j[-1] == "JJ"):
print "would be adjective found in the tagged string"