Fix law base path and the number of used law
Check the law which has contain WordPair or not