Use symbolic discourse constraints and a lightweight ontology to draft or critique English academic abstracts. Treat abstract writing as a constrained mapping from propositions to an ordered sentence sequence, not as free-form style imitation.
P = {background, status, motivation, challenge, idea, technique, evidence} from the user's notes.motivation, challenge, and idea. The default 4-5 sentence chain is M -> C -> I -> T -> E, with optional background or status prepended.general -> specification -> consequence/purpose. Do not place a narrow detail before its governing concept.references/computable-rules.md as the primary specification. Load references/lexeme-typing.md and assets/lexeme_types.json when verb-noun fit is uncertain.references/ontology-bootstrap.md and optionally run: python scripts/ontology_bootstrap.py --domain "..." --terms "term a,term b" --outdir ./ontology_out
python scripts/abstract_lint.py draft.txt
for rule diagnostics, and run
python scripts/abstract_score.py draft.txt
or
python scripts/abstract_score.py before.txt --compare after.txt
when a formal score or pairwise comparison is needed.
X is a challenge. unless the sentence continues with cause, consequence, or operational relevance.x, attach motivation, purpose, or consequence within the same sentence or an adjacent sentence.traffic grows, demand increases, applications develop, systems evolve, accuracy improves, continuity is maintained.Unlike unless the user explicitly asks to preserve source wording.Return:
Return:
references/computable-rules.md,Use references/negative-examples.md.
Generate intentionally flawed rewrites that violate one or more named predicates such as summary_only, selection_mismatch, scope_inversion, or forbidden_marker.
Label each negative example with the violated rules. Do not present it as recommended style.
README.md: GitHub-facing quick start and repository guide.references/computable-rules.md: formal sentence and discourse constraints.references/lexeme-typing.md: upper ontology for noun classes and verb selection.references/ontology-bootstrap.md: domain ontology construction and download workflow.references/negative-examples.md: contrastive negative examples and rule tags.references/source-abstract-corpus.md: raw domain corpus supplied by the user.scripts/abstract_lint.py: heuristic checker for role order, banned markers, and selection mismatches.scripts/abstract_score.py: formulaic scorer and comparator for one or two abstract fragments.scripts/ontology_bootstrap.py: generate a seed ontology or download a public ontology file.assets/discourse_rules.json: machine-readable role order, forbidden patterns, and score weights.assets/lexeme_types.json: machine-readable lexeme typing rules.examples/: before-and-after fragments for quick scoring demos.evals/: sample scoring outputs for repository documentation.When the user does not provide all paper details, infer the missing low-risk connective tissue from the available propositions and state the assumptions briefly. Keep the prose compact, domain-accurate, and hierarchy-aware. Prioritize logical fit over rhetorical flourish.
共 1 个版本