Skip to content

Commit

Permalink
Merge pull request #2 from dehilsterlexis/VISUALTEXT-FILES-002
Browse files Browse the repository at this point in the history
VISUALTEXT-FILES-002 Adding formatting
  • Loading branch information
David de Hilster authored Aug 15, 2021
2 parents f88c80e + 44dc0dc commit cc612b6
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 14 additions & 0 deletions spec/Formatting/paragraph.nlp
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
###############################################
# FILE: paragraphs.pat
# SUBJ: comment
# AUTH: David de Hilster
# CREATED: 26/May/20 19:43:46
# MODIFIED:
###############################################

@NODES _ROOT

@RULES
_paragraph <-
_xWILD [match=(_LINE)] ### (2)
@@
19 changes: 19 additions & 0 deletions spec/Formatting/sentenceEnders.nlp
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
###############################################
# FILE: sentenceEnders.pat
# SUBJ: comment
# AUTH: David de Hilster
# CREATED: 22/Apr/20 18:24:07
# MODIFIED:
###############################################

@NODES _ROOT

@POST
singler(2,2);

@RULES
_endSent <-
_xWILD [s one match=(_xALPHA _xNUM)] ### (1)
_xWILD [one trig match=(\. \? \!)] ### (2)
_xWILD [one match=(_xWHITE _xALPHA _xNUM _xEND _xCTRL)] ### (3)
@@
15 changes: 15 additions & 0 deletions spec/Formatting/sentences.nlp
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
###############################################
# FILE: sentences.pat
# SUBJ: comment
# AUTH: David de Hilster
# CREATED: 22/Apr/20 18:24:07
# MODIFIED:
###############################################

@NODES _paragraph

@RULES
_sentence <-
_xWILD [fail=(_endSent _BLANKLINE)] ### (1)
_xWILD [one match=(_endSent _BLANKLINE)] ### (2)
@@

0 comments on commit cc612b6

Please sign in to comment.