Which of the following is an example of a rule-based approach to natural language processing?
a) Using machine learning algorithms to analyze text
b) Creating a set of if-then rules to analyze text
c) Using neural networks to translate text
d) Analyzing text using genetic algorithms