Skip to content

Instantly share code, notes, and snippets.

@ampli
Last active July 26, 2019 22:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ampli/43acbaf64f0848be7973edd43525f142 to your computer and use it in GitHub Desktop.
Save ampli/43acbaf64f0848be7973edd43525f142 to your computer and use it in GitHub Desktop.
Complex Russian sentence with and w/o per-null-count pruning
Num: 0
%Parameters: ru -v=2 < ../debug/prune/ex/ru/complex
%link-grammar-5.6.2-101-ga8bc0d04e
%/tmp/link-grammar/prune-nc
%Dictionary directory: /usr/local/src/link-grammar-devel/prune-nc/data/ru
+ time -o /tmp/link-grammar/prune-nc/time /tmp/link-grammar/prune-nc/link-parser/.libs/link-parser ru -v=2
verbosity set to 2
link-grammar: Info: Dictionary found at ../ru/4.0.dict
link-grammar: Info: ru: Spell checker disabled.
link-grammar: Info: Dictionary version 5.3.15, locale ru_RU.UTF-8
link-grammar: Info: Library version link-grammar-5.7.0. Enter "!help" for help.
++++ Finished expression pruning 0.00 seconds
++++ Built disjuncts 0.36 seconds
++++ Eliminated duplicate disjuncts 0.23 seconds
++++ Encode for pruning 0.20 seconds
++++ power pruned (for 0 nulls) 0.03 seconds
++++ Encode for parsing 0.01 seconds
++++ Initialized fast matcher 1.46 seconds
++++ Counted parses (0 w/0 nulls) 0.10 seconds
++++ Built parse set 0.00 seconds
++++ Finished parse 0.00 seconds
No complete linkages found.
++++ Finished expression pruning 0.00 seconds
++++ Built disjuncts 0.37 seconds
++++ Eliminated duplicate disjuncts 0.23 seconds
++++ Encode for pruning (one-step) 0.31 seconds
++++ power pruned (for 1 null) 0.03 seconds
++++ Encode for parsing 0.01 seconds
++++ Initialized fast matcher 1.46 seconds
++++ Counted parses (0 w/1 null) 0.26 seconds
++++ Built parse set 0.00 seconds
++++ power pruned (for 2 nulls) 0.10 seconds
++++ Encode for parsing (incr) 0.00 seconds
++++ Initialized fast matcher 1.28 seconds
++++ Counted parses (0 w/2 nulls) 0.40 seconds
++++ Built parse set 0.00 seconds
++++ power pruned (for 3 nulls) 0.07 seconds
++++ Encode for parsing (incr) 0.00 seconds
++++ Initialized fast matcher 1.44 seconds
++++ Counted parses (0 w/3 nulls) 0.72 seconds
++++ Built parse set 0.00 seconds
++++ power pruned (for 4 nulls) 0.07 seconds
++++ Encode for parsing (incr) 0.00 seconds
++++ Initialized fast matcher 1.43 seconds
++++ Counted parses (3483648 w/4 nulls) 1.10 seconds
++++ Built parse set 0.00 seconds
++++ Sorted all linkages 0.02 seconds
++++ Finished parse 0.00 seconds
++++ Time 9.30 seconds (9.30 total)
Found 3483648 linkages (1000 of 1000 random linkages had no P.P. violations) at null count 4
Linkage 1, cost vector = (UNUSED=4 DIS=34.00 LEN=132)
+---------------------------------------------------------------------Xp--------------------------------------------------------------------+
+--------------------------------Xp-------------------------------+ +---------------------------------------MVv--------------------------------------+ |
+----------Wd----------+ | | +-----------------------------EIw-----------------------------+ +------------------------Xp------------------------+---------------------------------Xp--------------------------------+
+-------------------Xp------------------+----------------------------------Xp---------------------------------+ +--------EI-------+ | | +-----------------XIc----------------+ | +--------------------Wd--------------------+ +--------------Wd--------------+ |
+---------------Wd---------------+ | +-----------Ew----------+ | | +-----Xia----+ +------------Jd------------+ | +-----Ek-----+ +--------------Jg-------------+ | +-------------------Mg------------------+ | +---------EIp---------+-------Sf3------+ | +------Xia-----+ |
| +------PIfis-----+ +----Wd----+-------E------+ +---Jp---+----G---+----G----+ | | | +---Xn--+---Ed---+ +--AXPpd-+-----Apd----+ +----Wd---+ +-Xc+ | +------PIpgs-----+ | +------Anv------+ +---AXPmg---+------Amg-----+ | +----Jg---+ | +---Xn---+ | | +----Xn---+-------------I------------+ |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
LEFT-WALL сдержанная.vsppspfsi улыбка.ndfsi , игравшая.vnppdpfsi постоянно.e на.jp лице.nlnsp Анны[!] Павловны[!] , хотя.p и.i не.p шла.vnndpfs к.jd ее.w отжившим.apd чертам.ndfpd , выражала.vnpdpfs , как.e у.jg избалованных.vsppsppg детей.nlmpg , постоянное.ansv сознание.ndnsv своего.wmsg милого.amsg недостатка.ndmsg , от.jg которого.wnsg она.m3fsi не.p хочет.vnpdn3s , [не] [может] и.i не.p находит.vspdf3s [нужным] исправляться.vnndi .
Bye.
+ rc=0
prune-nc: 12.27u 0.72s 0:12.99e 923076Kb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment