One approach that could achieve this would be to build separate stopword lists for specific domains, and there are approaches to automatically build such lists (Lo et al., 2005).
a list-based approach cannot take context into account and therefore, among other things, will encounter problems with polysemy and synonymy.