/n      !"#$%&'()*+,-./01234567 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m  Safe-InferrednA NE represented by its label and a character-level span, over which the NE is stretched. White-space characters do not count when computing the span. Statistics.false positive true positivefalse negative true negativeoA union of two spans. Add stats.nCompare two NE-annotated datasets. The function assumes, that forest pairs correspond to the same sentences.pCompare two sets of n$s. The function is label-sensitive.qCompare two sets of n&s. The function is label-insensitive.rSReplace words with character-level position identifiers. White-spaces are ignored.s.Extract the set of nodes from the NE forest. t*Extract the set of nodes from the NE tree.uMake n+ from a tree. Return the span of the tree.nvwxopqrstu nvwxopqrstu Safe-Inferred PNET entry. Trigger type.2Does entry represents a trigger of the given type?(Parse dictionary into a list of entries.Read dictionary from the file. yz   yzNoneEA  is a map from forms to labels. Each form may be annotated with multiple labels. The map is represented using the directed acyclic word graph. type Dict = D.DAWG (S.Set Label)Dictionary label.-A Named Entity entry from the LMF dictionary.Orthographic form of the NEType of the NEA orthographic form.A type of named entity.Is the form a multiword one? 7Construct dictionary from the list of form/label pairs.!.Construct dictionary from the list of entries."=Remove dictionary entries which do not satisfy the predicate.# Save the dictionary in the file.$"Load the dictionary from the file.%Merge dictionary resources.{[Replacement implementation of unionsWith while there is no such function in dawg library. |ZReplacement implementation of unionWith while there is no such function in dawg library. &RDifferentiate labels from separate dictionaries using dictionary-unique prefixes.}$Map function over the DAWG elements.~Map function over the set.Add integer prefix. !"#$%{|&}~ !"#$%& !"#$%& !"#$%{|&}~None',Parse the dictionary to the list of entries.("Read the dictionary from the file.'('('('(None)+Parse the NELexicon into a list of entries.*"Read the dictionary from the file.)*)*)*)*None+(Parse dictionary into a list of entries.,"Read the dictionary from the file.+,+,+,+,NoneIs it a single word entry?-!Extract NEs dictionary from PNEG..&Extract NEs dictionary from NELexicon./%Extract NEs dictionary from PoliMorf.0'Extract NEs dictionary from Prolexbase.1/Extract internal triggers from PNET dictionary.2/Extract external triggers from PNET dictionary.-Path to PNEG in the LMF format.Path to NELexicon/Path to PoliMorf0Path to Prolexbase1 Path to PNET2 Path to PNET !"#$%&-./012/-.012-./012 Safe-Inferred24 3-A class of objects which can be converted to .Default tokenizator.5.Tokenize sentence using the default tokenizer.Range computation step.$Compute ranges of individual tokens.$Compute ranges of individual tokens.:Replace leaves in the NE forest with corresponding tokens.*Lift the first range of a tree to the top.6;Synchronize the list of NE trees with the new tokenization.3456 NE forestNew tokenizationResulting NE forest345653463456  Safe-Inferred7MA label is created by encoding the named entity forest using the IOB method.8SAn observation consist of an index (of list type) and an actual observation value.9A named entity.:A word.789:789::987789: None*;Configuration of the schema. All configuration elements specify the range over which a particular observation type should be taken on account. For example, the  [-1, 0, 2]_ range means that observations of particular type will be extracted with respect to previous (k - 1 ), current (k) and after the next (k + 2?) positions when identifying the observation set for position k in the input sentence.=The T schema block.>The U schema block.?The VG schema block. The first list of ints represents lengths of prefixes.@The WG schema block. The first list of ints represents lengths of suffixes.AThe X schema block.BThe Y schema block.CThe Z schema block.DThe [ schema block.EThe \ schema block.FDictionaries of NEs (] schema block).G Dictionary of internal triggers.H Dictionary of external triggers.I Maybe entry.JBody of configuration entry.L%Range argument for the schema block. M*Additional arguments for the schema block.NA block is a chunk of the Ox computation performed within the context of the sentence and the list of absolute sentence positions.0Record structure of the basic observation types.O{A schema is a block of the Ox computation performed within the context of the sentence and the absolute sentence position.PBThe Ox monad specialized to word token type and text observations.QA dummy schema block.RGSequence the list of schemas (or blocks) and discard individual values.Construct the  structure given the sentence.SXTransform the block to the schema depending on the list of relative sentence positions.T*Orthographic form at the current position.UOrthographic form split into two observations: the lowercased form and the original form (only when different than the lowercased one).V-List of lowercased prefixes of given lengths.W-List of lowercased suffixes of given lengths.XuLemma substitute parametrized by the number specifying the span over which lowercased prefixes and suffixes will be d. For example, lemmaB 2 will take affixes of lengths 0, -1 and -2 on account.YShape of the word.ZPacked shape of the word.['Combined shapes of two consecutive (at k-1 and k positions) words.\.Combined packed shapes of two consecutive (at k-1 and k positions) words.]SPlain dictionary search determined with respect to the list of relative positions.^ Entry with additional arguemnts.&Maybe entry with additional arguemnts._)Plain entry with no additional arugments.`-Null configuration of the observation schema.a0Default configuration of the observation schema.b,Build the schema based on the configuration.c9Use the schema to extract observations from the sentence.4;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`aNamed Entity dictionariesDictionary of internal triggersDictionary of external triggersbc);<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abc)POQRcJKLMI_^;<=>?@ABCDEFGH`abNSTUVWXYZ[\]!; <=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abc None*DA parsed XML tree. In nodes the content/opening tags are preserved. An XML token.Orthographic formNo preceding space Token tagsNon-token tags before the token&List of a elements annotated with NEs.An XML sentence. The ending tag is not preserved since it is always the same. It should be remembered during the sentence rendering process.Beginning tag of a sentence.Contents of a sentence.7Additional, non-token tags, placed after the last tokenType of a sentence sub-element.Intermediate sentence representation. The ending tag is not preserved since it is always the same. It should be remembered during the sentence rendering process.Beginning tag.Sentence contents.An XML parser. An XML tag.A sentence opening tag.A sentence opening tag.A sentence opening tag.A sentence opening tag.CGroup tags corresponding to individual sentences as right elements.#Take tags starting with a sentence.Remove division into chunks.Identify type of a sub-tree.!XML intermediate sentence parser.1Translate sentence into its final representation.%Parse a list of tags into a sentence.A sentence opening tag.A sentence opening tag.Render an annotated sentence.+Render an element of an annotated sentence. Render token.)Parse tags to an XML tree representation.#Enumerate tags present in the tree.&Put the list between the two elements.A newline tag.&Make closing tag from the opening tag."Map and intercalate with newlines.dAnnotate XCES (in a form of a tag list) with NEs with respect to the given NER function. nerXCES :: Nerf.Nerf -> L.Text -> L.TextMAnnotate XCES sentence with NEs. nerSent :: Nerf.Nerf -> Sent [] -> Sent AnnRestore original sentence.5ddd$d NoneeJA Nerf consists of the observation schema configuration and the CRF model.*Tokenize sentence with the Nerf tokenizer.i@Show results of observation extraction on the input ENAMEX file.j2Train Nerf on the input data using the SGD method.k6Perform named entity recognition (NER) using the Nerf. efghij Args for SGD Observation schema configurationTrain data (ENAMEX)Maybe eval data (ENAMEX)#Nerf with resulting codec and modelk 789:efghijkefghjki efghijk Nonel"Run a Nerf server on a given port.m*Perform NER tagging on the input sentence.3TODO: is it safe to assume that the length of the  representation is 8?lmlmlmlm !"#$%&'()*+,-./0123456789:;<=>?@ A B C = D D E F G H I J K L M N O P  Q Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k k l m n o p q prstuvwxyrz{|}~}}                     nerf-0.5.3NLP.Nerf.CompareNLP.Nerf.Dict.PNETNLP.Nerf.Dict.BaseNLP.Nerf.Dict.PNEGNLP.Nerf.Dict.NELexiconNLP.Nerf.Dict.Prolexbase NLP.Nerf.DictNLP.Nerf.TokenizeNLP.Nerf.TypesNLP.Nerf.Schema NLP.Nerf.XCESNLP.NerfNLP.Nerf.ServerStatsfptpfntn.+.compareEntryorthbasetagtypneTypexampleTypExternalInternalhasTyp parsePNETreadPNETDictDAWGLabelneOrthneTypeFormNeType isMultiWord fromPairs fromEntriessiftDictsaveDictloadDictmergediff parsePNEGreadPNEGparseNELexicon readNELexiconparseProlexbasereadProlexbase extractPNEGextractNELexiconextractPoliMorfextractProlexbaseextractIntTriggersextractExtTriggersWordwordtokenizesyncLbObNE SchemaConforthC splitOrthC lowPrefixesC lowSuffixesClemmaCshapeCpackedC shapePairC packedPairCdictC intTrigsC extTrigsCBodyrangeargsBlockSchemaOxvoid sequenceS_ fromBlockorthB splitOrthB lowPrefixesB lowSuffixesBlemmaBshapeBpackedB shapePairB packedPairBdictB entryWithentrynullConf defaultConffromConf schematizenerXCESNerf schemaConfcrftryOxtrainner runNerfServerNode spanUnioncmpNodesmkStatstoIDsnodesFnodesTmkNodelabel_spanreadTyp parseLine unionsWith unionWithmapDmapS addPrefixlmfP lexEntryPwordPsensePfeatPatomic mkTriggersGHC.BaseStringdefaultTokenizerranged rangedList rangedForest replaceToks liftRangeRangeessence unGroupLeavesunGroupLeavesT $fWordText $fWordText0$fWord[]BaseObmkBaseObmonad-ox-0.2.0Control.Monad.Oxsave entryWith'MblowOrthmkArg0mkArg1mkArgs1$fBinarySchemaConf $fBinaryBodyXmlTreeToknpstagsIntagsBfAnnSentsentBegsentConsentAddSegTSentIsentBegIsentConIParserTagsentOpen sentClosetokOpennsOpenchunktakeSentunChunkidTreeTsentIPjoinSent parseSentneOpenneClose renderAnnSent renderNeTree renderTokxmlTreePenumTreebetweennewlineendFrominterMapnerSentrestoreOrigSentunAnnOtherTNsTTokTtokOrthP trueXmlTreeP $fWordTok reTokenizeflattenreadDeepreadFlatdrawSent $fBinaryNerfrecvIntghc-prim GHC.TypesInt sockHandlersendMsgrecvMsgsendInt