"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-07 02:16:06.940757
"""

```python
from typing import List, Dict, Any
from difflib import get_close_matches

class FactChecker:
    """
    A simple fact-checking system that verifies if a given statement matches any of the provided facts.
    The fact-checker uses similarity matching to account for possible typos or slight variations in input statements.
    
    Attributes:
        facts (Dict[str, Any]): Dictionary containing known facts with keys as identifiers and values as fact details.

    Methods:
        check_fact: Checks if a given statement matches any of the stored facts using a similarity score threshold.
    """
    def __init__(self, facts: Dict[str, Any]):
        self.facts = facts

    def check_fact(self, statement: str) -> bool:
        """
        Checks if the provided statement matches any known fact based on a minimum similarity score.

        Args:
            statement (str): The statement to be checked against stored facts.
        
        Returns:
            bool: True if the statement is similar enough to at least one fact; False otherwise.
        """
        for fact_id, details in self.facts.items():
            if fact_id == statement:  # Exact match
                return True
            
            matches = get_close_matches(statement, [details.get('statement', '')], cutoff=0.6)
            if matches:
                print(f"Similarity found with fact ID {fact_id}")
                return True
        return False

# Example usage
if __name__ == "__main__":
    facts = {
        'fact1': {'statement': 'The Eiffel Tower is in Paris.'},
        'fact2': {'statement': 'Mount Everest is the tallest mountain on Earth.'},
        'fact3': {'statement': 'Albert Einstein was a physicist.'}
    }
    
    checker = FactChecker(facts)
    test_statements = [
        "Eiffel tower location",
        "Tallest peak in the world",
        "Notable scientist of 20th century"
    ]
    
    for stmt in test_statements:
        result = checker.check_fact(stmt)
        print(f"Statement: {stmt} -> Fact Check Result: {result}")
```

This code defines a `FactChecker` class capable of checking the similarity between statements and known facts, using Python's `difflib.get_close_matches` function. It includes an example usage section to demonstrate how to create instances and use the `check_fact` method.