Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotation issues found in "comp.function" in French hipe-2020 #18

Open
EmanuelaBoros opened this issue Nov 28, 2024 · 3 comments
Open
Assignees

Comments

@EmanuelaBoros
Copy link

  1. sieur is sometimes annotated as function but it should be a title
# hipe2022:document_id = GDL-1828-01-04-a-i0017
# hipe2022:date = 1828-01-04
# hipe2022:original_source = v1.4.1/fr/HIPE-data-v1.4.1-train-fr.tsv
.................
sieur	B-pers	O	B-pers.ind	O	B-comp.function	O	NIL	_	_
Jean	I-pers	O	I-pers.ind	O	B-comp.name	O	NIL	_	NoSpaceAfter
-	I-pers	O	I-pers.ind	O	I-comp.name	O	NIL	_	NoSpaceAfter
Louis	I-pers	O	I-pers.ind	O	I-comp.name	O	NIL	_	EndOfLine
Samuel	I-pers	O	I-pers.ind	O	I-comp.name	O	NIL	_	_
# hipe2022:document_id = GDL-1828-09-16-a-i0014
# hipe2022:date = 1828-09-16
# hipe2022:original_source = v1.4.1/fr/HIPE-data-v1.4.1-train-fr.tsv
.................
sieur	B-pers	O	B-pers.ind	O	B-comp.function	O	NIL	_	_
David	I-pers	O	I-pers.ind	O	B-comp.name	O	NIL	_	_
Rosat	I-pers	O	I-pers.ind	O	I-comp.name	O	NIL	_	NoSpaceAfter
,	I-pers	O	I-pers.ind	O	O	O	NIL	_	_
bourgeois	I-pers	O	I-pers.ind	O	B-comp.function	O	NIL	_	_
de	I-pers	O	I-pers.ind	O	I-comp.function	O	NIL	_	_
Chateau	I-pers	O	I-pers.ind	O	I-comp.function	B-loc.adm.town	NIL	_	NoSpaceAfter
.................
sieur	B-pers	O	B-pers.ind	O	B-comp.function	O	NIL	_	EndOfLine
Jean	I-pers	O	I-pers.ind	O	B-comp.name	O	NIL	_	NoSpaceAfter
-	I-pers	O	I-pers.ind	O	I-comp.name	O	NIL	_	NoSpaceAfter
Alexandre	I-pers	O	I-pers.ind	O	I-comp.name	O	NIL	_	_
Lavanchy	I-pers	O	I-pers.ind	O	I-comp.name	O	NIL	_	NoSpaceAfter
.................
sieur	B-pers	O	B-pers.ind	O	B-comp.function	O	NIL	_	_
Jean	I-pers	O	I-pers.ind	O	B-comp.name	O	NIL	_	NoSpaceAfter
-	I-pers	O	I-pers.ind	O	I-comp.name	O	NIL	_	NoSpaceAfter
Franqois	I-pers	O	I-pers.ind	O	I-comp.name	O	NIL	_	_
Olivier	I-pers	O	I-pers.ind	O	I-comp.name	O	NIL	_	NoSpaceAfter
.................
sieur	B-pers	O	B-pers.ind	O	B-comp.function	O	NIL	_	EndOfLine
Jean	I-pers	O	I-pers.ind	O	B-comp.name	O	NIL	_	NoSpaceAfter
-	I-pers	O	I-pers.ind	O	I-comp.name	O	NIL	_	NoSpaceAfter
Jaques	I-pers	O	I-pers.ind	O	I-comp.name	O	NIL	_	_
Rupfffils	I-pers	O	I-pers.ind	O	I-comp.name	O	NIL	_	Partial--18:5

To be updated.

@EmanuelaBoros
Copy link
Author

EmanuelaBoros commented Nov 28, 2024

There are also many cases for persons with functions surrounded by "()" to not have the ending ")" included in annotation:

Mme	B-pers	O	B-pers.ind	O	B-comp.title	O	NIL	_	_
Violette	I-pers	O	I-pers.ind	O	B-comp.name	O	NIL	_	_
Parisod	I-pers	O	I-pers.ind	O	I-comp.name	O	NIL	_	EndOfLine
(	I-pers	O	I-pers.ind	O	O	O	NIL	_	NoSpaceAfter
soc	I-pers	O	I-pers.ind	O	B-comp.function	O	NIL	_	NoSpaceAfter
.	I-pers	O	I-pers.ind	O	I-comp.function	O	NIL	_	_
Lausanne	I-pers	O	I-pers.ind	O	I-comp.function	B-loc.adm.town	NIL	_	NoSpaceAfter
)	O	O	O	O	O	O	_	_	_

This entity would be Mme Violette Parisod ( soc . Lausanne which could help the NER to learn noise such as open "(" could mean a function.

@EmanuelaBoros
Copy link
Author

EmanuelaBoros commented Dec 2, 2024

M	O	O	O	O	B-comp.title	O	_	_	NoSpaceAfter
.	O	O	O	O	I-comp.title	O	_	_	_
Théodore	O	O	O	O	B-comp.name	O	_	_	_
Reinach	O	O	O	O	I-comp.name	O	_	_	NoSpaceAfter
,	O	O	O	O	O	O	_	_	_
député	O	O	O	O	B-comp.function	O	_	_	_
radical	O	O	O	O	I-comp.function	O	_	_	_
de	O	O	O	O	I-comp.function	O	_	_	_
la	O	O	O	O	I-comp.function	O	_	_	EndOfLine
Savoie	B-loc	O	B-loc.adm.reg	O	I-comp.function	O	Q12745	_	NoSpaceAfter

I was processing the files considering the persons and then looking at the functions, but I found this example in the training data of French hipe2020 where the coarse person is not annotated.

M	O	O	O	O	B-comp.title	O	_	_	NoSpaceAfter
.	O	O	O	O	I-comp.title	O	_	_	_
J	O	O	O	O	B-comp.name	O	_	_	_
.	O	O	O	O	I-comp.name	O	_	_	NoSpaceAfter
-	O	O	O	O	I-comp.name	O	_	_	NoSpaceAfter
B	O	O	O	O	I-comp.name	O	_	_	NoSpaceAfter
.	O	O	O	O	I-comp.name	O	_	_	_
Rusch	O	O	O	O	I-comp.name	O	_	_	NoSpaceAfter
le	O	O	O	O	O	O	_	_	EndOfLine
marquis	O	O	O	O	B-comp.name	O	_	_	_
de	O	O	O	O	I-comp.name	O	_	_	_
Salisbury	O	O	O	O	I-comp.name	O	_	_	_
et	O	O	O	O	O	O	_	_	_
être	O	O	O	O	O	O	_	_	_
de	O	O	O	O	O	O	_	_	_
la	O	O	O	O	O	O	_	_	_
part	O	O	O	O	O	O	_	_	EndOfLine
du	O	O	O	O	O	O	_	_	_
Conseil	O	O	O	O	B-comp.name	O	_	_	_
d	O	O	O	O	I-comp.name	O	_	_	NoSpaceAfter
'	O	O	O	O	I-comp.name	O	_	_	NoSpaceAfter
Etat	O	O	O	O	I-comp.name	O	_	_	NoSpaceAfter

@EmanuelaBoros
Copy link
Author

canton	B-loc	O	B-loc.adm.reg	O	O	O	Q11917	_	_
de	I-loc	O	I-loc.adm.reg	O	O	O	Q11917	_	_
Genève	I-loc	O	I-loc.adm.reg	O	B-comp.name	O	Q11917	_	NoSpaceAfter

Genève detected as name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants