52 if (m_simplifications.find(sent) == m_simplifications.end())
54 m_simplifications.insert(std::make_pair(sent, std::list< boost::tuple< LinguisticGraphEdge, LinguisticGraphEdge, Common::MediaticData::SyntacticRelationId > >()));
56 return m_simplifications[sent];
61 std::list< boost::tuple< LinguisticGraphVertex, LinguisticGraphVertex, Common::MediaticData::SyntacticRelationId > >::iterator it, it_end;
62 it = m_subSentBounds.begin(); it_end = m_subSentBounds.end();
63 for (; it != it_end ; it++)
65 if ( ( (*it).get<0>() == bounds.get<0>()
66 || (*it).get<1>() == bounds.get<0>()
67 || (*it).get<0>() == bounds.get<1>()
68 || (*it).get<1>() == bounds.get<1>())
69 && ((*it).get<2>() == bounds.get<2>()) )
71 m_subSentBounds.erase(it);
75 m_subSentBounds.push_back(bounds);