dishmint / LexicalCases

Extract substrings matching a lexical pattern
https://www.paclets.com/FaizonZaman/LexicalCases
MIT License
2 stars 0 forks source link

LexigramCount counts each element of alternatives #330

Open dishmint opened 3 months ago

dishmint commented 3 months ago

Alternatives might be a single unit so should have a value of 1(?)

Image

dishmint commented 3 months ago

Alt should function like Opt in that LexigramCount should map over alts and take the min and max interval. Will need more sophistication than that to handle things like Opt in the alts. Nested Interval probably won't make sense.