public class SceneGraphImageCleaner
extends java.lang.Object
Constructor and Description |
---|
SceneGraphImageCleaner() |
Modifier and Type | Method and Description |
---|---|
void |
cleanupImage(SceneGraphImage img) |
static void |
extractAllAttributes(java.util.List<SceneGraphImage> images) |
void |
lemmatize(SceneGraphImage img) |
void |
splitAttributeConjunctions(SceneGraphImage img)
Splits attributes of the form X and Y or X, Y and Z if
all elements were observed somewhere in some other image.
|
void |
trimFunctionWords(SceneGraphImage img)
removes leading "be"s and trailing determiners from
the relation name.
|
public static void extractAllAttributes(java.util.List<SceneGraphImage> images)
public void cleanupImage(SceneGraphImage img)
public void splitAttributeConjunctions(SceneGraphImage img)
public void lemmatize(SceneGraphImage img)
public void trimFunctionWords(SceneGraphImage img)