Update ne decision tree authored by Agata Savary's avatar Agata Savary
...@@ -19,10 +19,10 @@ This decision tree is entered from the [general decision tree](https://gitlab.li ...@@ -19,10 +19,10 @@ This decision tree is entered from the [general decision tree](https://gitlab.li
Let _c_ denote the candidate sequence identified while following the [general decision tree](https://gitlab.lis-lab.fr/PARSEME-FR/PARSEME-FR-public/wikis/Guide-annotation-PARSEME_FR-chapeau), and _t_ the text being annotated. Let _c_ denote the candidate sequence identified while following the [general decision tree](https://gitlab.lis-lab.fr/PARSEME-FR/PARSEME-FR-public/wikis/Guide-annotation-PARSEME_FR-chapeau), and _t_ the text being annotated.
apply [ObviousProper](#test-1-obviousproper-obvious-proper-name)(_c_,_t_) apply [ObviousProper](#test-1-obviousproper-obvious-proper-name)(_c_,_t_)
    **YES** => _c_ is a fuzzy NE, go to [Step 3](#step-3-establishing-the-span-of-a-named-entity)     **YES** => _c_ is a fuzzy NE, go to [Step 2](#step-2-establishing-the-span-of-a-named-entity)
    **NO** => apply [DiscNameConv](#test-2-nameconv-naming-convention)(_c_,_t_)     **NO** => apply [DiscNameConv](#test-2-discnameconv-discovering-a-naming-convention)(_c_,_t_)
        preciseNE => c is a **NE with a precise span**         preciseNE => c is a **NE with a precise span**
        fuzzyNE => go to [Step 3](#step-3-establishing-the-span-of-a-named-entity)         fuzzyNE => go to [Step 2](#step-2-establishing-the-span-of-a-named-entity)
        noNE => c is **not a NE**         noNE => c is **not a NE**
<!---------------------------------------------------------------------------------------------> <!--------------------------------------------------------------------------------------------->
...@@ -31,20 +31,20 @@ Let _c_ denote the candidate sequence identified as a fuzzy NE in [Step 1](#step ...@@ -31,20 +31,20 @@ Let _c_ denote the candidate sequence identified as a fuzzy NE in [Step 1](#step
Let _c_ denote the candidate sequence possibly with a determiner _d_, a classifier _cl_ and/or an adverbial _a_. Let _c_ denote the candidate sequence possibly with a determiner _d_, a classifier _cl_ and/or an adverbial _a_.
**if** ([Acron](#test-5-acron-acronym)(c,t) **or** [WebPage](#test-6-webpage-dedicated-web-page)(c) **or** [MinSpan](#test-7-minspan-minimal-span)(c)) **then** **if** ([Acron](#test-4-acron-acronym)(c,t) **or** [WebPage](#test-5-webpage-dedicated-web-page)(c) **or** [MinSpan](#test-6-minspan-minimal-span)(c)) **then**
&nbsp;&nbsp;&nbsp;&nbsp;c is a NE with a precise span &nbsp;&nbsp;&nbsp;&nbsp;c is a NE with a precise span
**else** **else**
&nbsp;&nbsp;&nbsp;&nbsp;Exclude the determiner _d_ and the adverbial _a_ from _c_ &nbsp;&nbsp;&nbsp;&nbsp;Exclude the determiner _d_ and the adverbial _a_ from _c_
&nbsp;&nbsp;&nbsp;&nbsp;**if** ([RelevUpper](#test-4-relevupper-relevant-uppercase)(c,t)) **then** &nbsp;&nbsp;&nbsp;&nbsp;**if** ([RelevUpper](#test-3-relevupper-relevant-uppercase)(c,t)) **then**
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;c is a **NE with a precise span** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;c is a **NE with a precise span**
&nbsp;&nbsp;&nbsp;&nbsp;**else** &nbsp;&nbsp;&nbsp;&nbsp;**else**
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**if** (there exists an occurrence c' identical to c such that [RelevUpper](#test-4-relevupper-relevant-uppercase)(c',t)) **then** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**if** (there exists an occurrence c' identical to c such that [RelevUpper](#test-3-relevupper-relevant-uppercase)(c',t)) **then**
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;c is a **NE with a precise span** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;c is a **NE with a precise span**
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**else** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**else**
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**if** (c contains only a classifier) **then** //e.g. _mairie_, _conseil général_ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**if** (c contains only a classifier) **then** //e.g. _mairie_, _conseil général_
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;c is **not a NE** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;c is **not a NE**
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**else** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**else**
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;c=[SpanPerCat](#test-8-spanpercat-span-per-category)(c) &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;c=[SpanPerCat](#test-7-spanpercat-span-per-category)(c)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;c is a **NE with a precise span** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;c is a **NE with a precise span**
------------------------------------------------ ------------------------------------------------
...@@ -65,13 +65,13 @@ Does a naming convention, initially unknown (or unclear) to the annotator, apply ...@@ -65,13 +65,13 @@ Does a naming convention, initially unknown (or unclear) to the annotator, apply
This test is organised as a decision tree. Let _c_ denote the candidate sequence and _t_ the text being annotated. This test is organised as a decision tree. Let _c_ denote the candidate sequence and _t_ the text being annotated.
<!-- ``` --> <!-- ``` -->
**if** ([RelevUpper](#test-4-relevupper-relevant-uppercase)(_c_,_t_)) **then** **if** ([RelevUpper](#test-3-relevupper-relevant-uppercase)(_c_,_t_)) **then**
&nbsp;&nbsp;&nbsp;&nbsp;**return** fuzzyNE &nbsp;&nbsp;&nbsp;&nbsp;**return** fuzzyNE
**else** **else**
&nbsp;&nbsp;&nbsp;&nbsp;**if** (there exists a variant v of c in _t_ such that [RelevUpper](#test-4-relevupper-relevant-uppercase)(_v_,_t_) **then** &nbsp;&nbsp;&nbsp;&nbsp;**if** (there exists a variant v of c in _t_ such that [RelevUpper](#test-3-relevupper-relevant-uppercase)(_v_,_t_) **then**
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**return** fuzzyNE &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**return** fuzzyNE
&nbsp;&nbsp;&nbsp;&nbsp;**else** &nbsp;&nbsp;&nbsp;&nbsp;**else**
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**if** ([Acron](#test-5-acron-acronym)(_c_,_t_) **or** [WebPage](#test-6-webpage-dedicated-web-page)(_c_)) **then** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**if** ([Acron](#test-4-acron-acronym)(_c_,_t_) **or** [WebPage](#test-5-webpage-dedicated-web-page)(_c_)) **then**
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; **return** preciseNE &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; **return** preciseNE
**return** noNE **return** noNE
<!-- ``` --> <!-- ``` -->
...@@ -123,7 +123,7 @@ Example: ...@@ -123,7 +123,7 @@ Example:
### Test 7 [SpanPerCat] - span per category ### Test 7 [SpanPerCat] - span per category
Note 1: This test does **not** apply to **any** NE of the given categories, it applies only when other more fine-grained tests have previously failed. Note 1: This test does **not** apply to **any** NE of the given categories, it applies only when other more fine-grained tests have previously failed.
Note 2: According to the decision trees in [Step 3](#step-3-establishing-the-span-of-a-named-entity), this test is applied to candidate sequences for which the [MinSpan](#test-7-minspan-minimal-span) test failed, i.e. a shorted span can still refer to the same entity. Note 2: According to the decision trees in [Step 3](#step-3-establishing-the-span-of-a-named-entity), this test is applied to candidate sequences for which the [MinSpan](#test-6-minspan-minimal-span) test failed, i.e. a shorted span can still refer to the same entity.
What is the **final type** of the candidate sequence _c_? What is the **final type** of the candidate sequence _c_?
... ...
......