documentation on resource and per-word compilation models