Spaces:
Paused
Paused
File size: 713 Bytes
ad4e58a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | """
ShortSmith v2 - Scoring Package
Hype scoring and ranking components:
- Domain-specific presets
- Multi-modal score fusion
- Segment ranking
- Trained MLP scorer (from Mr. HiSum)
"""
from scoring.domain_presets import DomainPreset, get_domain_preset, PRESETS
from scoring.hype_scorer import HypeScorer, SegmentScore
# Optional: trained scorer
try:
from scoring.trained_scorer import TrainedHypeScorer, get_trained_scorer
_trained_available = True
except ImportError:
_trained_available = False
__all__ = [
"DomainPreset",
"get_domain_preset",
"PRESETS",
"HypeScorer",
"SegmentScore",
]
if _trained_available:
__all__.extend(["TrainedHypeScorer", "get_trained_scorer"])
|