Automatic extraction of function-behaviour-state information from patents