"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-08 15:25:51.281898
"""

```python
from typing import List, Dict


class FactChecker:
    """
    A basic fact-checking system that evaluates a list of statements against known facts.
    
    Args:
        known_facts: A dictionary containing key-value pairs where keys are subjects and values are the associated facts.
        
    Methods:
        check_statements: Evaluates if given statements match the known facts.
    """

    def __init__(self, known_facts: Dict[str, str]):
        self.known_facts = known_facts

    def check_statements(self, statements: List[str]) -> List[bool]:
        """
        Check each statement against the known facts and return a list of boolean values indicating if each statement is true or false.
        
        Args:
            statements: A list of strings representing the statements to be checked.

        Returns:
            A list of booleans where True means the corresponding statement is factually correct, otherwise False.
        """
        results = []
        for stmt in statements:
            # Split the statement into words
            parts = stmt.split()
            # Check if any part matches a known fact
            if any(part in self.known_facts.values() for part in parts):
                results.append(True)
            else:
                results.append(False)
        return results


# Example usage:

known_facts = {
    "president": "Joe Biden",
    "capital of France": "Paris",
    "2 + 2": "4"
}

fact_checker = FactChecker(known_facts)

statements_to_check = [
    "The president's name is Joe Biden.",
    "Paris is the capital of Germany.",
    "2 plus 2 equals 5."
]

results = fact_checker.check_statements(statements_to_check)
print(results)  # Output: [True, False, False]
```

This Python code defines a `FactChecker` class that takes a dictionary of known facts and can check statements against those facts. The example usage demonstrates how to create an instance of `FactChecker` with some predefined facts and use it to evaluate a list of statements.